summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2011-11-07 03:39:26 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2011-11-07 03:39:26 +0000
commit4bfa245f83d9704022bd206c425484156014a212 (patch)
tree6c2224e88e6a3ad70d103388075be2bd1210511e /sys-power
parentOld. (diff)
downloadhistorical-4bfa245f83d9704022bd206c425484156014a212.tar.gz
historical-4bfa245f83d9704022bd206c425484156014a212.tar.bz2
historical-4bfa245f83d9704022bd206c425484156014a212.zip
Version bump, bug #347019.
Package-Manager: portage-2.2.0_alpha72/cvs/Linux x86_64
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/iasl/ChangeLog10
-rw-r--r--sys-power/iasl/Manifest19
-rw-r--r--sys-power/iasl/files/iasl-20110922-as-needed.patch16
-rw-r--r--sys-power/iasl/files/iasl-20110922-locale.patch16
-rw-r--r--sys-power/iasl/files/iasl-20110922-parallelmake-001.patch54
-rw-r--r--sys-power/iasl/files/iasl-20110922-parallelmake-002.patch101
-rw-r--r--sys-power/iasl/iasl-20110922.ebuild133
7 files changed, 337 insertions, 12 deletions
diff --git a/sys-power/iasl/ChangeLog b/sys-power/iasl/ChangeLog
index 92f5d8f13ffb..2d374d49adef 100644
--- a/sys-power/iasl/ChangeLog
+++ b/sys-power/iasl/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for sys-power/iasl
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/iasl/ChangeLog,v 1.33 2011/09/30 16:56:57 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/iasl/ChangeLog,v 1.34 2011/11/07 03:39:26 robbat2 Exp $
+
+*iasl-20110922 (07 Nov 2011)
+
+ 07 Nov 2011; Robin H. Johnson <robbat2@gentoo.org> +iasl-20110922.ebuild,
+ +files/iasl-20110922-as-needed.patch, +files/iasl-20110922-locale.patch,
+ +files/iasl-20110922-parallelmake-001.patch,
+ +files/iasl-20110922-parallelmake-002.patch:
+ Version bump, bug #347019.
30 Sep 2011; Mike Frysinger <vapier@gentoo.org> iasl-20060912.ebuild,
iasl-20080514.ebuild, iasl-20080701.ebuild, iasl-20090123.ebuild,
diff --git a/sys-power/iasl/Manifest b/sys-power/iasl/Manifest
index 9d51cd53ac82..362a8d29c335 100644
--- a/sys-power/iasl/Manifest
+++ b/sys-power/iasl/Manifest
@@ -1,10 +1,11 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
AUX acpica-unix-20051216-buildfixup.patch 6542 RMD160 7609304a7f74b836f662486d5d0c44644767ea1f SHA1 99f44514a7fa48c10fb8a339b9b0968f2d6d7ea3 SHA256 a6a1dc686dc3ce14fc1035953c3b708474a7e134fd2dc8b4993b2d99f1261ba0
AUX acpica-unix-20060512-buildfixup.patch 5876 RMD160 9efd45283e2aff4558849ee5f46dcc6d2de5c572 SHA1 5cce3c7617de36457fa72901879f9914f3aabbf4 SHA256 ca1b41b22aed0e9d2ae154e95fc4761f66c40c8d493a3d7163edf75e43c46361
AUX iasl-20080701-parallelmake.patch 1598 RMD160 9ab6a9799c501cacbd62676057eb060db96a1f98 SHA1 6a683e1c573cb5c655785aec739cec27d0ac9f9c SHA256 77cbcd37bfd9c6804166d58faba53414ac3595ef4e81811915dbbd9a655dfdba
AUX iasl-20100428-parallelmake.patch 1335 RMD160 fade9371bf132161243f9ae52aab2cecd1b04102 SHA1 60c954ac8625082bec553b487c10288746ac3867 SHA256 8ccf021c61911abb6a72dfe979aea4dfadb9f0d4249894aa6dcc0f17aec58d47
+AUX iasl-20110922-as-needed.patch 450 RMD160 781bd387653a9bb9b5bcb4ed5e0bba31dde89b5a SHA1 774fc9fe65f63856693b54fe13ce7887f8fdd53d SHA256 42f9669def5d7ec972102bac015c1f3a882ad93e670a8b3ee10e64ca4e639d36
+AUX iasl-20110922-locale.patch 435 RMD160 8d8b7b891f6387095d4e0ec3a1f654d1195f0d3e SHA1 604a91e8f1b8a1697a65d2bfedde1acbd010a7ca SHA256 12dc10052f6929aaff8ee45b4380a2cb30a1df750e294302a30339c94dce3ef9
+AUX iasl-20110922-parallelmake-001.patch 2089 RMD160 93e9f0094232f4cf10e810cd0e3b9d3529623777 SHA1 e18e7da80feab3bc932e48e4020364d21b795d5d SHA256 8c38b9d069e3e779abed62b1efe91090c8f32f085a872950c1698911c824e65d
+AUX iasl-20110922-parallelmake-002.patch 2954 RMD160 e5c00da53e2bc5e7ccdb00bfc8dfd45e4ece2e65 SHA1 cde1a2703e57bd65da52932fad303ca565cfb6e1 SHA256 9e0ad7f1f32f27cf12a8418161cffcbd02486f9d7c3cb3f45b1d26ecbd28ed42
AUX iasl-locale.patch 199 RMD160 db7cf5eebca6b43a81050c9b9a6c747efdbc4b1e SHA1 36226eba6a456714729b6faaa8ee3f1f94d575e1 SHA256 76cd2b49a00b279770b60fe0e8ba32fddd778e97518d77cf79cc2a9daecda654
DIST acpica-unix-20060912.tar.gz 859242 RMD160 e8c10dd73912243e2b0e5b13b45342a963772c89 SHA1 77a1bbfaa0ad257e04a2aaa31b54a8ce1da5f2fa SHA256 f9a8bf089a639681f42e2a533b7004d2fdd9a4e3e3b6bbba9bd232c6a5acf773
DIST acpica-unix-20080514.tar.gz 887758 RMD160 9824cd2643a134db37383849f1dfb1e44beecde0 SHA1 cb0ada08bc4acaaabbf23b7d1f2677bd9861073a SHA256 2b4b078e1234ea65b05db680566e9122c90dc0b754c9df087666bfbd3d70c086
@@ -15,6 +16,7 @@ DIST acpica-unix-20090903.tar.gz 951383 RMD160 8e1520c8650d18d3b565d97af91413efc
DIST acpica-unix-20091013.tar.gz 957187 RMD160 8208761bd280e9c9cafa9538d7ebb21ae947d473 SHA1 d47878529097fc7c2409f4f9f8eae71f21b8078b SHA256 26c105a5d551e76c450a368371394ca09f7dd8b7f876d0500a6ffec37a19bd45
DIST acpica-unix-20100428.tar.gz 1039493 RMD160 59a8eaea119510cfa7dc0b8de40fbc9e848a015c SHA1 5ff8ec6b672ff71ae27e5ae700684c643d4dbdd6 SHA256 2e0cdd1bdc3c3fd3f701c19a8bb2e089e6feb23d3a19068b102ffa492b1dc4f5
DIST acpica-unix-20100528.tar.gz 1058661 RMD160 03150071fc016e0f255349fea6b10a44f261042e SHA1 b36e2ffdd9fc169ea3084ab95341b01a9380b21e SHA256 f3af776f968c29daa4f061d594d641297f3838805307d243385785b7326d324c
+DIST acpica-unix-20110922.tar.gz 1158701 RMD160 fd1870b1a5cb9cbcbd84b4e157ba027ce8ce0b7d SHA1 fd27530a4223704968781fe333af7a04dab7b57e SHA256 3d135db9b7b1811ddc799436e8ec665bca83ae55810e74c9b1d405aec4536aeb
DIST acpitests-unix-20080514.tar.gz 1898223 RMD160 16075cb2f69ab0ef0b8388b79186c8c000a1722f SHA1 1a2f41fe75cc32d32661fcaa6f1c6e4aca3455eb SHA256 6e43826295874c6dbd17cd7e4fbacfcd6a2d1581626591c797ee5d94d59faa86
DIST acpitests-unix-20080701.tar.gz 1880102 RMD160 23b7b14c6f518b14ce7786d12a55debe78b997f2 SHA1 6be97af198917a0168f89178316e8b79715a15ac SHA256 8dc21976da4d2ee8e4cff6cd6b807c5dcfbbdbe0ec0562d0d435b7563680bdb5
DIST acpitests-unix-20090123.tar.gz 1880717 RMD160 a8aea45b2d5ec2050db4cb2d474c55ff14a196b1 SHA1 eccb018d4fad73be67a34ac0848b23be575518be SHA256 d46788816bf677601ad050280260db5f04ddd30f7e2b131e2fc4f26f256de290
@@ -23,6 +25,7 @@ DIST acpitests-unix-20090903.tar.gz 1949552 RMD160 6efbdc0072c229b98015b9dd43003
DIST acpitests-unix-20091013.tar.gz 1949552 RMD160 4c0b160c920844f19a9fa5d6392b63af7d73ba99 SHA1 4d362e13f1404fe0770d4c5f129f1f1c13a4a5a3 SHA256 1f220bca2e19b9728fc208f4951d37fa5dc5769e986bd91ac72a8b9e0c69e9e3
DIST acpitests-unix-20100428.tar.gz 1928864 RMD160 9799d136c2a7abbb52d036e5adf2a7a2731ec439 SHA1 d472bb311b5600508f7192badb64f0920f7a6cac SHA256 fbee4a4aff7c82d3209d7320df5a5baae7c0f8167c18fdf7767def652f295bd9
DIST acpitests-unix-20100528.tar.gz 1951819 RMD160 836beeae14d5b6299303d6b1718fa777acfcc906 SHA1 408689675a0cc2730d201d65ba10bb54d7ee982c SHA256 baf446881e7ef872f8182fcaf45b59e93ff11cbe82b78aca4f51b6ca43c3dcbf
+DIST acpitests-unix-20110922.tar.gz 1952379 RMD160 3e27d31617ee9df938f8546fd0879d5e3bf2b761 SHA1 0277119818ef63dfd9829e7f57c1defdf0bfd1c6 SHA256 7d72780f255261a705de9064123e6f720fbaaec93966149427c3ba63a323ee33
EBUILD iasl-20060912.ebuild 1162 RMD160 cd89a814d40ed5a26d62d75e254ff73efaefb997 SHA1 8db52dc7c2802b9d6d2f2910385d19bc3b369be6 SHA256 3863e70838f88d0edddb4953f2ed9df389fe146fb23ff09f18e7ec20c69d962f
EBUILD iasl-20080514.ebuild 3180 RMD160 bc50b0dd0a1f4f91a760f171c7ac8f3b671637cd SHA1 a9aa30088a8609d05660fa5c9edb54d0ccea645f SHA256 75c5c70a4d279afbcc94c229e822392aa5d1672afcadf530267bc4f093dbab00
EBUILD iasl-20080701.ebuild 3273 RMD160 451045f267a508186f490a3b31db0681127c4483 SHA1 5aa7857c09a55389398d7d4cd98fbb96babcfac2 SHA256 6dc3be862f247174307787fcf1a319573c21931c35589b2886e69d195d3e6744
@@ -32,12 +35,6 @@ EBUILD iasl-20090903.ebuild 3433 RMD160 5bc36f6bfb6824925524559753595592be14c5d0
EBUILD iasl-20091013.ebuild 3433 RMD160 974f4531f6f4104efdc14742dc70244f295425da SHA1 a39571bea37e836c0e71845868ffbdf6ee9ef15b SHA256 ead6a747ce0039a3f5fcc9311b5c5dad79355eba27d73114805fd45392afa6fd
EBUILD iasl-20100428.ebuild 3433 RMD160 b31017fb137414c200cfa081eb195c7da24b65d1 SHA1 316afcf91ce3de5ca16fcb0b7b8046fdfc3a163a SHA256 15932b282475afc5ea7f969f03dae5e43eda8a2b530576a2e77b4c6d076bf583
EBUILD iasl-20100528.ebuild 3433 RMD160 8b051df52db29638c4667e03aa15ab8213a4a3a6 SHA1 dc87a8064cb404c182b3a75fba8e785fdcdc63aa SHA256 40b6481ad1d9a8431c55a7a33197917534f18de117ec1215fba58746f54cc0ff
-MISC ChangeLog 5444 RMD160 f5d3a5106eb6b9e73463a3b44a3c0d341f87d766 SHA1 76f60d0576a5f86777ae75aa70e42f64611f0a75 SHA256 6977c0edc257c63e2829c8484ca6edb051e5a88ea1c5a2bd6a8fa5fb37ac1d8a
+EBUILD iasl-20110922.ebuild 3551 RMD160 91c25816815027b346cccc1d7bacec46a4f7bbd8 SHA1 20332146293c59737d613bfa80cc20f885e7abb9 SHA256 824f0565d69e271acb8c2706309166efec44c0b4ebdea33afadabbcfb3fe4e2b
+MISC ChangeLog 5750 RMD160 91637c1032e1ff928a5b9d41c021f92e6a89ca96 SHA1 2db828e76e188360e01d623ac9779c59410e068e SHA256 bec9ab30c0439739776b8e412f0036cef6998674f803547a5a759daeb7de5b49
MISC metadata.xml 202 RMD160 ca69c6e7044d6681415f1e86a1c084f890ff08ef SHA1 62ab18bf0e1da311494ca0912e5a79daeceb46ad SHA256 76dbb4a720140d78f0ddfb2b2782c03852169c201c1f507eb17ef4d2a82f212a
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
-
-iF4EAREIAAYFAk6F9OEACgkQaC/OocHi7JZzIAD9F5sI03ek+nFrwOOPMlfPl1t1
-o+6zMzAeuTJ/WYCNdWQA/Aj2PWeAuanQQGgxn60S/WYtm5dPzeqhkPjGny0QwQlL
-=wNHD
------END PGP SIGNATURE-----
diff --git a/sys-power/iasl/files/iasl-20110922-as-needed.patch b/sys-power/iasl/files/iasl-20110922-as-needed.patch
new file mode 100644
index 000000000000..a507f74ea9b2
--- /dev/null
+++ b/sys-power/iasl/files/iasl-20110922-as-needed.patch
@@ -0,0 +1,16 @@
+ 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)
diff --git a/sys-power/iasl/files/iasl-20110922-locale.patch b/sys-power/iasl/files/iasl-20110922-locale.patch
new file mode 100644
index 000000000000..920c409b76d2
--- /dev/null
+++ b/sys-power/iasl/files/iasl-20110922-locale.patch
@@ -0,0 +1,16 @@
+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
+
+ #
diff --git a/sys-power/iasl/files/iasl-20110922-parallelmake-001.patch b/sys-power/iasl/files/iasl-20110922-parallelmake-001.patch
new file mode 100644
index 000000000000..b739dd8ab8e4
--- /dev/null
+++ b/sys-power/iasl/files/iasl-20110922-parallelmake-001.patch
@@ -0,0 +1,54 @@
+From 95b2e4c8cecc4ea469d4fd5cfe6927d631aade3a Mon Sep 17 00:00:00 2001
+From: Alphat <AlphatPC@gmail.com>
+Date: Sun, 9 Oct 2011 08:11:36 +0800
+Subject: [PATCH 1/2] iasl-20110922-parallelmake-001
+
+---
+ compiler/Makefile | 16 ++++++++--------
+ 1 files changed, 8 insertions(+), 8 deletions(-)
+
+diff --git a/compiler/Makefile b/compiler/Makefile
+index e08941a..c831064 100644
+--- a/compiler/Makefile
++++ b/compiler/Makefile
+@@ -276,14 +276,14 @@ $(PROG) : $(INTERMEDIATES) $(MISC) $(OBJECTS)
+ aslcompilerlex.c : $(ASL_COMPILER)/aslcompiler.l
+ ${LEX} ${LFLAGS} -PAslCompiler -o$@ $?
+
+-aslcompilerparse.c aslcompilerparse.h : $(ASL_COMPILER)/aslcompiler.y
+- ${YACC} ${YFLAGS} -pAslCompiler -o$@ $?
++aslcompilerparse.c aslcompilerparse.h aslcompilerparse.output : $(ASL_COMPILER)/aslcompiler.y
++ ${YACC} ${YFLAGS} -pAslCompiler -oaslcompilerparse.c $?
+
+ dtparserlex.c : $(ASL_COMPILER)/dtparser.l
+ ${LEX} ${LFLAGS} -PDtParser -o$@ $?
+
+-dtparserparse.c dtparserparse.h : $(ASL_COMPILER)/dtparser.y
+- ${YACC} ${YFLAGS} -pDtParser -o$@ $?
++dtparserparse.c dtparserparse.h dtparserparse.output : $(ASL_COMPILER)/dtparser.y
++ ${YACC} ${YFLAGS} -pDtParser -odtparserparse.c $?
+
+ # Rename headers produced by bison/yacc
+
+@@ -302,14 +302,14 @@ aslcompiler.y.h : aslcompilerparse.h
+ # Cannot use the common compile warning flags since the C files are created
+ # by the utilities above and they are not necessarily ANSI C, etc.
+ #
+-aslcompilerlex.o : aslcompilerlex.c
+- $(CC) -c $(CFLAGS) -Wall -Werror -Wstrict-aliasing=0 -o$@ $?
++aslcompilerlex.o : aslcompilerlex.c aslcompilerparse.h
++ $(CC) -c $(CFLAGS) -Wall -Werror -Wstrict-aliasing=0 -o$@ $<
+
+ aslcompilerparse.o : aslcompilerparse.c
+ $(CC) -c $(CFLAGS) -Wall -Werror -Wstrict-aliasing=0 -o$@ $?
+
+-dtparserlex.o : dtparserlex.c
+- $(CC) -c $(CFLAGS) -Wall -Werror -Wstrict-aliasing=0 -o$@ $?
++dtparserlex.o : dtparserlex.c dtparserparse.h
++ $(CC) -c $(CFLAGS) -Wall -Werror -Wstrict-aliasing=0 -o$@ $<
+
+ dtparserparse.o : dtparserparse.c
+ $(CC) -c $(CFLAGS) -Wall -Werror -Wstrict-aliasing=0 -o$@ $?
+--
+1.7.7
+
diff --git a/sys-power/iasl/files/iasl-20110922-parallelmake-002.patch b/sys-power/iasl/files/iasl-20110922-parallelmake-002.patch
new file mode 100644
index 000000000000..071ebd047d45
--- /dev/null
+++ b/sys-power/iasl/files/iasl-20110922-parallelmake-002.patch
@@ -0,0 +1,101 @@
+From 2a6a29863c735fd26bf12b1b55aff4f8bf736535 Mon Sep 17 00:00:00 2001
+From: Alphat <AlphatPC@gmail.com>
+Date: Sun, 9 Oct 2011 08:14:12 +0800
+Subject: [PATCH 2/2] iasl-20110922-parallelmake-002
+
+---
+ compiler/Makefile | 39 ++++++++++++++-------------------------
+ 1 files changed, 14 insertions(+), 25 deletions(-)
+
+diff --git a/compiler/Makefile b/compiler/Makefile
+index c831064..b795e16 100644
+--- a/compiler/Makefile
++++ b/compiler/Makefile
+@@ -67,9 +67,9 @@ HEADERS = \
+
+ OBJECTS = \
+ aslcompilerlex.o \
+- aslcompilerparse.o \
++ aslcompiler.y.o \
+ dtparserlex.o \
+- dtparserparse.o \
++ dtparser.y.o \
+ adfile.o \
+ adisasm.o \
+ adwalk.o \
+@@ -203,17 +203,15 @@ OBJECTS = \
+
+ INTERMEDIATES = \
+ aslcompilerlex.c \
+- aslcompilerparse.c \
++ aslcompiler.y.c \
+ dtparserlex.c \
+- dtparserparse.c
++ dtparser.y.c
+
+ MISC = \
+- aslcompilerparse.h \
+ aslcompiler.y.h \
+- aslcompilerparse.output \
+- dtparserparse.h \
++ aslcompiler.y.output \
+ dtparser.y.h \
+- dtparserparse.output
++ dtparser.y.output
+
+ CFLAGS+= \
+ -D$(HOST) \
+@@ -276,42 +274,33 @@ $(PROG) : $(INTERMEDIATES) $(MISC) $(OBJECTS)
+ aslcompilerlex.c : $(ASL_COMPILER)/aslcompiler.l
+ ${LEX} ${LFLAGS} -PAslCompiler -o$@ $?
+
+-aslcompilerparse.c aslcompilerparse.h aslcompilerparse.output : $(ASL_COMPILER)/aslcompiler.y
+- ${YACC} ${YFLAGS} -pAslCompiler -oaslcompilerparse.c $?
++aslcompiler.y.c aslcompiler.y.h aslcompiler.y.output : $(ASL_COMPILER)/aslcompiler.y
++ ${YACC} ${YFLAGS} -pAslCompiler -oaslcompiler.y.c $?
+
+ dtparserlex.c : $(ASL_COMPILER)/dtparser.l
+ ${LEX} ${LFLAGS} -PDtParser -o$@ $?
+
+-dtparserparse.c dtparserparse.h dtparserparse.output : $(ASL_COMPILER)/dtparser.y
+- ${YACC} ${YFLAGS} -pDtParser -odtparserparse.c $?
++dtparser.y.c dtparser.y.h dtparser.y.output : $(ASL_COMPILER)/dtparser.y
++ ${YACC} ${YFLAGS} -pDtParser -odtparser.y.c $?
+
+ # Rename headers produced by bison/yacc
+
+-dtparser.y.h: dtparserparse.h
+- @echo Copy intermediate file:
+- @cp -f -v dtparserparse.h dtparser.y.h
+-
+-aslcompiler.y.h : aslcompilerparse.h
+- @echo Copy intermediate file:
+- @cp -f -v aslcompilerparse.h aslcompiler.y.h
+-
+-
+ #
+ # Parsers and Lexers - final object files
+ #
+ # Cannot use the common compile warning flags since the C files are created
+ # by the utilities above and they are not necessarily ANSI C, etc.
+ #
+-aslcompilerlex.o : aslcompilerlex.c aslcompilerparse.h
++aslcompilerlex.o : aslcompilerlex.c aslcompiler.y.h
+ $(CC) -c $(CFLAGS) -Wall -Werror -Wstrict-aliasing=0 -o$@ $<
+
+-aslcompilerparse.o : aslcompilerparse.c
++aslcompiler.y.o : aslcompiler.y.c
+ $(CC) -c $(CFLAGS) -Wall -Werror -Wstrict-aliasing=0 -o$@ $?
+
+-dtparserlex.o : dtparserlex.c dtparserparse.h
++dtparserlex.o : dtparserlex.c dtparser.y.h
+ $(CC) -c $(CFLAGS) -Wall -Werror -Wstrict-aliasing=0 -o$@ $<
+
+-dtparserparse.o : dtparserparse.c
++dtparser.y.o : dtparser.y.c
+ $(CC) -c $(CFLAGS) -Wall -Werror -Wstrict-aliasing=0 -o$@ $?
+
+
+--
+1.7.7
+
diff --git a/sys-power/iasl/iasl-20110922.ebuild b/sys-power/iasl/iasl-20110922.ebuild
new file mode 100644
index 000000000000..6c74eb91ba99
--- /dev/null
+++ b/sys-power/iasl/iasl-20110922.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-power/iasl/iasl-20110922.ebuild,v 1.1 2011/11/07 03:39:26 robbat2 Exp $
+
+EAPI=4
+
+inherit toolchain-funcs flag-o-matic eutils
+
+MY_PN=acpica-unix
+MY_P=${MY_PN}-${PV}
+MY_TESTS_P=${MY_PN/ca/tests}-${PV}
+DESCRIPTION="Intel ACPI Source Language (ASL) compiler"
+HOMEPAGE="http://www.intel.com/technology/iapc/acpi/"
+SRC_URI="http://www.acpica.org/download/${MY_P}.tar.gz
+ test? ( http://www.acpica.org/download/${MY_TESTS_P}.tar.gz )"
+
+LICENSE="iASL"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE="test"
+
+DEPEND="sys-devel/bison
+ sys-devel/flex"
+RDEPEND=""
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if use test
+ then
+ ewarn 'You have selected USE="test". This will install the test results'
+ ewarn "into /usr/share/${PF}/, compressed as a tarball."
+ ewarn 'The tests themselves will only rarely die, but the test results'
+ ewarn 'are interesting for arch testing. The tests may take quite some'
+ ewarn 'time to complete.'
+ fi
+}
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-20110922-as-needed.patch"
+ epatch "${FILESDIR}/${PN}-20110922-locale.patch"
+ epatch "${FILESDIR}/${PN}-20110922-parallelmake-001.patch"
+ epatch "${FILESDIR}/${PN}-20110922-parallelmake-002.patch"
+
+ find "${S}" -type f -name 'Makefile*' -print0 | \
+ xargs -0 -I '{}' \
+ sed -r -e 's:-\<Werror\>::g' -i '{}' \
+ || die
+}
+
+src_configure() {
+ :
+}
+
+src_compile() {
+ local target bin
+
+ for target in compiler tools/acpi{bin,exec,help,names,src,xtract}
+ do
+ einfo "Compiling in ${target}/"
+ cd "${S}"/${target}
+ case "${target}" in
+ compiler) bin=iasl;;
+ *) bin=${target#*/};;
+ esac
+
+ emake CC="$(tc-getCC)" || die "emake in ${target} failed"
+ einfo "Finished compiling ${target}"
+
+ mv ${bin} "${T}" || die "mv ${bin} failed"
+ einfo "Finished moving ${bin}"
+
+ make clean || die "make clean in ${target} failed"
+ einfo "Finished cleaning ${target}"
+
+ echo ${bin} >>"${T}"/binlist
+ done
+ einfo "$(<"${T}"/binlist)"
+}
+
+src_test() {
+ aslts_test
+ #aapits_test
+ #The aapits test currently fails, missing include probably.
+}
+
+src_install() {
+ local bin
+ for bin in $(<"${T}"/binlist) ; do
+ dobin "${T}"/${bin}
+ done
+ dodoc README changes.txt
+ if use test ; then
+ tb="${T}"/testresults.tar.bz2
+ export ASLTSDIR="$(<"${T}"/asltdir)"
+ ebegin "Creating Test Tarball"
+ tar -cjf "${tb}" -C "${ASLTSDIR}"/tmp/RESULTS . || die "tar failed"
+ eend $?
+ dodir /usr/share/${PF}
+ insinto /usr/share/${PF}
+ doins ${tb} || die "doins testresults.tar.bz2 failed"
+ fi
+
+}
+
+aslts_test() {
+ export ASL="${T}"/iasl \
+ acpiexec="${T}"/acpiexec \
+ ASLTSDIR="${WORKDIR}/${MY_TESTS_P}"/tests/aslts
+ export PATH="${PATH}:${ASLTSDIR}/bin"
+ echo "$ASLTSDIR" >"${T}"/asltdir
+ cd "${ASLTSDIR}"
+ edos2unix $(find . -type 'f')
+ make install || die "make install aslts test failed"
+ chmod +x $(find bin/ ! -regex 'ERROR_OPCODES|HOW_TO_USE|README' ) || die "chmod bin +x failed"
+
+ #The below Do commands runs the tests twice and then dies if the results aren't
+ #Identical.
+ Do 1 || die "failed Do 1"
+ Do 2 || die "failed Do 2"
+}
+
+aapits_test() {
+ mv "${WORKDIR}/${MY_TESTS_P}/tests/aapits" "${S}/tools/" || die "mv failed"
+ cd "${S}/tools/aapits" || die "cannot find ${S}/tools/aapits"
+ edos2unix $(find . -type 'f')
+ chmod +x $(find bin/ | sed -r -e '/\/[A-Z_]+$/d') || die "chmod bin +x failed"
+ make || die "make in aapits failed"
+ cd asl || die "cd asl failed"
+ make || die "make in asl failed"
+ cd ../bin
+ ./aapitsrun || die "aapitsrun failed"
+}