1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2025-04-21 12:27:27 +03:00

mplayer: use svn versions of mplayer plus mplayer-internal ffmpeg from git

Mplayer project seems to have stopped providing release tarballs and recommends
use of the SVN version.  Package uses revision pinning, so still nice and
deterministic.
This commit is contained in:
David Kühling
2011-04-24 11:00:16 +02:00
parent de21404b0d
commit 6a975d2489
3 changed files with 75 additions and 18 deletions

View File

@@ -0,0 +1,15 @@
Index: MPlayer-r33304/configure
===================================================================
--- MPlayer-r33304.orig/configure 2011-04-23 12:22:47.000000000 +0200
+++ MPlayer-r33304/configure 2011-04-23 12:24:20.000000000 +0200
@@ -3126,6 +3126,10 @@
echocheck $func
eval _$func=no
statement_check math.h "${func}(2.0)" -D_ISOC99_SOURCE $_ld_lm && eval _$func=yes
+# override checks for exp2f/log2f(): those exist in the headers but fail linking
+# (maybe only with -Os?)
+_exp2f=no
+_log2f=no
if eval test "x\$_$func" = "xyes"; then
eval def_$func="\"#define HAVE_$(echo $func | tr '[a-z]' '[A-Z]') 1\""
echores yes