|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
#
|
|
|
|
# Filename: package/.../paintlib/gcc41.patch
|
|
|
|
# Copyright (C) 2006 The T2 SDE Project
|
|
|
|
#
|
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
|
#
|
|
|
|
# This patch file is dual-licensed. It is available under the license the
|
|
|
|
# patched project is licensed under, as long as it is an OpenSource license
|
|
|
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
|
|
|
# of the GNU General Public License as published by the Free Software
|
|
|
|
# Foundation; either version 2 of the License, or (at your option) any later
|
|
|
|
# version.
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
|
|
|
|
|
|
|
diff -Nur paintlib-2.6.2-orig/common/plpgmdec.h paintlib-2.6.2/common/plpgmdec.h
|
|
|
|
--- paintlib-2.6.2-orig/common/plpgmdec.h 2004-06-20 13:14:36.000000000 +0000
|
|
|
|
+++ paintlib-2.6.2/common/plpgmdec.h 2006-04-05 12:07:22.188814000 +0000
|
|
|
|
@@ -72,7 +72,7 @@
|
|
|
|
PLDataSource * pDataSrc
|
|
|
|
);
|
|
|
|
|
|
|
|
- PLBYTE PLPGMDecoder::readASCIIPixel8
|
|
|
|
+ PLBYTE readASCIIPixel8
|
|
|
|
( int MaxGrayValue,
|
|
|
|
PLDataSource * pDataSrc
|
|
|
|
);
|
|
|
|
diff -Nur paintlib-2.6.2-orig/common/plpngdec.h paintlib-2.6.2/common/plpngdec.h
|
|
|
|
--- paintlib-2.6.2-orig/common/plpngdec.h 2004-06-20 13:14:37.000000000 +0000
|
|
|
|
+++ paintlib-2.6.2/common/plpngdec.h 2006-04-05 12:04:46.267069500 +0000
|
|
|
|
@@ -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 -Nur paintlib-2.6.2-orig/common/plppmdec.h paintlib-2.6.2/common/plppmdec.h
|
|
|
|
--- paintlib-2.6.2-orig/common/plppmdec.h 2004-06-20 13:14:37.000000000 +0000
|
|
|
|
+++ paintlib-2.6.2/common/plppmdec.h 2006-04-05 12:10:59.146373000 +0000
|
|
|
|
@@ -78,7 +78,7 @@
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
- PLPixel32 PLPPMDecoder::readASCIIPixel32
|
|
|
|
+ PLPixel32 readASCIIPixel32
|
|
|
|
( int MaxGrayValue,
|
|
|
|
PLDataSource * pDataSrc
|
|
|
|
);
|