koffice/krita/ui/kisexiv2
Thomas Lübking
thomas.luebking at web.de
Mon Dec 22 21:15:52 CET 2008
Am Monday 22 December 2008 schrieben Sie:
> SVN commit 900352 by berger:
>
> second attempt to fix compilation with exiv 0.18 (still not fully
> tested...)
seems there're similar statements in kis_xmp_io.cpp & (i think)
kis_iptc_io.cpp
/home/src/KDE4/koffice/krita/ui/kisexiv2/kis_iptc_io.cpp: In member function
‘virtual bool KisIptcIO::saveTo(KisMetaData::Store*, QIODevice*,
KisMetaData::IOBackend::HeaderType) const’:
/home/src/KDE4/koffice/krita/ui/kisexiv2/kis_iptc_io.cpp:114: error: ‘class
Exiv2::IptcData’ has no member named ‘copy’
/home/src/KDE4/koffice/krita/ui/kisexiv2/kis_iptc_io.cpp: In member function
‘virtual bool KisIptcIO::loadFrom(KisMetaData::Store*, QIODevice*) const’:
/home/src/KDE4/koffice/krita/ui/kisexiv2/kis_iptc_io.cpp:151: error: ‘class
Exiv2::IptcData’ has no member named ‘load’
make[2]: *** [krita/ui/CMakeFiles/kritaui.dir/kisexiv2/kis_iptc_io.o] Error 1
make[1]: *** [krita/ui/CMakeFiles/kritaui.dir/all] Error 2
make: *** [all] Error 2
Regards and thanks for fixing,
Thomas
> CCMAIL: Thomas Lübking <thomas.luebking at web.de>
>
> M +1 -1 kis_exif_io.cpp
>
>
> --- trunk/koffice/krita/ui/kisexiv2/kis_exif_io.cpp #900351:900352
> @@ -344,7 +344,7 @@
> #else
> Exiv2::Blob rawData;
> Exiv2::ExifParser::encode( rawData, Exiv2::littleEndian, exifData );
> - ioDevice->write((const char*) rawData.begin(), rawData.size() );
> + ioDevice->write((const char*) &*rawData.begin(), rawData.size() );
> #endif
> ioDevice->close();
> return true;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kimageshop/attachments/20081222/a086bdf4/attachment.htm
More information about the kimageshop
mailing list