aboutsummaryrefslogtreecommitdiff
path: root/graphics/kipi-plugins
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/kipi-plugins')
-rw-r--r--graphics/kipi-plugins/Makefile3
-rw-r--r--graphics/kipi-plugins/files/patch-rawdecodingiface.cpp11
2 files changed, 13 insertions, 1 deletions
diff --git a/graphics/kipi-plugins/Makefile b/graphics/kipi-plugins/Makefile
index c91539210e7b..8d2d4a66ad55 100644
--- a/graphics/kipi-plugins/Makefile
+++ b/graphics/kipi-plugins/Makefile
@@ -7,7 +7,7 @@
PORTNAME= kipi-plugins
PORTVERSION= 0.1.7
-PORTREVISION= 10
+PORTREVISION= 11
PORTEPOCH= 1
CATEGORIES= graphics kde
MASTER_SITES= SF/kipi/${PORTNAME}/${PORTVERSION}
@@ -17,6 +17,7 @@ COMMENT= KDE Image Plugin Interface plugins
LIB_DEPENDS= kipi.2:${PORTSDIR}/graphics/libkipi \
kexiv2.5:${PORTSDIR}/graphics/libkexiv2 \
+ png15:${PORTSDIR}/graphics/png \
kdcraw.4:${PORTSDIR}/graphics/libkdcraw
OPTIONS= ACQUIREIMAGES "scanner/screenshot plugin" on \
diff --git a/graphics/kipi-plugins/files/patch-rawdecodingiface.cpp b/graphics/kipi-plugins/files/patch-rawdecodingiface.cpp
new file mode 100644
index 000000000000..537790ab0934
--- /dev/null
+++ b/graphics/kipi-plugins/files/patch-rawdecodingiface.cpp
@@ -0,0 +1,11 @@
+--- kipi-plugins/rawconverter/rawdecodingiface.cpp.orig 2008-12-13 12:20:05.000000000 +0100
++++ kipi-plugins/rawconverter/rawdecodingiface.cpp 2012-05-09 12:36:43.000000000 +0200
+@@ -299,7 +299,7 @@
+ if (!ICCColorProfile.isEmpty())
+ {
+ png_set_iCCP(png_ptr, info_ptr, "icc", PNG_COMPRESSION_TYPE_BASE,
+- ICCColorProfile.data(), ICCColorProfile.size());
++ (const png_byte *)ICCColorProfile.data(), ICCColorProfile.size());
+ }
+
+ QString libpngver(PNG_HEADER_VERSION_STRING);