Package: ftgl
Severity: important
Version: 2.1.2-2
Tags: patch

Hi,

the current version of ftgl fails to build on GNU/kFreeBSD.

It needs updated config.guess, config.sub and small tweak:


--- ftgl-2.1.2.orig/src/FTVectoriser.cpp
+++ ftgl-2.1.2/src/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__)
+#elif defined( __mips ) || defined( __linux__ ) || defined( 
__FreeBSD_kernel__)  || defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || 
defined( __sun ) || defined (__CYGWIN__)
     typedef GLvoid (*GLUTesselatorFunction)();
 #elif defined ( WIN32)
     typedef GLvoid (CALLBACK *GLUTesselatorFunction)( );


For config.guess and config.sub is needed a version
from this year, which is available in the autotools-dev
packages that are in current sarge, and sid.

You can simply copy them manually, but it can also be done
automatically using the method described in
/usr/share/doc/autotools-dev/README.Debian.gz

It would also be nice if you can ask upstream
to include this changes.

Thanks in advance

                        Petr



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to