From c62a07be15eb71063daf26fbec6cb1cad89f7481 Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Tue, 25 Sep 2007 11:56:34 +0000 Subject: [PATCH] Fix LEGACY dependencies for mplayer --- package/mplayer/mplayer-1.0rc1-index.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 package/mplayer/mplayer-1.0rc1-index.patch diff --git a/package/mplayer/mplayer-1.0rc1-index.patch b/package/mplayer/mplayer-1.0rc1-index.patch new file mode 100644 index 0000000000..d1305965b4 --- /dev/null +++ b/package/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 + #include + #include +-#include + #include +-#include + + #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; -- 2.30.2