diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2012-07-27 10:45:02 +0200 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2012-07-27 10:45:02 +0200 |
commit | 42dd254f5937274f164a5a7c5fb3c1f80e38e7af (patch) | |
tree | 9d2f1aa0333e04af8493d6a5f533b6e243bf5d2b /package/motion/patches/patch-config_h | |
parent | 7f0a66667a815bb8e28b4c8b93666b92a667b485 (diff) |
full build on Darwin fixes
Diffstat (limited to 'package/motion/patches/patch-config_h')
-rw-r--r-- | package/motion/patches/patch-config_h | 33 |
1 files changed, 33 insertions, 0 deletions
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 <linux/videodev.h> header file. */ +-#define HAVE_LINUX_VIDEODEV_H 1 ++/* #undef HAVE_LINUX_VIDEODEV_H */ + + /* Define to 1 if you have the <memory.h> 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 |