From 26cbccf95515600ad4b611a258d22a36b5c51733 Mon Sep 17 00:00:00 2001 From: Tilman Keskinoz Date: Fri, 22 Dec 2006 17:07:07 +0000 Subject: [PATCH] Fix build with gcc41 --- graphics/paintlib/files/patch-common-plpgmdec.h | 11 +++++++++++ graphics/paintlib/files/patch-common-plpngdec.h | 17 +++++++++++++++++ graphics/paintlib/files/patch-common-plppmdec.h | 11 +++++++++++ 3 files changed, 39 insertions(+) create mode 100644 graphics/paintlib/files/patch-common-plpgmdec.h create mode 100644 graphics/paintlib/files/patch-common-plpngdec.h create mode 100644 graphics/paintlib/files/patch-common-plppmdec.h diff --git a/graphics/paintlib/files/patch-common-plpgmdec.h b/graphics/paintlib/files/patch-common-plpgmdec.h new file mode 100644 index 000000000000..1e0178ae8488 --- /dev/null +++ b/graphics/paintlib/files/patch-common-plpgmdec.h @@ -0,0 +1,11 @@ +--- common/plpgmdec.h.orig Fri Dec 22 17:54:22 2006 ++++ common/plpgmdec.h Fri Dec 22 18:00:19 2006 +@@ -72,7 +72,7 @@ + PLDataSource * pDataSrc + ); + +- PLBYTE PLPGMDecoder::readASCIIPixel8 ++ PLBYTE readASCIIPixel8 + ( int MaxGrayValue, + PLDataSource * pDataSrc + ); diff --git a/graphics/paintlib/files/patch-common-plpngdec.h b/graphics/paintlib/files/patch-common-plpngdec.h new file mode 100644 index 000000000000..ff0df86c9250 --- /dev/null +++ b/graphics/paintlib/files/patch-common-plpngdec.h @@ -0,0 +1,17 @@ +--- common/plpngdec.h.orig Fri Dec 22 17:53:56 2006 ++++ common/plpngdec.h Fri Dec 22 17:59:29 2006 +@@ -49,12 +49,12 @@ + + private: + +- static void PLPNGDecoder::user_error_fn ++ static void user_error_fn + ( png_structp png_ptr, + png_const_charp error_msg + ); + +- static void PLPNGDecoder::user_warning_fn ++ static void user_warning_fn + ( png_structp png_ptr, + png_const_charp warning_msg + ); diff --git a/graphics/paintlib/files/patch-common-plppmdec.h b/graphics/paintlib/files/patch-common-plppmdec.h new file mode 100644 index 000000000000..93ff8b423bd0 --- /dev/null +++ b/graphics/paintlib/files/patch-common-plppmdec.h @@ -0,0 +1,11 @@ +--- common/plppmdec.h.orig Fri Dec 22 17:54:44 2006 ++++ common/plppmdec.h Fri Dec 22 18:01:20 2006 +@@ -78,7 +78,7 @@ + ); + + +- PLPixel32 PLPPMDecoder::readASCIIPixel32 ++ PLPixel32 readASCIIPixel32 + ( int MaxGrayValue, + PLDataSource * pDataSrc + );