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:           Mon May 10 09:25:10 UTC 2021

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

Log Message:
acpica-utils: Fix build with GCC10 by adding some -Wno-error=xxx.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 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.15 pkgsrc/sysutils/acpica-utils/Makefile:1.16
--- pkgsrc/sysutils/acpica-utils/Makefile:1.15  Fri Oct 16 11:46:39 2020
+++ pkgsrc/sysutils/acpica-utils/Makefile       Mon May 10 09:25:10 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2020/10/16 11:46:39 rin Exp $
+# $NetBSD: Makefile,v 1.16 2021/05/10 09:25:10 rin Exp $
 #
 
 DISTNAME=      acpica-unix2-20160930
@@ -59,5 +59,10 @@ CFLAGS+=     -Wno-error=format-truncation
 CFLAGS+=       -Wno-error=format-overflow \
                -Wno-error=stringop-truncation
 .endif
+.if !empty(CC_VERSION:Mgcc-10*)
+CFLAGS+=       -Wno-error=format-overflow \
+               -Wno-error=format-truncation \
+               -Wno-error=stringop-truncation
+.endif
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index