Package: paintlib
Version: 2.6.2-2
Severity: important
Tags: patch
Your package fails to build with G++ 4.1. I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.
A patch is below.
> Automatic build of paintlib_2.6.2-2 on bigsur by sbuild/mips 1.80
...
> g++ -DHAVE_CONFIG_H -I. -I. -I. -I../common/Filter -I../gnu/libtiff -g -Wall
> -O2 -MT planydec.lo -MD -MP -MF .deps/planydec.Tpo -c planydec.cpp -fPIC
> -DPIC -o .libs/planydec.o
> plpngdec.h:55: error: extra qualification 'PLPNGDecoder::' on member
> 'user_error_fn'
> plpngdec.h:60: error: extra qualification 'PLPNGDecoder::' on member
> 'user_warning_fn'
> plpgmdec.h:78: error: extra qualification 'PLPGMDecoder::' on member
> 'readASCIIPixel8'
> plppmdec.h:84: error: extra qualification 'PLPPMDecoder::' on member
> 'readASCIIPixel32'
> make[4]: *** [planydec.lo] Error 1
diff -urN orig-paintlib-2.6.2/common/plpgmdec.h paintlib-2.6.2/common/plpgmdec.h
--- orig-paintlib-2.6.2/common/plpgmdec.h 2006-03-09 17:59:53.000000000
+0000
+++ paintlib-2.6.2/common/plpgmdec.h 2004-06-20 13:14:36.000000000 +0000
@@ -72,7 +72,7 @@
PLDataSource * pDataSrc
);
- PLBYTE readASCIIPixel8
+ PLBYTE PLPGMDecoder::readASCIIPixel8
( int MaxGrayValue,
PLDataSource * pDataSrc
);
diff -urN orig-paintlib-2.6.2/common/plpngdec.h paintlib-2.6.2/common/plpngdec.h
--- orig-paintlib-2.6.2/common/plpngdec.h 2006-03-09 17:59:55.000000000
+0000
+++ paintlib-2.6.2/common/plpngdec.h 2004-06-20 13:14:37.000000000 +0000
@@ -49,12 +49,12 @@
private:
- static void user_error_fn
+ static void PLPNGDecoder::user_error_fn
( png_structp png_ptr,
png_const_charp error_msg
);
- static void user_warning_fn
+ static void PLPNGDecoder::user_warning_fn
( png_structp png_ptr,
png_const_charp warning_msg
);
diff -urN orig-paintlib-2.6.2/common/plppmdec.h paintlib-2.6.2/common/plppmdec.h
--- orig-paintlib-2.6.2/common/plppmdec.h 2006-03-09 18:00:04.000000000
+0000
+++ paintlib-2.6.2/common/plppmdec.h 2004-06-20 13:14:37.000000000 +0000
@@ -78,7 +78,7 @@
);
- PLPixel32 readASCIIPixel32
+ PLPixel32 PLPPMDecoder::readASCIIPixel32
( int MaxGrayValue,
PLDataSource * pDataSrc
);
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]