Revision
81692
Author
jmr@macports.org
Date
2011-08-04 06:55:40 -0700 (Thu, 04 Aug 2011)

Log Message

acpica: remove -Werror that breaks the build

Modified Paths

Added Paths

Diff

Modified: trunk/dports/devel/acpica/Portfile (81691 => 81692)


--- trunk/dports/devel/acpica/Portfile	2011-08-04 13:49:51 UTC (rev 81691)
+++ trunk/dports/devel/acpica/Portfile	2011-08-04 13:55:40 UTC (rev 81692)
@@ -22,6 +22,8 @@
 
 depends_build       port:bison
 
+patchfiles          compiler_Makefile.patch
+
 post-patch {
     reinplace "s,-lrt,,g" ${worksrcpath}/tools/acpiexec/Makefile \
                           ${worksrcpath}/compiler/Makefile

Added: trunk/dports/devel/acpica/files/compiler_Makefile.patch (0 => 81692)


--- trunk/dports/devel/acpica/files/compiler_Makefile.patch	                        (rev 0)
+++ trunk/dports/devel/acpica/files/compiler_Makefile.patch	2011-08-04 13:55:40 UTC (rev 81692)
@@ -0,0 +1,15 @@
+--- compiler/Makefile.orig	2011-08-04 23:50:11.000000000 +1000
++++ compiler/Makefile	2011-08-04 23:52:39.000000000 +1000
+@@ -188,10 +188,10 @@
+ # by the utilities above and they are not necessarily ANSI C, etc.
+ #
+ aslcompilerlex.o :   aslcompilerlex.c
+-	$(CC) -c $(CFLAGS) -Wall -Werror -o$@ $?
++	$(CC) -c $(CFLAGS) -Wall -o$@ $?
+ 
+ aslcompilerparse.o : aslcompilerparse.c
+-	$(CC) -c $(CFLAGS) -Wall -Werror -o$@ $?
++	$(CC) -c $(CFLAGS) -Wall -o$@ $?
+ 
+ 
+ #