From: Carsten Schlote <[email protected]>

Signed-off-by: Carsten Schlote <[email protected]>
---
 .../fix-gcc-4.4.1-error-warnings.patch             |   18 ++++++++++++++++++
 patches/acpid-1.0.10/series                        |    1 +
 2 files changed, 19 insertions(+), 0 deletions(-)
 create mode 100644 patches/acpid-1.0.10/fix-gcc-4.4.1-error-warnings.patch

diff --git a/patches/acpid-1.0.10/fix-gcc-4.4.1-error-warnings.patch 
b/patches/acpid-1.0.10/fix-gcc-4.4.1-error-warnings.patch
new file mode 100644
index 0000000..43039af
--- /dev/null
+++ b/patches/acpid-1.0.10/fix-gcc-4.4.1-error-warnings.patch
@@ -0,0 +1,18 @@
+---
+ Makefile |    3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+Index: acpid-1.0.10/Makefile
+===================================================================
+--- acpid-1.0.10.orig/Makefile 2009-12-03 09:38:40.000000000 +0100
++++ acpid-1.0.10/Makefile      2009-12-03 09:39:26.000000000 +0100
+@@ -24,7 +24,8 @@
+ MAN8 = acpid.8 acpi_listen.8
+ MAN8GZ = $(MAN8:.8=.8.gz)
+ 
+-CFLAGS = -W -Wall -Werror -Wundef -Wshadow -D_GNU_SOURCE -O2 -g $(DEFS)
++CFLAGS = -W -Wall -Wundef -Wshadow -D_GNU_SOURCE -O2 -g $(DEFS)
++# -Werror
+ DEFS = -DVERSION="\"$(VERSION)\""
+ 
+ all: $(PROGS)
diff --git a/patches/acpid-1.0.10/series b/patches/acpid-1.0.10/series
index 5271f54..57d2b11 100644
--- a/patches/acpid-1.0.10/series
+++ b/patches/acpid-1.0.10/series
@@ -1 +1,2 @@
 netlink.diff
+fix-gcc-4.4.1-error-warnings.patch
-- 
1.6.5.6.gb3118


--
ptxdist mailing list
[email protected]

Reply via email to