Fix build with Mesa 10.0
OBS-URL: https://build.opensuse.org/package/show/games/supertuxkart?expand=0&rev=51
This commit is contained in:
parent
f126c63c8d
commit
b5fa433e0d
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 5 21:48:02 UTC 2014 - dimstar@opensuse.org
|
||||
|
||||
- Use Mesa provided glext.h and glxext.h When building against
|
||||
Mesa 10.0. The needed fixes (and more) are part of Mesa by now.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 26 18:14:30 UTC 2013 - dimstar@opensuse.org
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package supertuxkart
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -68,6 +68,10 @@ Data files for SuperTuxKart a Free 3d kart racing game.
|
||||
|
||||
%prep
|
||||
%setup -q -n SuperTuxKart-%{version}
|
||||
# If we're building against Mesa 10.0 (dri), then we want to use system glext.h and glxext.h
|
||||
if pkg-config --atleast-version 10.0 dri; then
|
||||
cp /usr/include/GL/{glext,glxext}.h lib/irrlicht/source/Irrlicht/
|
||||
fi
|
||||
|
||||
%build
|
||||
# We need an internal version of Irrlicht...
|
||||
|
Loading…
x
Reference in New Issue
Block a user