From 42dd254f5937274f164a5a7c5fb3c1f80e38e7af Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 27 Jul 2012 10:45:02 +0200 Subject: full build on Darwin fixes --- package/motion/patches/patch-config_h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 package/motion/patches/patch-config_h (limited to 'package/motion/patches/patch-config_h') diff --git a/package/motion/patches/patch-config_h b/package/motion/patches/patch-config_h new file mode 100644 index 000000000..7c6d32ce8 --- /dev/null +++ b/package/motion/patches/patch-config_h @@ -0,0 +1,33 @@ +--- motion-4.0.orig/config.h 2011-09-18 22:49:29.000000000 +0200 ++++ motion-4.0/config.h 2012-07-25 14:54:50.000000000 +0200 +@@ -14,7 +14,7 @@ + #define HAVE_LINUX_VIDEODEV2_H 1 + + /* Define to 1 if you have the header file. */ +-#define HAVE_LINUX_VIDEODEV_H 1 ++/* #undef HAVE_LINUX_VIDEODEV_H */ + + /* Define to 1 if you have the header file. */ + #define HAVE_MEMORY_H 1 +@@ -89,10 +89,10 @@ + #define SIZEOF_INT 4 + + /* The size of `int *', as computed by sizeof. */ +-#define SIZEOF_INT_P 8 ++#define SIZEOF_INT_P 4 + + /* The size of `long int', as computed by sizeof. */ +-#define SIZEOF_LONG_INT 8 ++#define SIZEOF_LONG_INT 4 + + /* The size of `long long', as computed by sizeof. */ + #define SIZEOF_LONG_LONG 8 +@@ -101,7 +101,7 @@ + #define SIZEOF_SHORT 2 + + /* The size of `void *', as computed by sizeof. */ +-#define SIZEOF_VOID_P 8 ++#define SIZEOF_VOID_P 4 + + /* Define to 1 if you have the ANSI C header files. */ + #define STDC_HEADERS 1 -- cgit v1.2.3