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: nia
Date: Sun Aug 4 10:52:06 UTC 2024
Modified Files:
pkgsrc/sysutils/acpica-utils: distinfo
pkgsrc/sysutils/acpica-utils/patches:
patch-generate_unix_Makefile.config
Added Files:
pkgsrc/sysutils/acpica-utils/patches: patch-generate_unix_iasl_Makefile
Log Message:
acpica-utils: Stop using -Werror
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/sysutils/acpica-utils/distinfo
cvs rdiff -u -r1.2 -r1.3 \
pkgsrc/sysutils/acpica-utils/patches/patch-generate_unix_Makefile.config
cvs rdiff -u -r0 -r1.1 \
pkgsrc/sysutils/acpica-utils/patches/patch-generate_unix_iasl_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/distinfo
diff -u pkgsrc/sysutils/acpica-utils/distinfo:1.16 pkgsrc/sysutils/acpica-utils/distinfo:1.17
--- pkgsrc/sysutils/acpica-utils/distinfo:1.16 Tue Oct 26 11:19:18 2021
+++ pkgsrc/sysutils/acpica-utils/distinfo Sun Aug 4 10:52:06 2024
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.16 2021/10/26 11:19:18 nia Exp $
+$NetBSD: distinfo,v 1.17 2024/08/04 10:52:06 nia Exp $
BLAKE2s (acpica-unix2-20160930.tar.gz) = 28558ae94c89198319fb030e0e8ca3f4755d60d10b11552aa92e3958019d1c99
SHA512 (acpica-unix2-20160930.tar.gz) = 9d3eb7ece52bd62ff5784f7173b7ad5d1140bcb56c8ed4256d7293b0f6d296c5ad600636c26f6fbc0989440839b2e986ae387c65389451538779748d1d932b1a
@@ -6,7 +6,8 @@ Size (acpica-unix2-20160930.tar.gz) = 14
BLAKE2s (acpitests-unix-20160930.tar.gz) = ef14f9d1c2d1de085617b49e453897c8df67c489b0df6d380f56936dbd1b3c78
SHA512 (acpitests-unix-20160930.tar.gz) = f982826e01de7a79da543c2ca99dfc9459829a03332841dfe00f45bfc1620bdfa986a5ce4c8bbee2933325c1c526434c04e3601d727fb111f049e71e080a4c71
Size (acpitests-unix-20160930.tar.gz) = 1829886 bytes
-SHA1 (patch-generate_unix_Makefile.config) = b760ec07afa96902641ff4b979b7764baa39aceb
+SHA1 (patch-generate_unix_Makefile.config) = 1822c8eaa710d48fec00fe529304ee6cd465696f
+SHA1 (patch-generate_unix_iasl_Makefile) = 5fe72f757032e8b3ad6a9159bec9d4c44e7a948e
SHA1 (patch-source_compiler_aslanalyze.c) = fae01580943d61dd907bd2835be432258f972f7d
SHA1 (patch-source_compiler_aslpredef.c) = 1d4c9a5fe0ad437f55b0381761ed128624fc220d
SHA1 (patch-source_compiler_aslwalks.c) = 7c18ed4005c383020f94c71a2fc5ee2f768fcb07
Index: pkgsrc/sysutils/acpica-utils/patches/patch-generate_unix_Makefile.config
diff -u pkgsrc/sysutils/acpica-utils/patches/patch-generate_unix_Makefile.config:1.2 pkgsrc/sysutils/acpica-utils/patches/patch-generate_unix_Makefile.config:1.3
--- pkgsrc/sysutils/acpica-utils/patches/patch-generate_unix_Makefile.config:1.2 Sat Oct 29 21:04:13 2016
+++ pkgsrc/sysutils/acpica-utils/patches/patch-generate_unix_Makefile.config Sun Aug 4 10:52:06 2024
@@ -1,10 +1,19 @@
-$NetBSD: patch-generate_unix_Makefile.config,v 1.2 2016/10/29 21:04:13 maya Exp $
+$NetBSD: patch-generate_unix_Makefile.config,v 1.3 2024/08/04 10:52:06 nia Exp $
+Remove -Werror.
Avoid using GCC-specific flags. fixes build with clang
--- generate/unix/Makefile.config.orig 2016-09-30 16:43:55.000000000 +0000
+++ generate/unix/Makefile.config
-@@ -206,7 +206,6 @@ CWARNINGFLAGS += \
+@@ -185,7 +185,6 @@ CWARNINGFLAGS = \
+ -Wall\
+ -Wbad-function-cast\
+ -Wdeclaration-after-statement\
+- -Werror\
+ -Wformat=2\
+ -Wmissing-declarations\
+ -Wmissing-prototypes\
+@@ -206,7 +205,6 @@ CWARNINGFLAGS += \
-Wmissing-declarations\
-Wmissing-field-initializers\
-Wnested-externs\
@@ -12,7 +21,7 @@ Avoid using GCC-specific flags. fixes bu
-Wno-format-nonliteral\
-Wredundant-decls
#
-@@ -218,10 +217,6 @@ ifneq ($(HOST), _FreeBSD)
+@@ -218,10 +216,6 @@ ifneq ($(HOST), _FreeBSD)
ifneq ($(HOST), _APPLE)
CWARNINGFLAGS += \
Added files:
Index: pkgsrc/sysutils/acpica-utils/patches/patch-generate_unix_iasl_Makefile
diff -u /dev/null pkgsrc/sysutils/acpica-utils/patches/patch-generate_unix_iasl_Makefile:1.1
--- /dev/null Sun Aug 4 10:52:06 2024
+++ pkgsrc/sysutils/acpica-utils/patches/patch-generate_unix_iasl_Makefile Sun Aug 4 10:52:06 2024
@@ -0,0 +1,34 @@
+$NetBSD: patch-generate_unix_iasl_Makefile,v 1.1 2024/08/04 10:52:06 nia Exp $
+
+"We can't use our normal warning flags because the files aren't
+necessarily even ANSI C - let's use Wall and Werror instead".
+Interesting logic... let's not make the errors fatal.
+
+--- generate/unix/iasl/Makefile.orig 2024-08-04 10:49:24.308561573 +0000
++++ generate/unix/iasl/Makefile
+@@ -320,19 +320,19 @@ $(OBJDIR)/prparserparse.c $(OBJDIR)/prpa
+ # by the utilities above and they are not necessarily ANSI C, etc.
+ #
+ $(OBJDIR)/aslcompilerlex.o : $(OBJDIR)/aslcompilerlex.c
+- $(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
++ $(CC) -c $(CFLAGS) -Wall -o$@ $<
+
+ $(OBJDIR)/aslcompilerparse.o : $(OBJDIR)/aslcompilerparse.c
+- $(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
++ $(CC) -c $(CFLAGS) -Wall -o$@ $<
+
+ $(OBJDIR)/dtparserlex.o : $(OBJDIR)/dtparserlex.c
+- $(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
++ $(CC) -c $(CFLAGS) -Wall -o$@ $<
+
+ $(OBJDIR)/dtparserparse.o : $(OBJDIR)/dtparserparse.c
+- $(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
++ $(CC) -c $(CFLAGS) -Wall -o$@ $<
+
+ $(OBJDIR)/prparserlex.o : $(OBJDIR)/prparserlex.c
+- $(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
++ $(CC) -c $(CFLAGS) -Wall -o$@ $<
+
+ $(OBJDIR)/prparserparse.o : $(OBJDIR)/prparserparse.c
+- $(CC) -c $(CFLAGS) -Wall -Werror -o$@ $<
++ $(CC) -c $(CFLAGS) -Wall -o$@ $<
Home |
Main Index |
Thread Index |
Old Index