pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/xsane
Module Name: pkgsrc
Committed By: martin
Date: Sat Oct 11 14:20:03 UTC 2025
Modified Files:
pkgsrc/graphics/xsane: Makefile
Log Message:
Hack to make it compile with gcc 14/15
To generate a diff of this commit:
cvs rdiff -u -r1.157 -r1.158 pkgsrc/graphics/xsane/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/graphics/xsane/Makefile
diff -u pkgsrc/graphics/xsane/Makefile:1.157 pkgsrc/graphics/xsane/Makefile:1.158
--- pkgsrc/graphics/xsane/Makefile:1.157 Sat Aug 30 22:45:37 2025
+++ pkgsrc/graphics/xsane/Makefile Sat Oct 11 14:20:03 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.157 2025/08/30 22:45:37 wiz Exp $
+# $NetBSD: Makefile,v 1.158 2025/10/11 14:20:03 martin Exp $
DISTNAME= xsane-0.999
PKGNAME= xsane-0.99.9
@@ -19,6 +19,12 @@ GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --disable-gimp
CONFIGURE_ARGS+= --disable-gimp2
+.include "../../mk/compiler.mk"
+.if !empty(CC_VERSION:Mgcc-14.*) || !empty(CC_VERSION:Mgcc-15.*)
+CFLAGS+= -Wno-implicit-function-declaration
+CFLAGS+= -Wno-incompatible-pointer-types
+.endif
+
LDFLAGS.SunOS+= -lsocket -lnsl
.include "../../devel/gettext-lib/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index