From f70ff793e716a37ad24c9d234fd065c6b5497ff0 Mon Sep 17 00:00:00 2001 From: Rmys Date: Sun, 26 Jan 2020 23:36:07 +0300 Subject: [PATCH] acpica ver. bump --- hardware/powermanagement/acpica/actions.py | 2 ++ .../acpica/files/iasl-20140214-nostrip.patch | 11 +++++++++++ .../acpica/files/iasl-20140828-locale.patch | 17 +++++++++++++++++ hardware/powermanagement/acpica/pspec.xml | 13 ++++++++++++- 4 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 hardware/powermanagement/acpica/files/iasl-20140214-nostrip.patch create mode 100644 hardware/powermanagement/acpica/files/iasl-20140828-locale.patch diff --git a/hardware/powermanagement/acpica/actions.py b/hardware/powermanagement/acpica/actions.py index 32983a337b..b218813192 100644 --- a/hardware/powermanagement/acpica/actions.py +++ b/hardware/powermanagement/acpica/actions.py @@ -10,7 +10,9 @@ from pisi.actionsapi import pisitools from pisi.actionsapi import get def build(): + shelltools.system("sed -i -e 's/_CYGWIN/_LINUX/g' -e 's/-Werror//g' generate/unix/Makefile.*") shelltools.export("CFLAGS", "%s -fno-strict-aliasing" % get.CFLAGS()) + pisitools.dosed("generate/unix/iasl/Makefile", "-Werror", "") if get.ARCH() == "x86_64": autotools.make("BITS=64") else: diff --git a/hardware/powermanagement/acpica/files/iasl-20140214-nostrip.patch b/hardware/powermanagement/acpica/files/iasl-20140214-nostrip.patch new file mode 100644 index 0000000000..0bb82df38c --- /dev/null +++ b/hardware/powermanagement/acpica/files/iasl-20140214-nostrip.patch @@ -0,0 +1,11 @@ +--- acpica-unix-20140214/generate/unix/Makefile.config ++++ acpica-unix-20140214/generate/unix/Makefile.config +@@ -52,7 +52,7 @@ + INSTALLFLAGS ?= -f + else + INSTALL = install +-INSTALLFLAGS ?= -m 555 -s ++INSTALLFLAGS ?= -m 555 + endif + + INSTALLPROG = \ diff --git a/hardware/powermanagement/acpica/files/iasl-20140828-locale.patch b/hardware/powermanagement/acpica/files/iasl-20140828-locale.patch new file mode 100644 index 0000000000..c8e278f757 --- /dev/null +++ b/hardware/powermanagement/acpica/files/iasl-20140828-locale.patch @@ -0,0 +1,17 @@ +--- acpica-unix-20140828/generate/unix/Makefile.config ++++ acpica-unix-20140828/generate/unix/Makefile.config +@@ -225,12 +225,12 @@ + #YACC= byacc + #YFLAGS += + # +-YACC= bison ++YACC= LC_ALL=C bison + YFLAGS += -y + + MACROPROC= m4 + MFLAGS= -P -I$(ASL_COMPILER) + +-LEX= flex ++LEX= LC_ALL=C flex + LFLAGS += -i -s + diff --git a/hardware/powermanagement/acpica/pspec.xml b/hardware/powermanagement/acpica/pspec.xml index c050286dd3..bbec1bd60a 100644 --- a/hardware/powermanagement/acpica/pspec.xml +++ b/hardware/powermanagement/acpica/pspec.xml @@ -12,7 +12,11 @@ app:console ACPI debugging tools written by Intel acpica contains an AML interpreter and debugger, ACPI namespace support, ACPI hardware and event support and a full ASL compiler and disassembler. - https://acpica.org/sites/acpica/files/acpica-unix-20130117.tar.gz + https://acpica.org/sites/acpica/files/acpica-unix-20200110.tar.gz + + iasl-20140828-locale.patch + iasl-20140214-nostrip.patch + @@ -30,6 +34,13 @@ + + 2020-01-26 + 0.0_20200110 + Version Bump + Mustafa Cinasal + muscnsl@pisilinux.org + 2018-08-15 0.0_20130117