diff options
author | James Meyer <james.meyer@operamail.com> | 2011-08-06 05:21:27 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2011-08-06 05:21:27 (GMT) |
commit | 7a18aa65cbe27c5213df0f2642e381bc0a2d5e03 (patch) | |
tree | 6b8206f2ee5f9bdd0950c276bbad5685c203dbb4 /abs/extra/community/zvbi/fix-includes.patch | |
parent | fd8ebb392cd04e7c59ae0dd696d93f0ef509b89c (diff) | |
parent | 5b37c394102e30e4751fd925dae8c299bc4432df (diff) | |
download | linhes_pkgbuild-7a18aa65cbe27c5213df0f2642e381bc0a2d5e03.zip linhes_pkgbuild-7a18aa65cbe27c5213df0f2642e381bc0a2d5e03.tar.gz linhes_pkgbuild-7a18aa65cbe27c5213df0f2642e381bc0a2d5e03.tar.bz2 |
Merge branch 'testing' of ssh://jams@linhes.org/mount/repository/linhes_pkgbuild into testing
Diffstat (limited to 'abs/extra/community/zvbi/fix-includes.patch')
-rw-r--r-- | abs/extra/community/zvbi/fix-includes.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/abs/extra/community/zvbi/fix-includes.patch b/abs/extra/community/zvbi/fix-includes.patch new file mode 100644 index 0000000..2825264 --- /dev/null +++ b/abs/extra/community/zvbi/fix-includes.patch @@ -0,0 +1,36 @@ +Add proper #includes so that we do not get undef errors to S_ISCHR +during linking. + +Signed-off-by: Alex Chiang <achiang@canonical.com> +--- +--- zvbi-0.2.33.orig/src/io-dvb.c ++++ zvbi-0.2.33/src/io-dvb.c +@@ -29,6 +29,8 @@ + #include <errno.h> + #include <sys/select.h> + #include <sys/ioctl.h> ++#include <sys/types.h> ++#include <sys/stat.h> + + #ifndef HAVE_S64_U64 + /* Linux 2.6.x asm/types.h defines __s64 and __u64 only +--- zvbi-0.2.33.orig/src/io-v4l.c ++++ zvbi-0.2.33/src/io-v4l.c +@@ -42,6 +42,7 @@ static const char rcsid [] = + #include <assert.h> + #include <sys/time.h> /* timeval */ + #include <sys/types.h> /* fd_set, uid_t */ ++#include <sys/stat.h> /* S_ISCHR */ + #include <sys/ioctl.h> /* for (_)videodev.h */ + #include <pthread.h> + +--- zvbi-0.2.33.orig/contrib/ntsc-cc.c ++++ zvbi-0.2.33/contrib/ntsc-cc.c +@@ -34,6 +34,7 @@ + #include <locale.h> + #include <sys/ioctl.h> + #include <sys/types.h> ++#include <sys/stat.h> + #include <sys/time.h> + #ifdef HAVE_GETOPT_LONG + # include <getopt.h> |