[packages] motion: update to v3.2.11.1, add dependency on libpthread, cleanup
[openwrt/svn-archive/archive.git] / multimedia / motion / patches / 002-honor_cppflags.patch
index 322fb772d35f677d857ca673db60a5f7f5e1c646..ac10f1e9c787ae0f23e0915c44c41fa7b0bcad7e 100644 (file)
@@ -1,15 +1,14 @@
-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 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -31,6 +31,7 @@ examplesdir = $(datadir)/@PACKAGE_NAME@-
+ # install.                                                                     #
  ################################################################################
  ################################################################################
- CFLAGS       = @CFLAGS@ -Wall -DVERSION=\"$(VERSION)\" -D_REENTRANT \
-              -Dsysconfdir=\"$(sysconfdir)\"
+ CFLAGS       = @CFLAGS@ -Wall -DVERSION=\"@PACKAGE_VERSION@\" -Dsysconfdir=\"$(sysconfdir)\" 
 +CPPFLAGS     = @CPPFLAGS@
  LDFLAGS      = @LDFLAGS@
  LIBS         = @LIBS@ 
  VIDEO_OBJ    = @VIDEO@
 +CPPFLAGS     = @CPPFLAGS@
  LDFLAGS      = @LDFLAGS@
  LIBS         = @LIBS@ 
  VIDEO_OBJ    = @VIDEO@
-@@ -115,7 +116,7 @@
+@@ -118,7 +119,7 @@ endif
  ################################################################################
  $(DEPEND_FILE): *.h $(SRC)
        @echo "Generating dependencies, please wait..."
  ################################################################################
  $(DEPEND_FILE): *.h $(SRC)
        @echo "Generating dependencies, please wait..."