summaryrefslogtreecommitdiff
path: root/recipes/mplayer/files
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-01-13 15:19:33 +0100
committerKoen Kooi <koen@openembedded.org>2010-01-13 15:19:33 +0100
commit507d23ac850f9094c1f006f8de093dd09b248ac3 (patch)
treef347833a1963989bd41766f52d9a38ff49e8519a /recipes/mplayer/files
parent4a10cd2be07e2ca413aef483bac4df157b2c631c (diff)
mplayer: fix build error with EXPR_2F
Diffstat (limited to 'recipes/mplayer/files')
-rw-r--r--recipes/mplayer/files/fix-exp.diff29
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes/mplayer/files/fix-exp.diff b/recipes/mplayer/files/fix-exp.diff
new file mode 100644
index 0000000000..fd7352d6f2
--- /dev/null
+++ b/recipes/mplayer/files/fix-exp.diff
@@ -0,0 +1,29 @@
+Index: configure
+===================================================================
+--- configure (revision 30290)
++++ configure (revision 30291)
+@@ -3006,7 +3006,7 @@
+ fi
+ echores "$_posix4"
+
+-for func in llrint log2 lrint lrintf round roundf truncf; do
++for func in exp2 exp2f llrint log2 log2f lrint lrintf round roundf truncf; do
+ echocheck $func
+ cat > $TMPC << EOF
+ #include <math.h>
+@@ -8682,12 +8682,15 @@
+
+
+ /* system functions */
++$def_exp2
++$def_exp2f
+ $def_gethostbyname2
+ $def_gettimeofday
+ $def_glob
+ $def_langinfo
+ $def_llrint
+ $def_log2
++$def_log2f
+ $def_lrint
+ $def_lrintf
+ $def_map_memalign