fix
OBS-URL: https://build.opensuse.org/package/show/games/supertuxkart?expand=0&rev=33
This commit is contained in:
12
supertuxkart-pthread.patch
Normal file
12
supertuxkart-pthread.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff -ur supertuxkart-0.7.3/configure.ac supertuxkart-0.7.3.patched/configure.ac
|
||||
--- supertuxkart-0.7.3/configure.ac 2011-11-13 23:56:22.000000000 +0100
|
||||
+++ supertuxkart-0.7.3.patched/configure.ac 2011-11-15 10:58:13.235009782 +0100
|
||||
@@ -232,7 +232,7 @@
|
||||
|
||||
case "${host}" in
|
||||
*-*-linux* )
|
||||
- irrlicht_LIBS="-L/$with_irrlicht/lib/Linux -L/$with_irrlicht/lib -lIrrlicht -lX11"
|
||||
+ irrlicht_LIBS="-L/$with_irrlicht/lib/Linux -L/$with_irrlicht/lib -lIrrlicht -lX11 -lpthread"
|
||||
;;
|
||||
*darwin*|*macosx*)
|
||||
irrlicht_LIBS="-L/$with_irrlicht/lib/ -lIrrlicht -framework Cocoa"
|
@@ -20,6 +20,7 @@ Mon Nov 14 21:34:47 UTC 2011 - dimstar@opensuse.org
|
||||
+ Transition track-making to blender 2.5/2.6
|
||||
- Hack in the .spec to drop files that get unintentionally
|
||||
installed (reported to upstream).
|
||||
- Add: supertuxkart-pthread.patch: Link against pthread when.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 27 13:25:09 UTC 2011 - prusnak@opensuse.org
|
||||
|
@@ -27,6 +27,7 @@ Group: Amusements/Games/3D/Race
|
||||
Source: http://download.berlios.de/supertuxkart/%{name}-%{version}-src.tar.bz2
|
||||
# Geeko kart add-on (CC-BY 3.0)
|
||||
Source1: http://stkaddons.net/dl/14e6ba25b17f0d.zip
|
||||
Patch0: supertuxkart-pthread.patch
|
||||
BuildRequires: curl-devel
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
@@ -63,8 +64,10 @@ Data files for SuperTuxKart.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
autoreconf -fi
|
||||
%configure
|
||||
make %{?_smp_fmlags}
|
||||
|
||||
|
Reference in New Issue
Block a user