Package: criticalmass
Version: 1:0.9.12-2
Severity: serious
Tags: patch

>From 
>http://buildd.debian.org/fetch.php?&pkg=kdebindings&ver=4%3A3.4.2-2&arch=alpha&stamp=1129937211&file=log&as=raw

Making all in utilsgl
make[3]: Entering directory `/build/buildd/criticalmass-0.9.12/utilsgl'
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../utils -I../utilssdl    -W -Wall 
-fno-exceptions -O2 -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include -c -o 
GLBitmapCollection.o GLBitmapCollection.cpp
./gl++.hpp:35: error: conflicting declaration 'typedef int GLintptrARB'
/usr/X11R6/include/GL/glext.h:2861: error: 'GLintptrARB' has a previous 
declaration as 'typedef ptrdiff_t GLintptrARB'
./gl++.hpp:36: error: conflicting declaration 'typedef int GLsizeiptrARB'
/usr/X11R6/include/GL/glext.h:2862: error: 'GLsizeiptrARB' has a previous 
declaration as 'typedef ptrdiff_t GLsizeiptrARB'
make[3]: *** [GLBitmapCollection.o] Error 1
make[3]: Leaving directory `/build/buildd/criticalmass-0.9.12/utilsgl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/buildd/criticalmass-0.9.12'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/buildd/criticalmass-0.9.12'
make: *** [build-stamp] Error 2

The following patch seems to fix that:
diff -Naur criticalmass-0.9.12/utilsgl/gl++.hpp 
criticalmass-0.9.12-test/utilsgl/gl++.hpp
--- criticalmass-0.9.12/utilsgl/gl++.hpp        2004-12-18 02:41:34.000000000 
+0000
+++ criticalmass-0.9.12-test/utilsgl/gl++.hpp   2005-10-22 00:18:23.000000000 
+0000
@@ -28,7 +28,7 @@
 # if defined(_WIN64)
        typedef __int64 GLintptrARB;
        typedef __int64 GLsizeiptrARB;
-# elif defined(__ia64__) || defined(__x86_64__)
+# elif defined(__ia64__) || defined(__x86_64__) || defined(__alpha__)
        typedef long int GLintptrARB;
        typedef long int GLsizeiptrARB;
 # else

Gruesse,
        Frank Lichtenheld

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-k7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)


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

Reply via email to