summaryrefslogtreecommitdiffstats
path: root/recipes/mplayer/mplayer-0.0+1.0rc2
diff options
context:
space:
mode:
authorThomas Zimmermann <zimmermann@vdm-design.de>2009-10-16 21:24:02 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2009-11-19 09:14:31 +0100
commit26bb9d71306bb1011cdeb50e3911970828a35cd8 (patch)
tree613eb0b42bd47c6b3f22420f45dfc0d865612f8c /recipes/mplayer/mplayer-0.0+1.0rc2
parent64931fdf4e2c29ab6b9a9ad520148bed6ef8cb24 (diff)
downloadopenembedded-26bb9d71306bb1011cdeb50e3911970828a35cd8.tar.gz
shr/merge: mplayer: fix ivtv build problem
Signed-off-by: Klaus Kurzmann <mok@fluxnetz.de>
Diffstat (limited to 'recipes/mplayer/mplayer-0.0+1.0rc2')
-rw-r--r--recipes/mplayer/mplayer-0.0+1.0rc2/ivtv-fix.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes/mplayer/mplayer-0.0+1.0rc2/ivtv-fix.patch b/recipes/mplayer/mplayer-0.0+1.0rc2/ivtv-fix.patch
new file mode 100644
index 0000000000..25635bc5c6
--- /dev/null
+++ b/recipes/mplayer/mplayer-0.0+1.0rc2/ivtv-fix.patch
@@ -0,0 +1,26 @@
+--- MPlayer-1.0rc2/configure~ 2009-10-17 00:08:35.000000000 +0200
++++ MPlayer-1.0rc2/configure 2009-10-17 00:08:35.000000000 +0200
+@@ -4965,7 +4965,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>
+@@ -4973,7 +4973,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