pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/x11/gtk2



Module Name:    pkgsrc
Committed By:   maya
Date:           Tue Apr  8 02:17:45 UTC 2025

Modified Files:
        pkgsrc/x11/gtk2: Makefile

Log Message:
gtk2: appease gcc14 builds (fedora) by disabling a newly fatal Werror


To generate a diff of this commit:
cvs rdiff -u -r1.351 -r1.352 pkgsrc/x11/gtk2/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/gtk2/Makefile
diff -u pkgsrc/x11/gtk2/Makefile:1.351 pkgsrc/x11/gtk2/Makefile:1.352
--- pkgsrc/x11/gtk2/Makefile:1.351      Wed Feb 12 05:07:23 2025
+++ pkgsrc/x11/gtk2/Makefile    Tue Apr  8 02:17:45 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.351 2025/02/12 05:07:23 rillig Exp $
+# $NetBSD: Makefile,v 1.352 2025/04/08 02:17:45 maya Exp $
 
 DISTNAME=      gtk+-2.24.33
 PKGNAME=       ${DISTNAME:S/gtk/gtk2/}
@@ -96,6 +96,11 @@ FILES_SUBST+=                GTK_UPDATE_ICON_CACHE="${
 FILES_SUBST+=          ICON_THEME_DIR="${PREFIX}/share/icons"
 INSTALL_TEMPLATES+=    ../../x11/gtk2/files/icon-cache.tmpl
 
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Mgcc)
+CFLAGS+=       -Wno-error=incompatible-pointer-types
+.endif
+
 _BUILDING_GTK2=        yes
 .include "modules.mk"
 



Home | Main Index | Thread Index | Old Index