summaryrefslogtreecommitdiffstats
path: root/package/multimedia/mplayer/mplayer-1.0rc1-index.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-11-15 21:33:14 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-11-15 21:33:14 +0000
commit50f2a3981fb5e7988bac4fb231286ae69055458f (patch)
tree6bc7792aa516c5d7b65df8a8bf873d3a37ed4d59 /package/multimedia/mplayer/mplayer-1.0rc1-index.patch
parente7df5afeb9634a0d95499049efb5c4887069290d (diff)
downloadbuildroot-novena-50f2a3981fb5e7988bac4fb231286ae69055458f.tar.gz
buildroot-novena-50f2a3981fb5e7988bac4fb231286ae69055458f.zip
mplayer, vlc: move into multimedia category
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Diffstat (limited to 'package/multimedia/mplayer/mplayer-1.0rc1-index.patch')
-rw-r--r--package/multimedia/mplayer/mplayer-1.0rc1-index.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/multimedia/mplayer/mplayer-1.0rc1-index.patch b/package/multimedia/mplayer/mplayer-1.0rc1-index.patch
new file mode 100644
index 000000000..d1305965b
--- /dev/null
+++ b/package/multimedia/mplayer/mplayer-1.0rc1-index.patch
@@ -0,0 +1,22 @@
+diff -urN MPlayer-1.0rc1-0rig/stream/stream_dvb.c MPlayer-1.0rc1/stream/stream_dvb.c
+--- MPlayer-1.0rc1-0rig/stream/stream_dvb.c 2006-10-23 00:32:25.000000000 +0200
++++ MPlayer-1.0rc1/stream/stream_dvb.c 2007-09-25 08:37:54.000000000 +0200
+@@ -37,9 +37,7 @@
+ #include <sys/poll.h>
+ #include <unistd.h>
+ #include <fcntl.h>
+-#include <string.h>
+ #include <errno.h>
+-#include <fcntl.h>
+
+ #include "stream.h"
+ #include "libmpdemux/demuxer.h"
+@@ -168,7 +166,7 @@
+ if((line[0] == '#') || (strlen(line) == 0))
+ continue;
+
+- colon = index(line, ':');
++ colon = strchr(line, ':');
+ if(colon)
+ {
+ k = colon - line;