diff --git a/muse-glibc212.patch b/muse-glibc212.patch new file mode 100644 index 0000000..7330f12 --- /dev/null +++ b/muse-glibc212.patch @@ -0,0 +1,11 @@ +diff -rupN muse-1.0.1.old/muse/dssihost.cpp muse-1.0.1/muse/dssihost.cpp +--- muse-1.0.1.old/muse/dssihost.cpp 2010-01-12 14:23:15.000000000 -0500 ++++ muse-1.0.1/muse/dssihost.cpp 2010-02-06 20:58:42.000000000 -0500 +@@ -28,6 +28,7 @@ + #include + #include + #include ++#include + //#include + //#include + #include diff --git a/muse.spec b/muse.spec index d699121..8b0842d 100644 --- a/muse.spec +++ b/muse.spec @@ -20,6 +20,8 @@ Source0: http://downloads.sourceforge.net/project/lmuse/%{name}-1.0/%{name # http://sourceforge.net/mailarchive/forum.php?forum_name=lmuse-developer # Compilation of sse bits fail on x86_64. This file fixes the problem Source1: sse_functions_64bit.s +# Fix Compilation against glibc-2.12 +Patch0: muse-glibc212.patch # Add missing condition on an #if to make the sse optimization effective Patch1: muse-x86_64-sse.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -54,6 +56,7 @@ for Linux. %prep %setup -q +%patch0 -p1 %patch1 -p1 # Fix encoding issues (upstream is informed):