summaryrefslogtreecommitdiffstats
path: root/package/multimedia/ffmpeg/ffmpeg-sdlconfig.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/multimedia/ffmpeg/ffmpeg-sdlconfig.patch')
-rw-r--r--package/multimedia/ffmpeg/ffmpeg-sdlconfig.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/multimedia/ffmpeg/ffmpeg-sdlconfig.patch b/package/multimedia/ffmpeg/ffmpeg-sdlconfig.patch
new file mode 100644
index 000000000..de2c004c6
--- /dev/null
+++ b/package/multimedia/ffmpeg/ffmpeg-sdlconfig.patch
@@ -0,0 +1,17 @@
+We need to pass the location sdl-config so that ffmpeg picks it up.
+So just pass the whole string to make things simpler.
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+
+diff -Nura ffmpeg-0.6.1/configure ffmpeg-0.6.1.sdl/configure
+--- ffmpeg-0.6.1/configure 2010-06-15 16:44:30.000000000 -0300
++++ ffmpeg-0.6.1.sdl/configure 2011-02-25 17:13:12.979168176 -0300
+@@ -2640,7 +2640,7 @@
+ die "ERROR: No version of libdc1394 found "
+ fi
+
+-SDL_CONFIG="${cross_prefix}sdl-config"
++SDL_CONFIG="${SDL_CONFIG}"
+ if "${SDL_CONFIG}" --version > /dev/null 2>&1; then
+ sdl_cflags=$("${SDL_CONFIG}" --cflags)
+ sdl_libs=$("${SDL_CONFIG}" --libs)