summaryrefslogtreecommitdiffstats
path: root/redhat/applications/koffice/koffice-3.5.13-fix_libpng.patch
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-04-28 12:44:45 +0200
committerFrancois Andriot <francois.andriot@free.fr>2012-04-28 12:44:45 +0200
commit15ce26197ee572979f11cec6d12122923a81e8dc (patch)
tree07ae25ff6e263b8722002ce3a6fdf241daa33bb2 /redhat/applications/koffice/koffice-3.5.13-fix_libpng.patch
parent7d9d6bed18d84ef5eadc23e357888c140782ee89 (diff)
downloadtde-packaging-15ce26197ee572979f11cec6d12122923a81e8dc.tar.gz
tde-packaging-15ce26197ee572979f11cec6d12122923a81e8dc.zip
RHEL/Fedora: updates Koffice for GCC 4.7
Diffstat (limited to 'redhat/applications/koffice/koffice-3.5.13-fix_libpng.patch')
-rw-r--r--redhat/applications/koffice/koffice-3.5.13-fix_libpng.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/redhat/applications/koffice/koffice-3.5.13-fix_libpng.patch b/redhat/applications/koffice/koffice-3.5.13-fix_libpng.patch
new file mode 100644
index 000000000..cba4b2584
--- /dev/null
+++ b/redhat/applications/koffice/koffice-3.5.13-fix_libpng.patch
@@ -0,0 +1,11 @@
+--- /dev/shm/applications/koffice/filters/chalk/png/kis_png_converter.cc 2011-06-27 13:54:18.000000000 -0500
++++ /dev/shm/applications/koffice/filters/chalk/png/kis_png_converter.cc.new 2011-11-07 15:38:47.918508855 -0600
+@@ -785,7 +785,7 @@
+
+ void KisPNGConverter::progress(png_structp png_ptr, png_uint_32 row_number, int pass)
+ {
+- if(png_ptr == NULL || row_number > PNG_MAX_UINT || pass > 7) return;
++ if(png_ptr == NULL || row_number > PNG_UINT_31_MAX || pass > 7) return;
+ // setProgress(row_number);
+ }
+