diff --git a/schismtracker-link.patch b/schismtracker-link.patch new file mode 100644 index 0000000..b2203ec --- /dev/null +++ b/schismtracker-link.patch @@ -0,0 +1,9 @@ +--- Makefile.am 2011-04-09 03:19:16.000000000 +0200 ++++ Makefile.am 2011-09-29 11:05:53.551173156 +0200 +@@ -391,5 +391,5 @@ + AM_OBJCFLAGS = $(AM_CFLAGS) + + schismtracker_DEPENDENCIES = $(files_windres) +-schismtracker_LDADD = $(lib_asound) $(lib_win32) $(SDL_LIBS) $(LIBM) ++schismtracker_LDADD = $(lib_asound) $(lib_win32) $(SDL_LIBS) $(LIBM) -ldl + diff --git a/schismtracker.changes b/schismtracker.changes index fa5e654..0065309 100644 --- a/schismtracker.changes +++ b/schismtracker.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Sep 29 09:06:55 UTC 2011 - idonmez@suse.com + +- Add schismtracker-link.patch to link with new ld + ------------------------------------------------------------------- Sat Apr 9 01:39:48 UTC 2011 - jengelh@medozas.de diff --git a/schismtracker.spec b/schismtracker.spec index 8eeed0e..80ba7e1 100644 --- a/schismtracker.spec +++ b/schismtracker.spec @@ -29,6 +29,7 @@ Source: %name-%version.tar.xz Source1: %name.desktop Patch1: schism-alsa.diff Patch2: schism-nodate.diff +Patch3: schismtracker-link.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: SDL-devel >= 1.2.10 BuildRequires: xorg-x11-devel @@ -46,7 +47,9 @@ bugfixes and changes to improve IT playback. %prep %setup -q -n %name -%patch -P 1 -P 2 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 %build if [ ! -e configure ]; then