package/acpica: bump version to 20191018
PATCH 1/1 package/acpica: bump version to 20191018
Rebased patch due to upstream commit
https://github.com/acpica/acpica/commit/36037bdaf0ab843b7304d538d4e5cbc0c9524024
--- .../acpica/0001-build-do-not-use-Werror.patch | 27 ++++++++++++++----- package/acpica/acpica.hash | 2 +- package/acpica/acpica.mk | 2 +- 3 files changed, 23 insertions(+), 8 deletions(-)
package/acpica/0001-build-do-not-use-Werror.patch +21 -6
@@ -10,19 +10,21 @@ newer versions that introduce new warnings. Remove use of -Werror. [Vincent: tweak patch for 20170531 release] +[Bernd: tweak patch for 20191018 release] Signed-off-by: "Yann E. MORIN" <[email protected]> Signed-off-by: "Vicente Olivert Riera" <[email protected]> +Signed-off-by: Bernd Kuhls <[email protected]> --- generate/unix/Makefile.config | 1 - - generate/unix/iasl/Makefile | 12 ++++++------ - 2 files changed, 6 insertions(+), 7 deletions(-) + generate/unix/iasl/Makefile | 16 ++++++++-------- + 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/generate/unix/Makefile.config b/generate/unix/Makefile.config -index 4d4f182..a7120e3 100644 +index c28e8a9b1..7064bed97 100644 --- a/generate/unix/Makefile.config +++ b/generate/unix/Makefile.config -@@ -194,7 +194,6 @@ CWARNINGFLAGS = \ +@@ -204,7 +204,6 @@ CWARNINGFLAGS = \ -Wall\ -Wbad-function-cast\ -Wdeclaration-after-statement\
@@ -31,10 +33,10 @@ index 4d4f182..a7120e3 100644 -Wmissing-declarations\ -Wmissing-prototypes\ diff --git a/generate/unix/iasl/Makefile b/generate/unix/iasl/Makefile -index 156c23a..28ffc06 100644 +index 47ea73cab..2c756af79 100644 --- a/generate/unix/iasl/Makefile +++ b/generate/unix/iasl/Makefile -@@ -335,24 +335,24 @@ $(OBJDIR)/prparserparse.c $(OBJDIR)/prparser.y.h : $(ASL_COMPILER)/prparse +@@ -360,32 +360,32 @@ $(OBJDIR)/prparserparse.c $(OBJDIR)/prparser.y.h : $(ASL_COMPILER)/prparse # $(OBJDIR)/aslcompilerlex.o : $(OBJDIR)/aslcompilerlex.c @echo "- " "Intermediate" $<
@@ -44,6 +46,16 @@ index 156c23a..28ffc06 100644 $(OBJDIR)/aslcompilerparse.o : $(OBJDIR)/aslcompilerparse.c @echo "- " "Intermediate" $< - @$(CC) -c $(CFLAGS) -Wall -Werror -o$@ $< ++ @$(CC) -c $(CFLAGS) -Wall -o$@ $< + + $(OBJDIR)/dtcompilerparserlex.o : $(OBJDIR)/dtcompilerparserlex.c + @echo "- " "Intermediate" $< +- @$(CC) -c $(CFLAGS) -Wall -Werror -o$@ $< ++ @$(CC) -c $(CFLAGS) -Wall -o$@ $< + + $(OBJDIR)/dtcompilerparserparse.o : $(OBJDIR)/dtcompilerparserparse.c + @echo "- " "Intermediate" $< +- @$(CC) -c $(CFLAGS) -Wall -Werror -o$@ $< + @$(CC) -c $(CFLAGS) -Wall -o$@ $< $(OBJDIR)/dtparserlex.o : $(OBJDIR)/dtparserlex.c
@@ -65,3 +77,6 @@ index 156c23a..28ffc06 100644 @echo "- " "Intermediate" $< - @$(CC) -c $(CFLAGS) -Wall -Werror -o$@ $< + @$(CC) -c $(CFLAGS) -Wall -o$@ $< +-- +2.20.1 +
package/acpica/acpica.hash +1 -1
@@ -1,3 +1,3 @@ # locally computed hash -sha256 9f539986b91749947dfc32b3b00d338ba565ee1a394b95c049dd393aac8ae34e acpica-unix2-20190703.tar.gz +sha256 edb9a886455d22955c93753e2de61b780bed94fb434079e844dc5e4376cadd4c acpica-unix2-20191018.tar.gz sha256 65464cea6ee2f7a5d38e2b5f1050a4b39a15358a09b8e36119416d4e2c5031b8 source/include/acpi.h
package/acpica/acpica.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -ACPICA_VERSION = 20190703 +ACPICA_VERSION = 20191018 ACPICA_SOURCE = acpica-unix2-$(ACPICA_VERSION).tar.gz ACPICA_SITE = https://acpica.org/sites/acpica/files ACPICA_LICENSE = BSD-3-Clause or GPL-2.0
Signature · 1 line
2.20.1
Thomas Petazzoni
AppliedPATCH 1/1 package/acpica: bump version to 20191018
Hello Bernd,
Quoted 9 lines · On Sat, 26 Oct 2019 09:56:38 +0200 Bernd Kuhls <[email protected]> wrote:
Rebased patch due to upstream commit
https://github.com/acpica/acpica/commit/36037bdaf0ab843b7304d538d4e5cbc0c9524024Signed-off-by Bernd Kuhls <[email protected]>--- .../acpica/0001-build-do-not-use-Werror.patch | 27 ++++++++++++++----- package/acpica/acpica.hash | 2 +- package/acpica/acpica.mk | 2 +- 3 files changed, 23 insertions(+), 8 deletions(-)
Applied to master, thanks. However, could you prepare and send upstream a patch that allows to disable -Werror? Something like a NO_WERROR make variable, which when set, doesn't add -Werror ?
For the generate/unix/iasl/Makefile file, you of course first want a preparation patch that factorizes the definition of -Wall -Werror.
Upstreaming such a patch would reduce a bit the maintenance burden.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com