diff options
Diffstat (limited to 'debian/patches/drop_asm_types_h_kfreebsd')
-rw-r--r-- | debian/patches/drop_asm_types_h_kfreebsd | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/patches/drop_asm_types_h_kfreebsd b/debian/patches/drop_asm_types_h_kfreebsd new file mode 100644 index 0000000..cc2e9d4 --- /dev/null +++ b/debian/patches/drop_asm_types_h_kfreebsd @@ -0,0 +1,25 @@ +Description: Fix FTBFS on kfreebsd +Author: Nobuhiro Iwamatsu <iwamatsu@debian.org> +Forwarded: no +Last-Update: <2013-08-07> + +--- a/modules/highgui/src/cap_libv4l.cpp ++++ b/modules/highgui/src/cap_libv4l.cpp +@@ -237,15 +237,16 @@ make & enjoy! + #include <sys/mman.h> + #include <string.h> + #include <stdlib.h> +-#include <asm/types.h> /* for videodev2.h */ + #include <assert.h> + #include <sys/stat.h> + #include <sys/ioctl.h> + + #ifdef HAVE_CAMV4L ++#include <asm/types.h> /* for videodev2.h */ + #include <linux/videodev.h> + #endif + #ifdef HAVE_CAMV4L2 ++#include <asm/types.h> /* for videodev2.h */ + #include <linux/videodev2.h> + #endif + |