summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/mplayer/ivtv_2.6.24.patch
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-10-28 21:09:28 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-10-28 21:09:28 (GMT)
commitc848d1b444b9e03f047830c04f5e1e70183035e9 (patch)
treeff2e83339e0a73ad89a29c4f339045fb7c054952 /abs/extra-testing/mplayer/ivtv_2.6.24.patch
parentc1381a8b3a355c57fca1ce2bfad0e3bf3e32b4ba (diff)
downloadlinhes_pkgbuild-c848d1b444b9e03f047830c04f5e1e70183035e9.zip
linhes_pkgbuild-c848d1b444b9e03f047830c04f5e1e70183035e9.tar.gz
linhes_pkgbuild-c848d1b444b9e03f047830c04f5e1e70183035e9.tar.bz2
move mplayer to testing
Diffstat (limited to 'abs/extra-testing/mplayer/ivtv_2.6.24.patch')
-rw-r--r--abs/extra-testing/mplayer/ivtv_2.6.24.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/abs/extra-testing/mplayer/ivtv_2.6.24.patch b/abs/extra-testing/mplayer/ivtv_2.6.24.patch
new file mode 100644
index 0000000..4e0a3fe
--- /dev/null
+++ b/abs/extra-testing/mplayer/ivtv_2.6.24.patch
@@ -0,0 +1,33 @@
+Patch to account for linux-2.6.24.x including ivtv, but MPlayer won't
+build against it. See this link for more information and the origin
+of the patch:
+http://archives.free.net.ph/message/20080201.201454.1047775e.en.html
+Thanks to Robby Workman for pointing me to this one.
+
+diff -Nur MPlayer-1.0rc2.orig/configure MPlayer-1.0rc2/configure
+--- MPlayer-1.0rc2.orig/configure 2007-10-07 21:49:33.000000000 +0200
++++ MPlayer-1.0rc2/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