summaryrefslogtreecommitdiff
path: root/multimedia/mplayer2/files/extra-patch-base_system_log2f
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2012-10-24 16:32:17 +0000
committerChris Rees <crees@FreeBSD.org>2012-10-24 16:32:17 +0000
commite60f4e63a51818bc5268d4d508ff180070b4731f (patch)
treeaaabd96a25061773bbc6f4b525e6d74b65344273 /multimedia/mplayer2/files/extra-patch-base_system_log2f
parent- Update to 0.4.0 (diff)
MPlayer2 is an advanced general-purpose video player.
A fork of the original MPlayer project, it contains significant further development and supports a number of features not available in other Unix players. WWW: http://www.mplayer2.org/ PR: ports/163438 Submitted by: Grzegorz Blach <magik@roorback.net> Feature safe: yes
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"