Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jun 2023 17:48:37 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 94b11390fc21 - main - graphics/igt-gpu-tools: Fix build with lvm15
Message-ID:  <202306061748.356Hmbrq029769@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=94b11390fc210a934b99078c3efd09b022aedce8

commit 94b11390fc210a934b99078c3efd09b022aedce8
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-06 15:59:33 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-06 17:47:38 +0000

    graphics/igt-gpu-tools: Fix build with lvm15
    
    Approved by:    portmgr (blanket)
---
 graphics/igt-gpu-tools/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/graphics/igt-gpu-tools/Makefile b/graphics/igt-gpu-tools/Makefile
index 8e91ae9c8159..ac60a2c02a4e 100644
--- a/graphics/igt-gpu-tools/Makefile
+++ b/graphics/igt-gpu-tools/Makefile
@@ -68,4 +68,10 @@ PLIST_SUB+=	AMD64=""
 PLIST_SUB+=	AMD64="@comment "
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+
+.include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306061748.356Hmbrq029769>