diff --git a/amarok-1.2.4-gcc4bl.patch b/amarok-1.2.4-gcc4bl.patch new file mode 100644 index 0000000..323ee7b --- /dev/null +++ b/amarok-1.2.4-gcc4bl.patch @@ -0,0 +1,11 @@ +--- amarok-1.2.4/configure.gcc4bl 2005-05-19 19:02:45.000000000 +0200 ++++ amarok-1.2.4/configure 2005-05-29 08:44:18.000000000 +0200 +@@ -4120,7 +4120,7 @@ + + #ifdef __GNUC__ + #if __GNUC__ == 4 && __GNUC_MINOR__ == 0 && __GNUC_PATCHLEVEL__ == 0 +-choke me ++//choke me + #endif + #endif + diff --git a/amarok.spec b/amarok.spec index e6ad2d5..6c630fb 100644 --- a/amarok.spec +++ b/amarok.spec @@ -13,6 +13,7 @@ Group: Applications/Multimedia License: GPL Url: http://amarok.kde.org Source0: http://dl.sf.net/amarok/amarok-1.2.4.tar.bz2 +Patch0: amarok-1.2.4-gcc4bl.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: kdemultimedia-devel >= 6:3.2 @@ -90,6 +91,8 @@ enables it %prep %setup -q +# remove test for GCC blacklisting +%patch0 -p1 -b .gcc4bl %build