summaryrefslogtreecommitdiff
path: root/openwrt/package/ipcad/patches
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/ipcad/patches')
-rw-r--r--openwrt/package/ipcad/patches/01-honor_cppflags.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/openwrt/package/ipcad/patches/01-honor_cppflags.patch b/openwrt/package/ipcad/patches/01-honor_cppflags.patch
new file mode 100644
index 0000000000..55f9888412
--- /dev/null
+++ b/openwrt/package/ipcad/patches/01-honor_cppflags.patch
@@ -0,0 +1,11 @@
+diff -ruN ipcad-3.7-old/Makefile.in ipcad-3.7-new/Makefile.in
+--- ipcad-3.7-old/Makefile.in 2005-11-21 05:41:07.000000000 +0100
++++ ipcad-3.7-new/Makefile.in 2005-12-20 10:27:07.000000000 +0100
+@@ -9,6 +9,7 @@
+ LDFLAGS+= @LDFLAGS@
+ LIBS+= @LIBS@
+ CFLAGS+= @CFLAGS@ @DEFS@ -W -Wall
++CPPFLAGS+= @CPPFLAGS@
+ CPPFLAGS+=-DIPCAD_VERSION=\"@IPCAD_VERSION@\"
+ CPPFLAGS+=-DCONFIG_FILE=\"${sysconfdir}/ipcad.conf\"
+ CPPFLAGS+=@DEFS@ -D_REENTRANT -D_THREAD_SAFE