From 54556b4d74d7d38d249e5f5c9af1e8d0fcf5aba8b96a0ad69194399eeacf63ed Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 29 Sep 2011 09:43:19 +0000 Subject: [PATCH] Rediff to use -p1 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/schismtracker?expand=0&rev=11 --- schismtracker-link.diff | 15 +++++++++++++++ schismtracker-link.patch | 9 --------- schismtracker.spec | 8 +++----- 3 files changed, 18 insertions(+), 14 deletions(-) create mode 100644 schismtracker-link.diff delete mode 100644 schismtracker-link.patch diff --git a/schismtracker-link.diff b/schismtracker-link.diff new file mode 100644 index 0000000..3656252 --- /dev/null +++ b/schismtracker-link.diff @@ -0,0 +1,15 @@ +--- + 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 + diff --git a/schismtracker-link.patch b/schismtracker-link.patch deleted file mode 100644 index b2203ec..0000000 --- a/schismtracker-link.patch +++ /dev/null @@ -1,9 +0,0 @@ ---- 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.spec b/schismtracker.spec index 80ba7e1..fc69583 100644 --- a/schismtracker.spec +++ b/schismtracker.spec @@ -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,7 +29,7 @@ Source: %name-%version.tar.xz Source1: %name.desktop Patch1: schism-alsa.diff Patch2: schism-nodate.diff -Patch3: schismtracker-link.patch +Patch3: schismtracker-link.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: SDL-devel >= 1.2.10 BuildRequires: xorg-x11-devel @@ -47,9 +47,7 @@ bugfixes and changes to improve IT playback. %prep %setup -q -n %name -%patch1 -p1 -%patch2 -p1 -%patch3 +%patch -P 1 -P 2 -P 3 -p1 %build if [ ! -e configure ]; then