Root/mplayer/patches/005-configure.patch

Source at commit 1b3135c created 8 years 3 months ago.
By Xiangfu Liu, new package: SDL-widgets: a GUI toolkit on top of the SDL libraries
1Index: MPlayer-r33304/configure
2===================================================================
3--- MPlayer-r33304.orig/configure 2011-04-23 12:22:47.000000000 +0200
4+++ MPlayer-r33304/configure 2011-04-23 12:24:20.000000000 +0200
5@@ -3126,6 +3126,10 @@
6 echocheck $func
7 eval _$func=no
8 statement_check math.h "${func}(2.0)" -D_ISOC99_SOURCE $_ld_lm && eval _$func=yes
9+# override checks for exp2f/log2f(): those exist in the headers but fail linking
10+# (maybe only with -Os?)
11+_exp2f=no
12+_log2f=no
13 if eval test "x\$_$func" = "xyes"; then
14   eval def_$func="\"#define HAVE_$(echo $func | tr '[a-z]' '[A-Z]') 1\""
15   echores yes
16

Archive Download this file



interactive