Accepting request 1067854 from games
- Add ultimatestunts-add-pthread.patch, fix building for openSUSE Leap OBS-URL: https://build.opensuse.org/request/show/1067854 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ultimatestunts?expand=0&rev=2
This commit is contained in:
commit
f51ea3be5b
17
ultimatestunts-add-pthread.patch
Normal file
17
ultimatestunts-add-pthread.patch
Normal file
@ -0,0 +1,17 @@
|
||||
From: Carsten Ziepke <kieltux@gmail.com>
|
||||
Date: Sun Feb 26 19:48:30 UTC 2023
|
||||
|
||||
add pthread linking in stuntserver
|
||||
|
||||
diff -Nur ultimatestunts-srcdata-0771-orig/stuntsserver/Makefile.in ultimatestunts-srcdata-0771/stuntsserver/Makefile.in
|
||||
--- ultimatestunts-srcdata-0771-orig/stuntsserver/Makefile.in 2012-08-25 12:06:22.000000000 +0200
|
||||
+++ ultimatestunts-srcdata-0771/stuntsserver/Makefile.in 2023-02-26 20:43:46.248387252 +0100
|
||||
@@ -241,7 +241,7 @@
|
||||
|
||||
|
||||
# the library search path.
|
||||
-ustuntsserver_LDFLAGS = $(all_libraries)
|
||||
+ustuntsserver_LDFLAGS = $(all_libraries) -pthread
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 26 19:48:30 UTC 2023 - Carsten Ziepke <kieltux@gmail.com>
|
||||
|
||||
- Add ultimatestunts-add-pthread.patch, fix building for openSUSE Leap
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 23 16:37:06 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ultimatestunts
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -23,13 +23,13 @@ Summary: A racing game in the style of "Stunts"
|
||||
License: GPL-2.0-or-later
|
||||
Group: Amusements/Games/3D/Race
|
||||
URL: http://ultimatestunts.nl/
|
||||
|
||||
Source: http://downloads.sf.net/ultimatestunts/ultimatestunts-srcdata-0771.tar.gz
|
||||
Patch1: 01-fix-missing-includes.diff
|
||||
Patch2: 02-fix-type-puns.diff
|
||||
Patch3: 03-fix-format-mismatches.diff
|
||||
Patch4: 04-fix-parallel-build-issue.diff
|
||||
Patch5: 05-fix-destdir.diff
|
||||
Patch6: ultimatestunts-add-pthread.patch
|
||||
BuildRequires: bison
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
@ -39,8 +39,8 @@ BuildRequires: pkgconfig(SDL_image)
|
||||
BuildRequires: pkgconfig(freealut)
|
||||
BuildRequires: pkgconfig(gl)
|
||||
BuildRequires: pkgconfig(openal)
|
||||
BuildRequires: pkgconfig(sdl) >= 1.1.0
|
||||
BuildRequires: pkgconfig(vorbisfile) >= 1.0.0
|
||||
BuildRequires: pkgconfig(sdl)
|
||||
BuildRequires: pkgconfig(vorbisfile)
|
||||
Requires: %name-data
|
||||
|
||||
%description
|
||||
@ -81,7 +81,7 @@ your own tracks.
|
||||
%build
|
||||
find . -type d -name .svn -exec rm -Rf "{}" "+"
|
||||
%configure
|
||||
make %{?_smp_mflags} -j1
|
||||
%make_build -j1
|
||||
|
||||
%install
|
||||
%make_install usdatadir="%buildroot/%_datadir/ultimatestunts"
|
||||
|
Loading…
Reference in New Issue
Block a user