summaryrefslogtreecommitdiff
path: root/multimedia/mplayer2/files/extra-patch-base_system_log2f
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mplayer2/files/extra-patch-base_system_log2f')
-rw-r--r--multimedia/mplayer2/files/extra-patch-base_system_log2f21
1 files changed, 21 insertions, 0 deletions
diff --git a/multimedia/mplayer2/files/extra-patch-base_system_log2f b/multimedia/mplayer2/files/extra-patch-base_system_log2f
new file mode 100644
index 000000000000..b149c29ce690
--- /dev/null
+++ b/multimedia/mplayer2/files/extra-patch-base_system_log2f
@@ -0,0 +1,21 @@
+--- configure~ 2012-05-12 01:10:33.294799627 -0500
++++ configure 2012-05-12 01:13:51.714477505 -0500
+@@ -2819,7 +2819,7 @@ if test "$_posix4" = yes ; then
+ fi
+ echores "$_posix4"
+
+-for func in exp2 exp2f llrint log2 log2f lrint lrintf round roundf truncf; do
++for func in exp2 exp2f llrint lrint lrintf round roundf truncf; do
+ echocheck $func
+ eval _$func=no
+ statement_check math.h "${func}(2.0)" -D_ISOC99_SOURCE $_ld_lm && eval _$func=yes
+@@ -2831,6 +2831,9 @@ else
+ echores no
+ fi
+ done
++for func in log2 log2f; do
++ eval def_$func="\"#define HAVE_$(echo $func | tr '[a-z]' '[A-Z]') 0\""
++done
+
+
+ echocheck "mkstemp"