pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/wxGTK30



Module Name:    pkgsrc
Committed By:   martin
Date:           Sat Oct 11 17:36:17 UTC 2025

Modified Files:
        pkgsrc/x11/wxGTK30: Makefile

Log Message:
Hack to make it compile with gcc 14/15


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 pkgsrc/x11/wxGTK30/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/wxGTK30/Makefile
diff -u pkgsrc/x11/wxGTK30/Makefile:1.65 pkgsrc/x11/wxGTK30/Makefile:1.66
--- pkgsrc/x11/wxGTK30/Makefile:1.65    Sat Aug 30 22:46:47 2025
+++ pkgsrc/x11/wxGTK30/Makefile Sat Oct 11 17:36:17 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.65 2025/08/30 22:46:47 wiz Exp $
+# $NetBSD: Makefile,v 1.66 2025/10/11 17:36:17 martin Exp $
 
 DISTNAME=      wxWidgets-3.0.5.1
 PKGNAME=       ${DISTNAME:S/wxWidgets/wxGTK30/}
@@ -66,6 +66,11 @@ PLIST_SRC+=          ${PLIST_SRC_DFLT}
 
 CONFIGURE_ARGS.SunOS+= --disable-xlocale
 
+.include "../../mk/compiler.mk"
+.if !empty(CC_VERSION:Mgcc-14.*) || !empty(CC_VERSION:Mgcc-15.*)
+CFLAGS+=       -Wno-implicit-function-declaration
+.endif
+
 .if defined(_USE_RPATH) && !empty(_USE_RPATH:M[yY][eE][sS])
 SUBST_CLASSES+=                wx-rpath
 SUBST_STAGE.wx-rpath=  pre-configure



Home | Main Index | Thread Index | Old Index