pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/glib
Module Name: pkgsrc
Committed By: jperkin
Date: Fri Jul 11 10:19:27 UTC 2025
Modified Files:
pkgsrc/devel/glib: Makefile
Log Message:
glib: Add -Wno-error overrides.
Software from 25 years ago has issues all over that would require far too much
patching.
To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.98 pkgsrc/devel/glib/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/glib/Makefile
diff -u pkgsrc/devel/glib/Makefile:1.97 pkgsrc/devel/glib/Makefile:1.98
--- pkgsrc/devel/glib/Makefile:1.97 Sat Mar 16 21:33:11 2024
+++ pkgsrc/devel/glib/Makefile Fri Jul 11 10:19:27 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.97 2024/03/16 21:33:11 nia Exp $
+# $NetBSD: Makefile,v 1.98 2025/07/11 10:19:27 jperkin Exp $
DISTNAME= glib-1.2.10
PKGREVISION= 11
@@ -38,6 +38,12 @@ CONFIGURE_ENV+= glib_cv_has__inline__=y
CONFIGURE_ENV+= glib_cv_hasinline=yes
.endif
+# Way too many hardcoded issues to patch
+.if ${PKGSRC_COMPILER:Mgcc}
+CFLAGS+= -Wno-error=implicit-function-declaration
+CFLAGS+= -Wno-error=implicit-int
+.endif
+
GLIB_VERSION= ${DISTNAME:S/glib-//}
GLIB_MAJOR_VERSION= ${GLIB_VERSION:C/\..*//}
GLIB_MINOR_VERSION= ${GLIB_VERSION:C/[^.]*\.//:C/\..*//}
Home |
Main Index |
Thread Index |
Old Index