From 281164c4d997b4338e98e19989c1b952b5a5b21e Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Tue, 11 May 2010 19:45:30 +0200 Subject: multimedia/MPlayer: Updated for version 1.0rc2 --- multimedia/MPlayer/ivtv_fix-2.6.24.x.diff | 33 +++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 multimedia/MPlayer/ivtv_fix-2.6.24.x.diff (limited to 'multimedia/MPlayer/ivtv_fix-2.6.24.x.diff') diff --git a/multimedia/MPlayer/ivtv_fix-2.6.24.x.diff b/multimedia/MPlayer/ivtv_fix-2.6.24.x.diff new file mode 100644 index 0000000000..60721f1957 --- /dev/null +++ b/multimedia/MPlayer/ivtv_fix-2.6.24.x.diff @@ -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 + + +diff -Nur MPlayer-1.0rc2.orig/configure MPlayer-1.0rc2/configure +--- MPlayer-1.0rc2.orig/configure 2007-10-07 14:49:33.000000000 -0500 ++++ MPlayer-1.0rc2/configure 2008-03-09 23:38:20.998568493 -0500 +@@ -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 +@@ -4928,7 +4928,13 @@ + #include + #include + #include +-int main(void) { return 0; } ++#include ++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 -- cgit v1.2.3