1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-12-01 21:41:32 +02:00
openwrt-packages/mplayer/patches/005-configure.patch
David Kühling 6a975d2489 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.
2011-04-24 11:00:16 +02:00

16 lines
634 B
Diff

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