forked from pool/schismtracker
Add patch to workaround flakey "auto" dir creation
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/schismtracker?expand=0&rev=19
This commit is contained in:
parent
3730c20583
commit
417fce5516
29
schism-deptrack.diff
Normal file
29
schism-deptrack.diff
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
---
|
||||||
|
Makefile.am | 1 +
|
||||||
|
configure.ac | 1 +
|
||||||
|
2 files changed, 2 insertions(+)
|
||||||
|
|
||||||
|
Index: schismtracker-20120105/Makefile.am
|
||||||
|
===================================================================
|
||||||
|
--- schismtracker-20120105.orig/Makefile.am
|
||||||
|
+++ schismtracker-20120105/Makefile.am
|
||||||
|
@@ -158,6 +158,7 @@ CLEANFILES = \
|
||||||
|
auto/helptext.c
|
||||||
|
|
||||||
|
auto/default-font.c: Makefile.am scripts/bin2h.sh scripts/build-font.sh $(fonts)
|
||||||
|
+ ${MKDIR_P} auto
|
||||||
|
sh $(srcdir)/scripts/build-font.sh $(srcdir) $(fonts) >$@
|
||||||
|
auto/helptext.c: Makefile.am scripts/genhelp.py $(helptexts)
|
||||||
|
$(PYTHON) $(srcdir)/scripts/genhelp.py $(srcdir) $(helptexts) >$@
|
||||||
|
Index: schismtracker-20120105/configure.ac
|
||||||
|
===================================================================
|
||||||
|
--- schismtracker-20120105.orig/configure.ac
|
||||||
|
+++ schismtracker-20120105/configure.ac
|
||||||
|
@@ -42,6 +42,7 @@ AC_PROG_CPP
|
||||||
|
AC_PROG_INSTALL
|
||||||
|
AC_PROG_LN_S
|
||||||
|
AC_PROG_CC_C99
|
||||||
|
+AC_PROG_MKDIR_P
|
||||||
|
|
||||||
|
dnl Windows poop
|
||||||
|
AC_CHECK_TOOL([WINDRES], [windres])
|
@ -15,6 +15,7 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: schismtracker
|
Name: schismtracker
|
||||||
%define rversion 20120105
|
%define rversion 20120105
|
||||||
Version: 0.%rversion
|
Version: 0.%rversion
|
||||||
@ -28,12 +29,15 @@ Source: %name-%rversion.tar.xz
|
|||||||
Source1: %name.desktop
|
Source1: %name.desktop
|
||||||
Patch1: schism-alsa.diff
|
Patch1: schism-alsa.diff
|
||||||
Patch2: schism-nodate.diff
|
Patch2: schism-nodate.diff
|
||||||
|
Patch3: schism-deptrack.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: SDL-devel >= 1.2.10
|
BuildRequires: SDL-devel >= 1.2.10
|
||||||
BuildRequires: alsa-devel
|
BuildRequires: alsa-devel
|
||||||
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: freeglut-devel
|
BuildRequires: freeglut-devel
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: libtool
|
||||||
BuildRequires: python >= 2.4
|
BuildRequires: python >= 2.4
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
BuildRequires: xorg-x11-devel
|
BuildRequires: xorg-x11-devel
|
||||||
@ -49,14 +53,12 @@ bugfixes and changes to improve IT playback.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -qn %name-%rversion
|
%setup -qn %name-%rversion
|
||||||
%patch -P 1 -P 2 -p1
|
%patch -P 1 -P 2 -P 3 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
if [ ! -e configure ]; then
|
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
fi
|
|
||||||
%configure
|
%configure
|
||||||
make
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%buildroot install
|
make DESTDIR=%buildroot install
|
||||||
|
Loading…
Reference in New Issue
Block a user