SOURCES: motion-inttypes.patch (NEW) the thing is motion include...

glen glen at pld-linux.org
Thu Feb 21 18:42:02 CET 2008


Author: glen                         Date: Thu Feb 21 17:42:02 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
 
the thing is motion includes mjpegtools mjpeg_types.h which would define int64_t etc
but it does it based on HAVE_INTTYPES_H defines, which in motion configure is not set
and motion uses autoconf, and those CHECK_HEADER results are dunno where
/usr/include/mjpegtools/mjpeg_types.h:40: error: conflicting types for 'int64_t'
/usr/include/sys/types.h:198: error: previous declaration of 'int64_t' was here
make: *** [video_common.o] Error 1
error: Bad exit status from /tmp/B.f82d70/rpm-tmp.98697 (%build)

---- Files affected:
SOURCES:
   motion-inttypes.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/motion-inttypes.patch
diff -u /dev/null SOURCES/motion-inttypes.patch:1.1
--- /dev/null	Thu Feb 21 18:42:02 2008
+++ SOURCES/motion-inttypes.patch	Thu Feb 21 18:41:57 2008
@@ -0,0 +1,11 @@
+--- motion-3.2.9/Makefile.in~	2008-02-21 19:26:19.000000000 +0200
++++ motion-3.2.9/Makefile.in	2008-02-21 19:31:34.838584137 +0200
+@@ -32,7 +32,7 @@
+ # install.                                                                     #
+ ################################################################################
+ CFLAGS       = @CFLAGS@ -Wall -DVERSION=\"$(VERSION)\" -D_REENTRANT \
+-	       -Dsysconfdir=\"$(sysconfdir)/motion\"
++	       -Dsysconfdir=\"$(sysconfdir)/motion\" @DEFS@
+ LDFLAGS      = @LDFLAGS@
+ LIBS         = @LIBS@ 
+ VIDEO_OBJ    = @VIDEO@
================================================================


More information about the pld-cvs-commit mailing list