summaryrefslogtreecommitdiff
path: root/package/ipcad/patches/01-honor_cppflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/ipcad/patches/01-honor_cppflags.patch')
-rw-r--r--package/ipcad/patches/01-honor_cppflags.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/ipcad/patches/01-honor_cppflags.patch b/package/ipcad/patches/01-honor_cppflags.patch
new file mode 100644
index 0000000000..55f9888412
--- /dev/null
+++ b/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