+++ /dev/null
-###############################################################################
-# IPFire.org - An Open Source Firewall Solution #
-# Copyright (C) - IPFire Development Team <info@ipfire.org> #
-###############################################################################
-
-name = iasl
-version = 20111123
-release = 3
-sup_arches = i686 x86_64
-thisapp = acpica-unix-%{version}
-
-maintainer = Ben Schweikert <ben.schweikert@ipfire.org>
-groups = Development/Languages
-url = http://www.acpica.org/downloads/
-license = GPL+
-summary = Cross development C compiler.
-
-description
- iasl compiles ASL (ACPI Source Language) into AML (ACPI Machine
- Language), which is suitable for inclusion as a DSDT in system
- firmware. It also can disassemble AML, for debugging purposes.
-end
-
-source_dl = http://www.acpica.org/download/
-
-build
- requires
- ncurses-devel
- bison
- flex
- end
-
- prepare_cmds
- # Remove -Werror from source.
- find . -type f -exec sed -ie 's!-Werror!!g' {} \;
- end
-
- build
- # Only build the compiler.
- cd compiler
-
- # Does not support parallel build.
- make
- end
-
- install
- mkdir -pv %{BUILDROOT}/usr/bin/
-
- # Only install compiler.
- cd compiler
- make install INSTALLDIR=%{BUILDROOT}/usr/bin
- end
-end
-
-packages
- package %{name}
-
- package %{name}-debuginfo
- template DEBUGINFO
- end
-end
+++ /dev/null
---- a/compiler/Makefile 2011-12-04 19:47:42.324530514 +0100
-+++ b/compiler/Makefile 2011-12-04 19:48:00.946530074 +0100
-@@ -227,7 +227,6 @@
- -Wall \
- -Wbad-function-cast \
- -Wdeclaration-after-statement \
-- -Werror \
- -Wformat=2 \
- -Wmissing-declarations \
- -Wmissing-prototypes \
+++ /dev/null
- tools/acpiexec/Makefile | 2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/tools/acpiexec/Makefile b/tools/acpiexec/Makefile
-index ba6b534..8435985 100644
---- a/tools/acpiexec/Makefile
-+++ b/tools/acpiexec/Makefile
-@@ -269,7 +269,7 @@ CWARNINGFLAGS += \
- # Rules
- #
- $(PROG) : $(OBJECTS)
-- $(CC) $(LDFLAGS) $(OBJECTS) -o $(PROG)
-+ $(CC) $(OBJECTS) $(LDFLAGS) -o $(PROG)
- $(COPYPROG)
-
- %.o : %.c $(HEADERS) $(ACPICA_HEADERS)
+++ /dev/null
-diff -Nuar acpica-unix-20110922.orig/compiler/Makefile acpica-unix-20110922/compiler/Makefile
---- acpica-unix-20110922.orig/compiler/Makefile 2011-09-22 15:59:34.000000000 +0000
-+++ acpica-unix-20110922/compiler/Makefile 2011-11-07 03:36:49.103281798 +0000
-@@ -258,10 +258,10 @@
- #
- # Bison/Flex configuration
- #
--YACC= bison
-+YACC= LC_ALL=C bison
- YFLAGS+= -v -d -y
-
--LEX= flex
-+LEX= LC_ALL=C flex
- LFLAGS+= -i -s
-
- #