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:   rhialto
Date:           Mon Oct  2 11:19:26 UTC 2023

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

Log Message:
sysutils/acpica-utils: unbreak build with gcc12

-Werror is a bad idea.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 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.16 pkgsrc/sysutils/acpica-utils/Makefile:1.17
--- pkgsrc/sysutils/acpica-utils/Makefile:1.16  Mon May 10 09:25:10 2021
+++ pkgsrc/sysutils/acpica-utils/Makefile       Mon Oct  2 11:19:26 2023
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.16 2021/05/10 09:25:10 rin Exp $
+# $NetBSD: Makefile,v 1.17 2023/10/02 11:19:26 rhialto Exp $
 #
 
 DISTNAME=      acpica-unix2-20160930
 PKGNAME=       ${DISTNAME:S/-unix2-/-utils-/}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    sysutils devel
 MASTER_SITES=  https://acpica.org/sites/acpica/files/
 
@@ -59,10 +59,13 @@ CFLAGS+=    -Wno-error=format-truncation
 CFLAGS+=       -Wno-error=format-overflow \
                -Wno-error=stringop-truncation
 .endif
-.if !empty(CC_VERSION:Mgcc-10*)
+.if !empty(CC_VERSION:Mgcc-1[02]*)
 CFLAGS+=       -Wno-error=format-overflow \
                -Wno-error=format-truncation \
                -Wno-error=stringop-truncation
 .endif
+.if !empty(CC_VERSION:Mgcc-12*)
+CFLAGS+=       -Wno-error=dangling-pointer
+.endif
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index