Accepting request 85421 from multimedia:apps

- Add schismtracker-link.patch to link with new ld

OBS-URL: https://build.opensuse.org/request/show/85421
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/schismtracker?expand=0&rev=3
This commit is contained in:
Lars Vogdt 2011-10-02 09:14:33 +00:00 committed by Git OBS Bridge
commit 3cc6efac1a
3 changed files with 25 additions and 2 deletions

17
schismtracker-link.diff Normal file
View File

@ -0,0 +1,17 @@
Upstream: http://schismtracker.org/scdev/res/1357.html
---
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: schismtracker/Makefile.am
===================================================================
--- schismtracker.orig/Makefile.am
+++ schismtracker/Makefile.am
@@ -391,5 +391,5 @@ AM_CFLAGS = $(SDL_CFLAGS) $(cflags_alsa)
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

View File

@ -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

View File

@ -20,7 +20,7 @@
Name: schismtracker
Version: 0.20110409
Release: 1
Url: http://schismtracker.org/
URL: http://schismtracker.org/
License: GPL v2 or later
Group: Productivity/Multimedia/Sound/Editors and Convertors
Summary: Music editor that aims to match the look and feel of Impulse Tracker
@ -29,6 +29,7 @@ Source: %name-%version.tar.xz
Source1: %name.desktop
Patch1: schism-alsa.diff
Patch2: schism-nodate.diff
Patch3: schismtracker-link.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: SDL-devel >= 1.2.10
BuildRequires: xorg-x11-devel
@ -46,7 +47,7 @@ bugfixes and changes to improve IT playback.
%prep
%setup -q -n %name
%patch -P 1 -P 2 -p1
%patch -P 1 -P 2 -P 3 -p1
%build
if [ ! -e configure ]; then