Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Mar 2023 14:07:13 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: 8425d4bdce57 - main - x11-toolkits/rep-gtk2: Fix BUILD on HEAD
Message-ID:  <202303241407.32OE7DTH014801@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=8425d4bdce571c9cc2c2840b142549445a0e9448

commit 8425d4bdce571c9cc2c2840b142549445a0e9448
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-03-24 14:05:02 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-03-24 14:07:03 +0000

    x11-toolkits/rep-gtk2: Fix BUILD on HEAD
---
 x11-toolkits/rep-gtk2/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/x11-toolkits/rep-gtk2/Makefile b/x11-toolkits/rep-gtk2/Makefile
index 5acb82050519..f4342027914a 100644
--- a/x11-toolkits/rep-gtk2/Makefile
+++ b/x11-toolkits/rep-gtk2/Makefile
@@ -24,6 +24,12 @@ USE_GNOME=	cairo gdkpixbuf2 gtk20
 PLIST_FILES=	include/rep-gtk/rep-gtk.h lib/rep/gui/gtk-2/gtk.a \
 		lib/rep/gui/gtk-2/gtk.so libdata/pkgconfig/rep-gtk.pc
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/rep/gui/gtk-2/gtk.so
 



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