summaryrefslogtreecommitdiff
path: root/packages/apmd/apmd-3.2.2
diff options
context:
space:
mode:
authorMichael Krelin <hacker@klever.net>2007-05-29 12:27:45 +0000
committerMichael Krelin <hacker@klever.net>2007-05-29 12:27:45 +0000
commit9456cdc1cf43e3ba9e6d88c63560c1b6fdee4359 (patch)
tree0edd8d50fa2ee92983b4e589e0c8e596f1652593 /packages/apmd/apmd-3.2.2
parent212faea582979db2195c01ce884fe992a9478e58 (diff)
apmd: prevent build from interferring with host kernel headers. Closes #1257
Diffstat (limited to 'packages/apmd/apmd-3.2.2')
-rw-r--r--packages/apmd/apmd-3.2.2/unlinux.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/apmd/apmd-3.2.2/unlinux.patch b/packages/apmd/apmd-3.2.2/unlinux.patch
new file mode 100644
index 0000000000..f7eec6eb03
--- /dev/null
+++ b/packages/apmd/apmd-3.2.2/unlinux.patch
@@ -0,0 +1,12 @@
+--- apmd-3.2.2.orig/Makefile
++++ apmd-3.2.2/Makefile
+@@ -43,8 +43,7 @@
+
+ CC=gcc
+ CFLAGS=-O -g
+-XTRACFLAGS=-Wall -pipe -I. -I/usr/src/linux/include \
+- -I/usr/src/linux-2.2/include -I /usr/src/linux-2.0/include \
++XTRACFLAGS=-Wall -pipe -I. \
+ -DVERSION=\"$(VERSION)\" \
+ -DDEFAULT_PROXY_NAME=\"$(PROXY_DIR)/apmd_proxy\"
+ LDFLAGS=