summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Hüttel <dilfridge@gentoo.org>2011-09-24 15:35:16 +0000
committerAndreas Hüttel <dilfridge@gentoo.org>2011-09-24 15:35:16 +0000
commit29dba3a3f219b91fc066168dfa3fd3443b4ddf09 (patch)
treea5cb8146bc211b0cb28e5de3118dc17a3ca4e2c2 /kde-base/kdelibs/files
parentVersion bump. (diff)
downloadhistorical-29dba3a3f219b91fc066168dfa3fd3443b4ddf09.tar.gz
historical-29dba3a3f219b91fc066168dfa3fd3443b4ddf09.tar.bz2
historical-29dba3a3f219b91fc066168dfa3fd3443b4ddf09.zip
Fix build with libpng-1.5, bug 383915
Package-Manager: portage-2.1.10.19/cvs/Linux x86_64
Diffstat (limited to 'kde-base/kdelibs/files')
-rw-r--r--kde-base/kdelibs/files/kdelibs-4.7.1-libpng15.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/kde-base/kdelibs/files/kdelibs-4.7.1-libpng15.patch b/kde-base/kdelibs/files/kdelibs-4.7.1-libpng15.patch
new file mode 100644
index 000000000000..7fd52d9cc321
--- /dev/null
+++ b/kde-base/kdelibs/files/kdelibs-4.7.1-libpng15.patch
@@ -0,0 +1,11 @@
+--- kdelibs-4.7.1/khtml/imload/decoders/pngloader.cpp
++++ kdelibs-4.7.1/khtml/imload/decoders/pngloader.cpp
+@@ -198,7 +198,7 @@
+ {
+ if (interlaced)
+ {
+- Q_ASSERT(pngReadStruct->row_info.pixel_depth <= depth * 8);
++ //Q_ASSERT(pngReadStruct->row_info.pixel_depth <= depth * 8);
+ requestScanline(rowNum, scanlineBuf);
+ png_progressive_combine_row(pngReadStruct, scanlineBuf, data);
+ notifyScanline(pass + 1, scanlineBuf);