]> git.pld-linux.org Git - packages/tuxracer.git/commitdiff
- rel 13; fix build master auto/th/tuxracer-0.61-13
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 3 Jun 2014 18:48:00 +0000 (20:48 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 3 Jun 2014 18:48:00 +0000 (20:48 +0200)
tuxracer-build.patch [new file with mode: 0644]
tuxracer.spec

diff --git a/tuxracer-build.patch b/tuxracer-build.patch
new file mode 100644 (file)
index 0000000..4aa7214
--- /dev/null
@@ -0,0 +1,11 @@
+--- tuxracer-0.61/configure.in~        2001-01-16 16:26:29.000000000 +0100
++++ tuxracer-0.61/configure.in 2014-06-03 20:42:56.881012967 +0200
+@@ -479,7 +479,7 @@
+ fi
+ dnl Check for glext.h 
+-AC_CHECK_HEADERS( "GL/glext.h", have_glext_h=yes, have_glext_h=no )
++AC_CHECK_HEADERS( "GL/glext.h", have_glext_h=yes, have_glext_h=no, [#include <GL/gl.h>] )
+ if test "x$have_glext_h" = "xno" ; then
+     AC_MSG_ERROR([
index 4eeebdf40ee6f75964e16d472dce2b1bdf0037e8..6151288a255e1af7afc152967f7369a03e9a6be4 100644 (file)
@@ -4,7 +4,7 @@ Summary(pt_BR.UTF-8):   Corra montanha abaixo com o Tux!
 Summary(de.UTF-8):     Tux Racer ist ein 3D-Computerspiel
 Name:          tuxracer
 Version:       0.61
-Release:       12
+Release:       13
 License:       GPL
 Group:         X11/Applications/Games
 Source0:       http://dl.sourceforge.net/tuxracer/%{name}-%{version}.tar.gz
@@ -16,6 +16,7 @@ Source2:      http://brcha.free.fr/data/projects/RoadsOfSerbia/RoadsOfSerbia.tar.bz2
 Source3:       %{name}.desktop
 Source4:       %{name}.png
 Patch0:                %{name}-gcc33.patch
+Patch1:                %{name}-build.patch
 URL:           http://tuxracer.sourceforge.net/
 BuildRequires: OpenGL-GLU-devel
 BuildRequires: SDL-devel
@@ -56,6 +57,7 @@ Heringe gesammelt werden.
 %prep
 %setup -q -a1 -a2
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__aclocal}
This page took 0.102404 seconds and 4 git commands to generate.