summaryrefslogtreecommitdiff
path: root/packages/mplayer/mplayer-atty-1.1.5/sdl.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/mplayer/mplayer-atty-1.1.5/sdl.patch
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/mplayer/mplayer-atty-1.1.5/sdl.patch')
-rw-r--r--packages/mplayer/mplayer-atty-1.1.5/sdl.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/packages/mplayer/mplayer-atty-1.1.5/sdl.patch b/packages/mplayer/mplayer-atty-1.1.5/sdl.patch
index e69de29bb2..d74c8397b9 100644
--- a/packages/mplayer/mplayer-atty-1.1.5/sdl.patch
+++ b/packages/mplayer/mplayer-atty-1.1.5/sdl.patch
@@ -0,0 +1,41 @@
+--- ./configure.orig 2004-09-24 19:09:56.000000000 +0930
++++ ./configure 2004-09-24 19:22:21.000000000 +0930
+@@ -3554,38 +3554,6 @@
+ #################
+
+
+-echocheck "SDL"
+-if test -z "$_sdlconfig" ; then
+- if ( sdl-config --version ) >>"$TMPLOG" 2>&1 ; then
+- _sdlconfig="sdl-config"
+- elif ( sdl11-config --version ) >>"$TMPLOG" 2>&1 ; then
+- _sdlconfig="sdl11-config"
+- else
+- _sdlconfig=false
+- fi
+-fi
+-if test "$_sdl" = auto || test "$_sdl" = yes ; then
+- cat > $TMPC << EOF
+-#include <SDL.h>
+-int main(int argc, char *argv[]) { return 0; }
+-EOF
+- _sdl=no
+- if "$_sdlconfig" --version >>"$TMPLOG" 2>&1 ; then
+- if cc_check `$_sdlconfig --cflags` `$_sdlconfig --libs` >>"$TMPLOG" 2>&1 ; then
+- _sdlversion=`$_sdlconfig --version | sed 's/[^0-9]//g'`
+- if test "$_sdlversion" -gt 116 ; then
+- if test "$_sdlversion" -lt 121 ; then
+- _def_sdlbuggy='#define BUGGY_SDL'
+- else
+- _def_sdlbuggy='#undef BUGGY_SDL'
+- fi
+- _sdl=yes
+- else
+- _sdl=outdated
+- fi
+- fi
+- fi
+-fi
+ if test "$_sdl" = yes ; then
+ _def_sdl='#define HAVE_SDL 1'
+ if cygwin ; then