summaryrefslogtreecommitdiffstats
path: root/MPlayer
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2008-03-10 09:33:54 +0000
committer Eric Hameleers <alien@slackware.com>2008-03-10 09:33:54 +0000
commit5e90a26960610bd77f3f2ff0b6f6b4ea216ed880 (patch)
tree70bad8b48382bd381737ef7e975b71890c6d6039 /MPlayer
parentbfafe4d36461bc5a55ade09cb89fbd853d2fae62 (diff)
downloadasb-5e90a26960610bd77f3f2ff0b6f6b4ea216ed880.tar.gz
asb-5e90a26960610bd77f3f2ff0b6f6b4ea216ed880.tar.xz
Initial revision
Diffstat (limited to 'MPlayer')
-rw-r--r--MPlayer/build/ivtv_2.6.24.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/MPlayer/build/ivtv_2.6.24.patch b/MPlayer/build/ivtv_2.6.24.patch
new file mode 100644
index 00000000..2e721931
--- /dev/null
+++ b/MPlayer/build/ivtv_2.6.24.patch
@@ -0,0 +1,26 @@
+--- configure.orig 2007-10-07 21:49:33.000000000 +0200
++++ configure 2008-03-10 10:27:29.000000000 +0100
+@@ -4920,7 +4920,7 @@
+ echores "$_dxr3"
+
+
+-echocheck "IVTV TV-Out"
++echocheck "IVTV TV-Out (pre linux-2.6.24)"
+ if test "$_ivtv" = auto ; then
+ cat > $TMPC << EOF
+ #include <stdlib.h>
+@@ -4928,7 +4928,13 @@
+ #include <linux/types.h>
+ #include <linux/videodev2.h>
+ #include <linux/ivtv.h>
+-int main(void) { return 0; }
++#include <sys/ioctl.h>
++int main(void) {
++struct ivtv_cfg_stop_decode sd;
++struct ivtv_cfg_start_decode sd1;
++ioctl (0, IVTV_IOC_START_DECODE, &sd1);
++ioctl (0, IVTV_IOC_STOP_DECODE, &sd);
++return 0; }
+ EOF
+ _ivtv=no
+ cc_check && _ivtv=yes