summaryrefslogtreecommitdiffstats
path: root/openwrt/package/p910nd/patches/100-Makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/p910nd/patches/100-Makefile.patch')
-rw-r--r--openwrt/package/p910nd/patches/100-Makefile.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/openwrt/package/p910nd/patches/100-Makefile.patch b/openwrt/package/p910nd/patches/100-Makefile.patch
new file mode 100644
index 000000000..83b4f6c67
--- /dev/null
+++ b/openwrt/package/p910nd/patches/100-Makefile.patch
@@ -0,0 +1,15 @@
+--- p910nd-0.7/Makefile.orig 2005-09-25 13:54:28.465506888 +0200
++++ p910nd-0.7/Makefile 2005-09-25 13:54:46.928700056 +0200
+@@ -2,9 +2,9 @@
+ # below if you don't want to use libwrap (hosts.{allow,deny} access control)
+
+ # If you don't have it in /var/log/subsys, uncomment and define
+-#CFLAGS+=-DLOCKFILE_DIR=\"/var/log\"
++CFLAGS+=-DLOCKFILE_DIR=\"/tmp\"
+ LIBWRAP=-lwrap
+
+ p910nd: p910nd.c
+-# $(CC) -Wall $(CFLAGS) -o $@ p910nd.c
+- $(CC) -Wall $(CFLAGS) -DUSE_LIBWRAP -o $@ p910nd.c $(LIBWRAP)
++ $(CC) -Wall $(CFLAGS) -o $@ p910nd.c
++# $(CC) -Wall $(CFLAGS) -DUSE_LIBWRAP -o $@ p910nd.c $(LIBWRAP)