Accepting request 212877 from games

- 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.

OBS-URL: https://build.opensuse.org/request/show/212877
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/supertuxkart?expand=0&rev=4
This commit is contained in:
Tomáš Chvátal 2014-01-06 16:46:12 +00:00 committed by Git OBS Bridge
commit 46708e94cb
2 changed files with 11 additions and 1 deletions

View File

@ -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 Tue Nov 26 18:14:30 UTC 2013 - dimstar@opensuse.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package supertuxkart # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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 %prep
%setup -q -n SuperTuxKart-%{version} %setup -q -n SuperTuxKart-%{version}
# If we're building against Mesa 10.0 (gl), then we want to use system glext.h and glxext.h
if pkg-config --atleast-version 10.0 gl; then
cp /usr/include/GL/{glext,glxext}.h lib/irrlicht/source/Irrlicht/
fi
%build %build
# We need an internal version of Irrlicht... # We need an internal version of Irrlicht...