pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/gtk



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Wed Jul 16 09:32:49 UTC 2025

Modified Files:
        pkgsrc/x11/gtk: Makefile

Log Message:
gtk: Add -Wno-error workarounds.

Software released 24 years ago isn't getting fixed any time soon.


To generate a diff of this commit:
cvs rdiff -u -r1.144 -r1.145 pkgsrc/x11/gtk/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/gtk/Makefile
diff -u pkgsrc/x11/gtk/Makefile:1.144 pkgsrc/x11/gtk/Makefile:1.145
--- pkgsrc/x11/gtk/Makefile:1.144       Tue Jun 28 11:37:53 2022
+++ pkgsrc/x11/gtk/Makefile     Wed Jul 16 09:32:49 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.144 2022/06/28 11:37:53 wiz Exp $
+# $NetBSD: Makefile,v 1.145 2025/07/16 09:32:49 jperkin Exp $
 
 DISTNAME=              gtk+-1.2.10
 PKGREVISION=           21
@@ -26,6 +26,13 @@ CONFIGURE_ARGS+=     --with-xinput=xfree \
                        --sysconfdir=${PREFIX}/share
 CONFIGURE_ENV+=                X_LDFLAGS=${X_LDFLAGS:Q}
 
+# Way too many hardcoded issues to patch
+.if ${PKGSRC_COMPILER:Mgcc}
+CFLAGS+=               -Wno-error=implicit-function-declaration
+CFLAGS+=               -Wno-error=implicit-int
+CFLAGS+=               -Wno-error=incompatible-pointer-types
+.endif
+
 MAKE_ENV+=             PKGLOCALEDIR=${PKGLOCALEDIR:Q}
 PLIST_SUBST+=          LOCALBASE=${LOCALBASE:Q}
 



Home | Main Index | Thread Index | Old Index