pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/gwenview/patches add missing patch from previ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/db27c4a31549
branches:  trunk
changeset: 556563:db27c4a31549
user:      markd <markd%pkgsrc.org@localhost>
date:      Sun Mar 22 20:07:31 2009 +0000

description:
add missing patch from previous.

diffstat:

 graphics/gwenview/patches/patch-aa |  26 ++++++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)

diffs (30 lines):

diff -r 4cf10333ab62 -r db27c4a31549 graphics/gwenview/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gwenview/patches/patch-aa        Sun Mar 22 20:07:31 2009 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-aa,v 1.3 2009/03/22 20:07:31 markd Exp $
+
+Fix build with exiv2-01.8 from gentoo patches.
+
+--- src/imageutils/jpegcontent.cpp.orig        2007-09-15 19:46:17.000000000 +0600
++++ src/imageutils/jpegcontent.cpp     2009-01-09 14:24:04.000000000 +0500
+@@ -589,7 +589,8 @@
+ QImage JPEGContent::thumbnail() const {
+       QImage image;
+       if (!d->mExifData.empty()) {
+-              Exiv2::DataBuf thumbnail = d->mExifData.copyThumbnail();
++              Exiv2::ExifThumbC thumb(d->mExifData);
++              Exiv2::DataBuf const thumbnail = thumb.copy();
+               image.loadFromData(thumbnail.pData_, thumbnail.size_);
+       }
+       return image;
+@@ -611,7 +612,8 @@
+               return;
+       }
+       
+-      d->mExifData.setJpegThumbnail((unsigned char*)array.data(), array.size());
++      Exiv2::ExifThumb thumb(d->mExifData);
++      thumb.setJpegThumbnail((unsigned char*)array.data(), array.size());
+ }
+ 
+ 



Home | Main Index | Thread Index | Old Index