pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/acpica-utils



Module Name:    pkgsrc
Committed By:   rin
Date:           Fri Oct 16 11:46:39 UTC 2020

Modified Files:
        pkgsrc/sysutils/acpica-utils: Makefile

Log Message:
For GCC9, add -Wno-error=format-overflow -Wno-error=stringop-truncation to
fix build.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/sysutils/acpica-utils/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/acpica-utils/Makefile
diff -u pkgsrc/sysutils/acpica-utils/Makefile:1.14 pkgsrc/sysutils/acpica-utils/Makefile:1.15
--- pkgsrc/sysutils/acpica-utils/Makefile:1.14  Sun Mar 22 12:24:58 2020
+++ pkgsrc/sysutils/acpica-utils/Makefile       Fri Oct 16 11:46:39 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2020/03/22 12:24:58 rillig Exp $
+# $NetBSD: Makefile,v 1.15 2020/10/16 11:46:39 rin Exp $
 #
 
 DISTNAME=      acpica-unix2-20160930
@@ -51,8 +51,13 @@ do-test:
 
 .include "../../mk/compiler.mk"
 
+# XXX
 .if !empty(CC_VERSION:Mgcc-[89]*)
 CFLAGS+=       -Wno-error=format-truncation
 .endif
+.if !empty(CC_VERSION:Mgcc-9*)
+CFLAGS+=       -Wno-error=format-overflow \
+               -Wno-error=stringop-truncation
+.endif
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index