summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2007-04-03 09:32:08 +0000
committerdrochner <drochner@pkgsrc.org>2007-04-03 09:32:08 +0000
commitb0f57f0b9141f57724e27ff9f990eac9f96357f7 (patch)
treedeb617ced7bfe57e8a86df16bc4874cd302e51ea /graphics
parent30adb37ed19ac4799c5c1e0980b0cf2884e563d1 (diff)
downloadpkgsrc-b0f57f0b9141f57724e27ff9f990eac9f96357f7.tar.gz
Fix compile problems due to an incompatibility in error reporting,
introduced by exiv2-0.14. Require exiv2>=0.14. Ride on recent PKGREVISION bumps. Approved by gdt and wiz.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/digikam/distinfo6
-rw-r--r--graphics/digikam/patches/patch-ad31
-rw-r--r--graphics/digikam/patches/patch-ae31
-rw-r--r--graphics/digikam/patches/patch-af31
-rw-r--r--graphics/digikam/patches/patch-ag31
-rw-r--r--graphics/exiv2/buildlink3.mk4
-rw-r--r--graphics/kipi-plugins/distinfo4
-rw-r--r--graphics/kipi-plugins/patches/patch-aa355
8 files changed, 486 insertions, 7 deletions
diff --git a/graphics/digikam/distinfo b/graphics/digikam/distinfo
index 55bd55c3961..414ff8e5eff 100644
--- a/graphics/digikam/distinfo
+++ b/graphics/digikam/distinfo
@@ -1,6 +1,10 @@
-$NetBSD: distinfo,v 1.17 2007/03/13 10:07:03 drochner Exp $
+$NetBSD: distinfo,v 1.18 2007/04/03 09:32:08 drochner Exp $
SHA1 (digikam-0.9.1.tar.bz2) = 92c9c9a943ad5a806be900758dbdc02ad94b8061
RMD160 (digikam-0.9.1.tar.bz2) = 920cb49315dfbbe8c9944209568a8430b5e0404f
Size (digikam-0.9.1.tar.bz2) = 6781756 bytes
SHA1 (patch-ac) = 0b43ae33d303778f564131d7d869f178503b74f8
+SHA1 (patch-ad) = 459ba5c81d04c5956424885bd8f5f3194c1ec7f5
+SHA1 (patch-ae) = e8af5f0c15ec57349134438eb5c6bf4f98d4a531
+SHA1 (patch-af) = 1aac93622747f7d9ee6d6b29da95e1f85c335f9b
+SHA1 (patch-ag) = 6dd683c12d35b175ced66d1b8ddcdfcd67ffa9be
diff --git a/graphics/digikam/patches/patch-ad b/graphics/digikam/patches/patch-ad
new file mode 100644
index 00000000000..c149cebd0c6
--- /dev/null
+++ b/graphics/digikam/patches/patch-ad
@@ -0,0 +1,31 @@
+$NetBSD: patch-ad,v 1.1 2007/04/03 09:32:08 drochner Exp $
+
+--- digikam/libs/widgets/metadata/iptcwidget.cpp.orig 2007-03-30 12:12:32.000000000 +0200
++++ digikam/libs/widgets/metadata/iptcwidget.cpp
+@@ -156,7 +156,7 @@ bool IptcWidget::decodeMetadata()
+ catch (Exiv2::Error& e)
+ {
+ DDebug() << "Cannot parse IPTC metadata using Exiv2 ("
+- << QString::fromAscii(e.what().c_str())
++ << QString::fromAscii(e.what())
+ << ")" << endl;
+ return false;
+ }
+@@ -185,7 +185,7 @@ QString IptcWidget::getTagTitle(const QS
+ catch (Exiv2::Error& e)
+ {
+ DDebug() << "Cannot get metadata tag title using Exiv2 ("
+- << QString::fromAscii(e.what().c_str())
++ << QString::fromAscii(e.what())
+ << ")" << endl;
+ return i18n("Unknow");
+ }
+@@ -202,7 +202,7 @@ QString IptcWidget::getTagDescription(co
+ catch (Exiv2::Error& e)
+ {
+ DDebug() << "Cannot get metadata tag description using Exiv2 ("
+- << QString::fromAscii(e.what().c_str())
++ << QString::fromAscii(e.what())
+ << ")" << endl;
+ return i18n("No description available");
+ }
diff --git a/graphics/digikam/patches/patch-ae b/graphics/digikam/patches/patch-ae
new file mode 100644
index 00000000000..ab6527df39c
--- /dev/null
+++ b/graphics/digikam/patches/patch-ae
@@ -0,0 +1,31 @@
+$NetBSD: patch-ae,v 1.1 2007/04/03 09:32:08 drochner Exp $
+
+--- digikam/libs/widgets/metadata/exifwidget.cpp.orig 2007-03-30 12:17:43.000000000 +0200
++++ digikam/libs/widgets/metadata/exifwidget.cpp
+@@ -181,7 +181,7 @@ bool ExifWidget::decodeMetadata()
+ catch (Exiv2::Error& e)
+ {
+ DDebug() << "Cannot parse EXIF metadata using Exiv2 ("
+- << QString::fromAscii(e.what().c_str())
++ << QString::fromAscii(e.what())
+ << ")" << endl;
+ return false;
+ }
+@@ -211,7 +211,7 @@ QString ExifWidget::getTagTitle(const QS
+ catch (Exiv2::Error& e)
+ {
+ DDebug() << "Cannot get metadata tag title using Exiv2 ("
+- << QString::fromAscii(e.what().c_str())
++ << QString::fromAscii(e.what())
+ << ")" << endl;
+ return i18n("Unknown");
+ }
+@@ -228,7 +228,7 @@ QString ExifWidget::getTagDescription(co
+ catch (Exiv2::Error& e)
+ {
+ DDebug() << "Cannot get metadata tag description using Exiv2 ("
+- << QString::fromAscii(e.what().c_str())
++ << QString::fromAscii(e.what())
+ << ")" << endl;
+ return i18n("No description available");
+ }
diff --git a/graphics/digikam/patches/patch-af b/graphics/digikam/patches/patch-af
new file mode 100644
index 00000000000..8b35ba39f7d
--- /dev/null
+++ b/graphics/digikam/patches/patch-af
@@ -0,0 +1,31 @@
+$NetBSD: patch-af,v 1.1 2007/04/03 09:32:08 drochner Exp $
+
+--- digikam/libs/widgets/metadata/makernotewidget.cpp.orig 2007-03-30 12:23:15.000000000 +0200
++++ digikam/libs/widgets/metadata/makernotewidget.cpp
+@@ -198,7 +198,7 @@ bool MakerNoteWidget::decodeMetadata()
+ catch (Exiv2::Error& e)
+ {
+ DDebug() << "Cannot parse MAKERNOTE metadata using Exiv2 ("
+- << QString::fromAscii(e.what().c_str())
++ << QString::fromAscii(e.what())
+ << ")" << endl;
+ return false;
+ }
+@@ -227,7 +227,7 @@ QString MakerNoteWidget::getTagTitle(con
+ catch (Exiv2::Error& e)
+ {
+ DDebug() << "Cannot get metadata tag title using Exiv2 ("
+- << QString::fromAscii(e.what().c_str())
++ << QString::fromAscii(e.what())
+ << ")" << endl;
+ return i18n("Unknown");
+ }
+@@ -244,7 +244,7 @@ QString MakerNoteWidget::getTagDescripti
+ catch (Exiv2::Error& e)
+ {
+ DDebug() << "Cannot get metadata tag description using Exiv2 ("
+- << QString::fromAscii(e.what().c_str())
++ << QString::fromAscii(e.what())
+ << ")" << endl;
+ return i18n("No description available");
+ }
diff --git a/graphics/digikam/patches/patch-ag b/graphics/digikam/patches/patch-ag
new file mode 100644
index 00000000000..0f8260d1b4d
--- /dev/null
+++ b/graphics/digikam/patches/patch-ag
@@ -0,0 +1,31 @@
+$NetBSD: patch-ag,v 1.1 2007/04/03 09:32:09 drochner Exp $
+
+--- digikam/libs/widgets/metadata/gpswidget.cpp.orig 2007-03-30 12:24:59.000000000 +0200
++++ digikam/libs/widgets/metadata/gpswidget.cpp
+@@ -305,7 +305,7 @@ bool GPSWidget::decodeMetadata()
+ {
+ setMetadataEmpty();
+ DDebug() << "Cannot parse EXIF metadata using Exiv2 ("
+- << QString::fromAscii(e.what().c_str())
++ << QString::fromAscii(e.what())
+ << ")" << endl;
+ return false;
+ }
+@@ -343,7 +343,7 @@ QString GPSWidget::getTagTitle(const QSt
+ catch (Exiv2::Error& e)
+ {
+ DDebug() << "Cannot get metadata tag title using Exiv2 ("
+- << QString::fromAscii(e.what().c_str())
++ << QString::fromAscii(e.what())
+ << ")" << endl;
+ return i18n("Unknown");
+ }
+@@ -360,7 +360,7 @@ QString GPSWidget::getTagDescription(con
+ catch (Exiv2::Error& e)
+ {
+ DDebug() << "Cannot get metadata tag description using Exiv2 ("
+- << QString::fromAscii(e.what().c_str())
++ << QString::fromAscii(e.what())
+ << ")" << endl;
+ return i18n("No description available");
+ }
diff --git a/graphics/exiv2/buildlink3.mk b/graphics/exiv2/buildlink3.mk
index f4a811bc2e0..a6f01f604e4 100644
--- a/graphics/exiv2/buildlink3.mk
+++ b/graphics/exiv2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:50 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2007/04/03 09:32:09 drochner Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
EXIV2_BUILDLINK3_MK:= ${EXIV2_BUILDLINK3_MK}+
@@ -12,7 +12,7 @@ BUILDLINK_PACKAGES+= exiv2
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}exiv2
.if ${EXIV2_BUILDLINK3_MK} == "+"
-BUILDLINK_API_DEPENDS.exiv2+= exiv2>=0.10
+BUILDLINK_API_DEPENDS.exiv2+= exiv2>=0.14
BUILDLINK_PKGSRCDIR.exiv2?= ../../graphics/exiv2
.endif # EXIV2_BUILDLINK3_MK
diff --git a/graphics/kipi-plugins/distinfo b/graphics/kipi-plugins/distinfo
index c553345a3df..f2a500b03e9 100644
--- a/graphics/kipi-plugins/distinfo
+++ b/graphics/kipi-plugins/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.13 2007/02/15 13:49:11 joerg Exp $
+$NetBSD: distinfo,v 1.14 2007/04/03 09:32:09 drochner Exp $
SHA1 (kipi-plugins-0.1.3.tar.bz2) = 9882d247e6e42e0206e295e85d141a184da138e6
RMD160 (kipi-plugins-0.1.3.tar.bz2) = 4a0ea25edf6af4adf4a4eba28e4a97a7859e3f35
Size (kipi-plugins-0.1.3.tar.bz2) = 7595003 bytes
-SHA1 (patch-aa) = 4044b69016b8d3711124aba60061bc5ef865b870
+SHA1 (patch-aa) = aed3bc1b38b71f58976ca53e1a38890573787972
SHA1 (patch-ae) = 7dd841c5142cd00b58f2552bf78523907d68f3fe
SHA1 (patch-af) = 3d8cbf5120ff09aa8d0d7ce663bd7359f9f5d563
diff --git a/graphics/kipi-plugins/patches/patch-aa b/graphics/kipi-plugins/patches/patch-aa
index 596519a499b..97c487345df 100644
--- a/graphics/kipi-plugins/patches/patch-aa
+++ b/graphics/kipi-plugins/patches/patch-aa
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.6 2007/02/15 13:49:11 joerg Exp $
+$NetBSD: patch-aa,v 1.7 2007/04/03 09:32:09 drochner Exp $
---- kipi-plugins/common/exiv2iface/exiv2iface.cpp.orig 2007-02-07 23:19:19.000000000 +0000
+--- kipi-plugins/common/exiv2iface/exiv2iface.cpp.orig 2007-01-24 22:04:18.000000000 +0100
+++ kipi-plugins/common/exiv2iface/exiv2iface.cpp
@@ -61,6 +61,20 @@
@@ -23,3 +23,354 @@ $NetBSD: patch-aa,v 1.6 2007/02/15 13:49:11 joerg Exp $
namespace KIPIPlugins
{
+@@ -97,7 +111,7 @@ bool Exiv2Iface::clearExif()
+ catch( Exiv2::Error &e )
+ {
+ kdDebug() << "Cannot clear Exif data using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -114,7 +128,7 @@ bool Exiv2Iface::clearIptc()
+ catch( Exiv2::Error &e )
+ {
+ kdDebug() << "Cannot clear Iptc data using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -153,7 +167,7 @@ QByteArray Exiv2Iface::getExif() const
+ catch( Exiv2::Error &e )
+ {
+ kdDebug() << "Cannot get Exif data using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -192,7 +206,7 @@ QByteArray Exiv2Iface::getIptc(bool addI
+ catch( Exiv2::Error &e )
+ {
+ kdDebug() << "Cannot get Iptc data using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -214,7 +228,7 @@ bool Exiv2Iface::setExif(const QByteArra
+ catch( Exiv2::Error &e )
+ {
+ kdDebug() << "Cannot set Exif data using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -236,7 +250,7 @@ bool Exiv2Iface::setIptc(const QByteArra
+ catch( Exiv2::Error &e )
+ {
+ kdDebug() << "Cannot set Iptc data using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -271,7 +285,7 @@ bool Exiv2Iface::load(const QString& fil
+ catch( Exiv2::Error &e )
+ {
+ kdDebug() << "Cannot load metadata using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ return false;
+ }
+@@ -329,7 +343,7 @@ bool Exiv2Iface::save(const QString& fil
+ catch( Exiv2::Error &e )
+ {
+ kdDebug() << "Cannot save metadata using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ return false;
+ }
+@@ -362,7 +376,7 @@ bool Exiv2Iface::setImageProgramId(const
+ catch( Exiv2::Error &e )
+ {
+ kdDebug() << "Cannot set Program identity into image using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -382,7 +396,7 @@ bool Exiv2Iface::setImageDimensions(cons
+ catch( Exiv2::Error &e )
+ {
+ kdDebug() << "Cannot set image dimensions using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -404,7 +418,7 @@ bool Exiv2Iface::setExifThumbnail(const
+ catch( Exiv2::Error &e )
+ {
+ kdDebug() << "Cannot set Exif Thumbnail using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -434,7 +448,7 @@ QString Exiv2Iface::getExifTagString(con
+ {
+ kdDebug() << "Cannot find Exif key '"
+ << exifTagName << "' into image using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -451,7 +465,7 @@ bool Exiv2Iface::setExifTagString(const
+ catch( Exiv2::Error &e )
+ {
+ kdDebug() << "Cannot set Exif tag string into image using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -481,7 +495,7 @@ QString Exiv2Iface::getIptcTagString(con
+ {
+ kdDebug() << "Cannot find Iptc key '"
+ << iptcTagName << "' into image using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -498,7 +512,7 @@ bool Exiv2Iface::setIptcTagString(const
+ catch( Exiv2::Error &e )
+ {
+ kdDebug() << "Cannot set Iptc tag string into image using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -522,7 +536,7 @@ bool Exiv2Iface::getExifTagLong(const ch
+ {
+ kdDebug() << "Cannot find Exif key '"
+ << exifTagName << "' into image using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -547,7 +561,7 @@ QByteArray Exiv2Iface::getExifTagData(co
+ {
+ kdDebug() << "Cannot find Exif key '"
+ << exifTagName << "' into image using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -572,7 +586,7 @@ QByteArray Exiv2Iface::getIptcTagData(co
+ {
+ kdDebug() << "Cannot find Iptc key '"
+ << iptcTagName << "' into image using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -597,7 +611,7 @@ bool Exiv2Iface::getExifTagRational(cons
+ {
+ kdDebug() << "Cannot find Exif Rational value from key '"
+ << exifTagName << "' into image using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -614,7 +628,7 @@ bool Exiv2Iface::setExifTagLong(const ch
+ catch( Exiv2::Error &e )
+ {
+ kdDebug() << "Cannot set Exif tag long value into image using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -631,7 +645,7 @@ bool Exiv2Iface::setExifTagRational(cons
+ catch( Exiv2::Error &e )
+ {
+ kdDebug() << "Cannot set Exif tag rational value into image using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -653,7 +667,7 @@ bool Exiv2Iface::removeExifTag(const cha
+ catch( Exiv2::Error &e )
+ {
+ kdDebug() << "Cannot remove Exif tag using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -675,7 +689,7 @@ bool Exiv2Iface::removeIptcTag(const cha
+ catch( Exiv2::Error &e )
+ {
+ kdDebug() << "Cannot remove Iptc tag using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -717,7 +731,7 @@ bool Exiv2Iface::setImagePreview(const Q
+ catch( Exiv2::Error &e )
+ {
+ kdDebug() << "Cannot get image preview using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -847,7 +861,7 @@ QDateTime Exiv2Iface::getImageDateTime()
+ catch( Exiv2::Error &e )
+ {
+ kdDebug() << "Cannot parse Exif date & time tag using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -940,7 +954,7 @@ Exiv2Iface::ImageOrientation Exiv2Iface:
+ catch( Exiv2::Error &e )
+ {
+ kdDebug() << "Cannot parse Exif Orientation tag using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -1007,7 +1021,7 @@ bool Exiv2Iface::setImageOrientation(Ima
+ catch( Exiv2::Error &e )
+ {
+ kdDebug() << "Cannot set Exif Orientation tag using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -1107,7 +1121,7 @@ bool Exiv2Iface::getGPSInfo(double& alti
+ catch( Exiv2::Error &e )
+ {
+ kdDebug() << "Cannot get Exif GPS tag using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -1229,7 +1243,7 @@ bool Exiv2Iface::setGPSInfo(double altit
+ catch( Exiv2::Error &e )
+ {
+ kdDebug() << "Cannot set Exif GPS tag using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -1264,7 +1278,7 @@ bool Exiv2Iface::removeGPSInfo()
+ catch( Exiv2::Error &e )
+ {
+ kdDebug() << "Cannot remove Exif GPS tag using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -1357,7 +1371,7 @@ QStringList Exiv2Iface::getImageKeywords
+ catch( Exiv2::Error &e )
+ {
+ kdDebug() << "Cannot get IPTC Keywords from image using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -1407,7 +1421,7 @@ bool Exiv2Iface::setImageKeywords(const
+ catch( Exiv2::Error &e )
+ {
+ kdDebug() << "Cannot set IPTC Keywords into image using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -1440,7 +1454,7 @@ QStringList Exiv2Iface::getImageSubjects
+ catch( Exiv2::Error &e )
+ {
+ kdDebug() << "Cannot get IPTC Subjects from image using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -1490,7 +1504,7 @@ bool Exiv2Iface::setImageSubjects(const
+ catch( Exiv2::Error &e )
+ {
+ kdDebug() << "Cannot set IPTC Subjects into image using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -1523,7 +1537,7 @@ QStringList Exiv2Iface::getImageSubCateg
+ catch( Exiv2::Error &e )
+ {
+ kdDebug() << "Cannot get IPTC Sub Categories from image using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -1573,7 +1587,7 @@ bool Exiv2Iface::setImageSubCategories(c
+ catch( Exiv2::Error &e )
+ {
+ kdDebug() << "Cannot set IPTC Sub Categories into image using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -1603,7 +1617,7 @@ QString Exiv2Iface::getExifComment() con
+ catch( Exiv2::Error &e )
+ {
+ kdDebug() << "Cannot find Exif User Comment using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -1645,7 +1659,7 @@ bool Exiv2Iface::setExifComment(const QS
+ catch( Exiv2::Error &e )
+ {
+ kdDebug() << "Cannot set Exif Comment using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+
+@@ -1718,7 +1732,7 @@ QString Exiv2Iface::convertCommentValue(
+ catch( Exiv2::Error &e )
+ {
+ kdDebug() << "Cannot convert Comment using Exiv2 ("
+- << QString::fromLocal8Bit(e.what().c_str())
++ << QString::fromLocal8Bit(e.what())
+ << ")" << endl;
+ }
+