[oe-commits] Koen Kooi : mplayer: fix build error with EXPR_2F

git version control git at git.openembedded.org
Fri Jan 15 00:17:08 UTC 2010


Module: openembedded.git
Branch: shr/merge
Commit: 507d23ac850f9094c1f006f8de093dd09b248ac3
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=507d23ac850f9094c1f006f8de093dd09b248ac3

Author: Koen Kooi <koen at openembedded.org>
Date:   Wed Jan 13 15:19:33 2010 +0100

mplayer: fix build error with EXPR_2F

---

 recipes/mplayer/files/fix-exp.diff |   29 +++++++++++++++++++++++++++++
 recipes/mplayer/mplayer_svn.bb     |    3 ++-
 2 files changed, 31 insertions(+), 1 deletions(-)

diff --git a/recipes/mplayer/files/fix-exp.diff b/recipes/mplayer/files/fix-exp.diff
new file mode 100644
index 0000000..fd7352d
--- /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
diff --git a/recipes/mplayer/mplayer_svn.bb b/recipes/mplayer/mplayer_svn.bb
index 01951a0..0f21869 100644
--- a/recipes/mplayer/mplayer_svn.bb
+++ b/recipes/mplayer/mplayer_svn.bb
@@ -11,6 +11,7 @@ SRC_URI = "svn://svn.mplayerhq.hu/mplayer;module=trunk \
 	   file://makefile-nostrip-svn.patch;patch=1 \
 	   file://mplayer-arm-pld.patch;patch=1 \
 	   file://mplayer-lavc-arm.patch;patch=1 \
+       file://fix-exp.diff;patch=1;pnum=0;maxrev=30291 \
 	   "
 
 SRCREV = "30247"
@@ -36,7 +37,7 @@ RCONFLICTS_${PN} = "mplayer-atty"
 RREPLACES_${PN} = "mplayer-atty"
 
 PV = "0.0+1.0rc2+svnr${SRCPV}"
-PR = "r15"
+PR = "r16"
 DEFAULT_PREFERENCE = "-1"
 DEFAULT_PREFERENCE_angstrom = "1"
 





More information about the Openembedded-commits mailing list