aboutsummaryrefslogtreecommitdiff
path: root/graphics/gwenview-kde4
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2009-03-11 22:19:40 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2009-03-11 22:19:40 +0000
commit284140b5d29981c47a2048fc721f6c2fa6e58546 (patch)
tree73e206791c432c5ebc1ec0f08200d77c5b49db5a /graphics/gwenview-kde4
parentd4f2f7c589d8e16f23b6ff252a499ceb5e49eeef (diff)
downloadports-284140b5d29981c47a2048fc721f6c2fa6e58546.tar.gz
ports-284140b5d29981c47a2048fc721f6c2fa6e58546.zip
Notes
Diffstat (limited to 'graphics/gwenview-kde4')
-rw-r--r--graphics/gwenview-kde4/Makefile4
-rw-r--r--graphics/gwenview-kde4/files/patch-src_imageutils_jpegcontent.cpp22
2 files changed, 24 insertions, 2 deletions
diff --git a/graphics/gwenview-kde4/Makefile b/graphics/gwenview-kde4/Makefile
index 647143ed0e68..1d1d31f45c9a 100644
--- a/graphics/gwenview-kde4/Makefile
+++ b/graphics/gwenview-kde4/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gwenview
PORTVERSION= 1.4.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= graphics kde
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -16,7 +16,7 @@ MAINTAINER= markus@FreeBSD.org
COMMENT= An image viewer and browser for the KDE environment
LIB_DEPENDS= kipi.2:${PORTSDIR}/graphics/libkipi \
- exiv2.3:${PORTSDIR}/graphics/exiv2
+ exiv2.7:${PORTSDIR}/graphics/exiv2
USE_BZIP2= yes
USE_GMAKE= yes
diff --git a/graphics/gwenview-kde4/files/patch-src_imageutils_jpegcontent.cpp b/graphics/gwenview-kde4/files/patch-src_imageutils_jpegcontent.cpp
new file mode 100644
index 000000000000..48943654ed68
--- /dev/null
+++ b/graphics/gwenview-kde4/files/patch-src_imageutils_jpegcontent.cpp
@@ -0,0 +1,22 @@
+--- 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());
+ }
+
+