diff --git a/audacious-2.2-libm.patch b/audacious-2.2-libm.patch new file mode 100644 index 0000000..d1a3512 --- /dev/null +++ b/audacious-2.2-libm.patch @@ -0,0 +1,11 @@ +diff -Nur audacious-2.2-orig/src/audacious/Makefile audacious-2.2/src/audacious/Makefile +--- audacious-2.2-orig/src/audacious/Makefile 2009-11-22 23:43:47.000000000 +0100 ++++ audacious-2.2/src/audacious/Makefile 2010-02-13 17:38:40.000000000 +0100 +@@ -140,6 +140,7 @@ + -I../libaudcore + + LIBS += ${LDADD} \ ++ -lm \ + -L../libaudcore -laudcore \ + ${LIBINTL} \ + ${SAMPLERATE_LIBS} \ diff --git a/audacious.spec b/audacious.spec index c80f02e..850b7fb 100644 --- a/audacious.spec +++ b/audacious.spec @@ -5,7 +5,7 @@ Name: audacious Version: 2.2 -Release: 10%{?dist} +Release: 11%{?dist} License: GPLv3 Summary: GTK2 based media player similar to XMMS @@ -25,6 +25,8 @@ Patch2: audacious-2.2-pkgconfig-libs.patch Patch3: audacious-2.2-multiple-decoders-per-ext.patch # tuple.c part merged upstream Patch4: audacious-2.2-set_tuple_cb.patch +# +Patch5: audacious-2.2-libm.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -88,6 +90,7 @@ sed -i -e 's!\(build_stamp.*\)UNSUPPORTED VERSION!\1Fedora package!' src/audacio %patch2 -p1 -b .pkgconfig-libs %patch3 -p1 -b .multiple-decoders %patch4 -p1 -b .set_tuple_cb +%patch5 -p1 -b .libm # From .desktop files remove MIME types the base build of the # Fedora audacious-plugins package does not understand. @@ -203,6 +206,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Sat Feb 13 2010 Michael Schwendt - 2.2-11 +- Explicitly link with libm because of: + http://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking + * Thu Jan 28 2010 Michael Schwendt - 2.2-10 - Fix tuple_copy() further (it was completely broken as the mowgli dict wasn't copied at all).