Package: cimg Version: 1.0.9-1 Severity: normal Tags: patch When building 'cimg' on ppc64/unstable, I get the following error:
** Compiling 'CImg_test' with 'gcc version 4.0.1 (Debian 4.0.1-2.0.0.1.gcc4)' g++ -o CImg_test CImg_test.cpp -Wall -ansi -pedantic -ffast-math -I/usr/X11R6/include -lm -lpthread -lX11 -L/usr/X11R6/lib In file included from CImg_test.cpp:37: ../CImg.h:105:21: error: windows.h: No such file or directory CImg_test.cpp: In function 'int main()': CImg_test.cpp:102: error: 'keyQ' is not a member of 'cimg_library::cimg' CImg_test.cpp:102: error: 'keyESC' is not a member of 'cimg_library::cimg' With the attached patch 'cimg' can be compiled on ppc64. Regards Andreas Jochens diff -urN ../tmp-orig/cimg-1.0.9/CImg.h ./CImg.h --- ../tmp-orig/cimg-1.0.9/CImg.h 2005-07-04 07:52:23.000000000 +0000 +++ ./CImg.h 2005-07-20 14:39:44.000000000 +0000 @@ -61,7 +61,7 @@ -------------------------------------------------------------*/ #ifndef cimg_OS -#if defined(sun) || defined(__sun) || defined(linux) || defined(__linux) \ +#if defined(sun) || defined(__sun) || defined(__linux__) || defined(__linux) \ || defined(__CYGWIN__) || defined(__FreeBSD__) || defined(__OPENBSD__) || defined(__MACOSX__) \ || defined(__APPLE__) || defined(sgi) || defined(__sgi) // Unix (Linux,Solaris,BSD,Irix,...) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]