pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/kipi-plugins-kde3 Fix build with png-1.5.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0ffd87574dd4
branches:  trunk
changeset: 585072:0ffd87574dd4
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Feb 06 17:06:48 2011 +0000

description:
Fix build with png-1.5.

diffstat:

 graphics/kipi-plugins-kde3/distinfo                                                     |   3 +-
 graphics/kipi-plugins-kde3/patches/patch-kipi-plugins_rawconverter_rawdecodingiface.cpp |  15 ++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 744206a606da -r 0ffd87574dd4 graphics/kipi-plugins-kde3/distinfo
--- a/graphics/kipi-plugins-kde3/distinfo       Sun Feb 06 17:06:17 2011 +0000
+++ b/graphics/kipi-plugins-kde3/distinfo       Sun Feb 06 17:06:48 2011 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2011/01/29 22:49:20 markd Exp $
+$NetBSD: distinfo,v 1.4 2011/02/06 17:06:48 wiz Exp $
 
 SHA1 (kipi-plugins-0.1.7.tar.bz2) = 520b6b9d36a8c5b8893c3a6b5a1a14f6b9cbd216
 RMD160 (kipi-plugins-0.1.7.tar.bz2) = f66473c11e66f9e06aa6772c7952b640b565def9
@@ -8,3 +8,4 @@
 SHA1 (patch-ac) = 0022166061696e3db820c97be64e2780a63e8b4c
 SHA1 (patch-ad) = b33efd502e1bd305242debe0e9837903ab34021f
 SHA1 (patch-ae) = 6e12d87f6169d3ba1687eaa202c2edb1ac5ec7a4
+SHA1 (patch-kipi-plugins_rawconverter_rawdecodingiface.cpp) = 2105ef9bee4f4c64f1205ff40431fec2ef1517a5
diff -r 744206a606da -r 0ffd87574dd4 graphics/kipi-plugins-kde3/patches/patch-kipi-plugins_rawconverter_rawdecodingiface.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/kipi-plugins-kde3/patches/patch-kipi-plugins_rawconverter_rawdecodingiface.cpp   Sun Feb 06 17:06:48 2011 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-kipi-plugins_rawconverter_rawdecodingiface.cpp,v 1.1 2011/02/06 17:06:48 wiz Exp $
+
+Fix build with png-1.5.
+
+--- kipi-plugins/rawconverter/rawdecodingiface.cpp.orig        2008-12-13 11:20:05.000000000 +0000
++++ kipi-plugins/rawconverter/rawdecodingiface.cpp
+@@ -299,7 +299,7 @@ bool RawDecodingIface::loadedFromDcraw(c
+             if (!ICCColorProfile.isEmpty())
+             {
+                 png_set_iCCP(png_ptr, info_ptr, "icc", PNG_COMPRESSION_TYPE_BASE, 
+-                             ICCColorProfile.data(), ICCColorProfile.size());
++                             (png_bytep)ICCColorProfile.data(), ICCColorProfile.size());
+             }
+ 
+             QString libpngver(PNG_HEADER_VERSION_STRING);



Home | Main Index | Thread Index | Old Index