pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/DWB
Module Name: pkgsrc
Committed By: wiz
Date: Sat Dec 20 16:02:04 UTC 2025
Modified Files:
pkgsrc/textproc/DWB: Makefile
Log Message:
DWB: reduce warnings to fix build with gcc 14+
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/textproc/DWB/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/DWB/Makefile
diff -u pkgsrc/textproc/DWB/Makefile:1.3 pkgsrc/textproc/DWB/Makefile:1.4
--- pkgsrc/textproc/DWB/Makefile:1.3 Thu Jul 13 06:38:43 2023
+++ pkgsrc/textproc/DWB/Makefile Sat Dec 20 16:02:04 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2023/07/13 06:38:43 nia Exp $
+# $NetBSD: Makefile,v 1.4 2025/12/20 16:02:04 wiz Exp $
DISTNAME= DWB3.3
PKGNAME= DWB-${GITHUB_TAG}
@@ -20,5 +20,10 @@ MAKE_JOBS_SAFE= no
MAKE_FLAGS+= CFLGS=${CFLAGS:Q} LDFLGS=${LDFLAGS:Q}
MAKE_FLAGS+= OWNER=${ROOT_USER} GROUP=${ROOT_GROUP} ROOT=${DESTDIR}${PREFIX}/DWB
+.include "../../mk/compiler.mk"
+.if ${CC_VERSION:Mgcc-14.*} || ${CC_VERSION:Mgcc-15.*}
+CFLAGS+= -Wno-implicit-function-declaration
+CFLAGS+= -Wno-implicit-int
+.endif
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index