Bug#597645: extremetuxracer: FTBFS on hurd-i386: missing GLUTesselatorFunction definition

Pino Toscano pino at kde.org
Tue Sep 21 17:55:40 UTC 2010


Package: src:extremetuxracer
Version: 0.5beta-2
Severity: important
Tags: patch
User: debian-hurd at lists.debian.org
Usertags: hurd

Hi,

currently[1] extremetuxracer/experimental does not compile on GNU/Hurd.

The problem is the missing definition of the GLUTesselatorFunction typedef for
the GNU platform.
The attached patch (modelled after kfreebsd_glutesselator.diff) makes
extremetuxracer compile again.

[1] https://buildd.debian.org/fetch.cgi?pkg=extremetuxracer&arch=hurd-i386&ver=0.5beta-2&stamp=1279675467&file=log&as=raw

Thanks,
-- 
Pino
-------------- next part --------------
Description: Fix FTBFS on GNU/Hurd
Author: Pino Toscano <toscano.pino at tiscali.it>

--- a/src/ppgltk/FT/FTVectoriser.cpp
+++ b/src/ppgltk/FT/FTVectoriser.cpp
@@ -7,7 +7,7 @@
 
 #ifdef __APPLE_CC__    
     typedef GLvoid (*GLUTesselatorFunction)(...);
-#elif defined( __mips ) || defined( __linux__ ) || defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined( __sun ) || defined (__CYGWIN__) || defined (__FreeBSD_kernel__)
+#elif defined( __mips ) || defined( __linux__ ) || defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined( __sun ) || defined (__CYGWIN__) || defined (__FreeBSD_kernel__) || defined (__GNU__)
     typedef GLvoid (*GLUTesselatorFunction)();
 #elif defined ( WIN32)
     typedef GLvoid (CALLBACK *GLUTesselatorFunction)( );


More information about the Pkg-games-devel mailing list