summaryrefslogtreecommitdiff
path: root/openwrt/package/motion/patches/02-honor_cppflags.patch
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2006-03-27 20:36:45 +0000
committerNicolas Thill <nico@openwrt.org>2006-03-27 20:36:45 +0000
commit2e2da1e712db2cb0599de1e5a7b66a34d12b8d4d (patch)
tree2cb5eb8b527e7746fd06822a1fb8867ddd97600b /openwrt/package/motion/patches/02-honor_cppflags.patch
parent9338ea80b3c47759869be9f6ee434383324cd99a (diff)
downloadmtk-20170518-2e2da1e712db2cb0599de1e5a7b66a34d12b8d4d.zip
mtk-20170518-2e2da1e712db2cb0599de1e5a7b66a34d12b8d4d.tar.gz
mtk-20170518-2e2da1e712db2cb0599de1e5a7b66a34d12b8d4d.tar.bz2
update motion package, add a patch to honor CPPFLAGS, explicitely remove database support, add MD5SUMS, add dependency on libpthread in ipkg/control file, standardize.
SVN-Revision: 3509
Diffstat (limited to 'openwrt/package/motion/patches/02-honor_cppflags.patch')
-rw-r--r--openwrt/package/motion/patches/02-honor_cppflags.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/openwrt/package/motion/patches/02-honor_cppflags.patch b/openwrt/package/motion/patches/02-honor_cppflags.patch
new file mode 100644
index 0000000..322fb77
--- /dev/null
+++ b/openwrt/package/motion/patches/02-honor_cppflags.patch
@@ -0,0 +1,20 @@
+diff -ruN motion-3.2.5.1-old/Makefile.in motion-3.2.5.1-new/Makefile.in
+--- motion-3.2.5.1-old/Makefile.in 2006-03-07 22:52:49.000000000 +0100
++++ motion-3.2.5.1-new/Makefile.in 2006-03-27 22:04:34.000000000 +0200
+@@ -32,6 +32,7 @@
+ ################################################################################
+ CFLAGS = @CFLAGS@ -Wall -DVERSION=\"$(VERSION)\" -D_REENTRANT \
+ -Dsysconfdir=\"$(sysconfdir)\"
++CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
+ VIDEO_OBJ = @VIDEO@
+@@ -115,7 +116,7 @@
+ ################################################################################
+ $(DEPEND_FILE): *.h $(SRC)
+ @echo "Generating dependencies, please wait..."
+- @$(CC) $(CFLAGS) -M $(SRC) > .tmp
++ @$(CC) $(CFLAGS) $(CPPFLAGS) -M $(SRC) > .tmp
+ @mv -f .tmp $(DEPEND_FILE)
+ @echo
+