summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2010-06-11 02:46:35 +0000
committerMaciej Mrozowski <reavertm@gentoo.org>2010-06-11 02:46:35 +0000
commiteea4359b281e36b800f1168f22adb51750046b02 (patch)
treef376e7def4a9e8d208e8e852d39dd90fae302e7c /kde-base/gwenview
parentexport JAVA_HOME queried from java-config, fixes bug 280629 (diff)
downloadgentoo-2-eea4359b281e36b800f1168f22adb51750046b02.tar.gz
gentoo-2-eea4359b281e36b800f1168f22adb51750046b02.tar.bz2
gentoo-2-eea4359b281e36b800f1168f22adb51750046b02.zip
Initialize jpeg_transform_info struct, bug 314613
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'kde-base/gwenview')
-rw-r--r--kde-base/gwenview/ChangeLog9
-rw-r--r--kde-base/gwenview/files/gwenview-4.4.4-jpeg.patch15
-rw-r--r--kde-base/gwenview/gwenview-4.4.4-r1.ebuild (renamed from kde-base/gwenview/gwenview-4.4.4.ebuild)6
3 files changed, 28 insertions, 2 deletions
diff --git a/kde-base/gwenview/ChangeLog b/kde-base/gwenview/ChangeLog
index 6bc56644dee2..d62d6b6043ba 100644
--- a/kde-base/gwenview/ChangeLog
+++ b/kde-base/gwenview/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for kde-base/gwenview
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/gwenview/ChangeLog,v 1.63 2010/06/06 14:41:30 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/gwenview/ChangeLog,v 1.64 2010/06/11 02:46:34 reavertm Exp $
+
+*gwenview-4.4.4-r1 (11 Jun 2010)
+
+ 11 Jun 2010; Maciej Mrozowski <reavertm@gentoo.org>
+ -gwenview-4.4.4.ebuild, +gwenview-4.4.4-r1.ebuild,
+ +files/gwenview-4.4.4-jpeg.patch:
+ Initialize jpeg_transform_info struct, bug 314613
*gwenview-4.4.4 (06 Jun 2010)
diff --git a/kde-base/gwenview/files/gwenview-4.4.4-jpeg.patch b/kde-base/gwenview/files/gwenview-4.4.4-jpeg.patch
new file mode 100644
index 000000000000..202eae6660f3
--- /dev/null
+++ b/kde-base/gwenview/files/gwenview-4.4.4-jpeg.patch
@@ -0,0 +1,15 @@
+Index: kdegraphics/gwenview/lib/jpegcontent.cpp
+===================================================================
+--- kdegraphics/gwenview/lib/jpegcontent.cpp (Revision 1098733)
++++ kdegraphics/gwenview/lib/jpegcontent.cpp (Revision 1098734)
+@@ -455,9 +455,8 @@
+
+ // Init transformation
+ jpeg_transform_info transformoption;
++ memset(&transformoption, 0, sizeof(jpeg_transform_info));
+ transformoption.transform = findJxform(d->mTransformMatrix);
+- transformoption.force_grayscale = false;
+- transformoption.trim = false;
+ jtransform_request_workspace(&srcinfo, &transformoption);
+
+ /* Read source file as DCT coefficients */
diff --git a/kde-base/gwenview/gwenview-4.4.4.ebuild b/kde-base/gwenview/gwenview-4.4.4-r1.ebuild
index d9e6737c9d0a..8927c4cd1331 100644
--- a/kde-base/gwenview/gwenview-4.4.4.ebuild
+++ b/kde-base/gwenview/gwenview-4.4.4-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/gwenview/gwenview-4.4.4.ebuild,v 1.1 2010/06/06 14:41:30 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/gwenview/gwenview-4.4.4-r1.ebuild,v 1.1 2010/06/11 02:46:35 reavertm Exp $
EAPI="3"
@@ -22,6 +22,10 @@ DEPEND="
"
RDEPEND="${DEPEND}"
+PATCHES=(
+ "${FILESDIR}/${PN}-4.4.4-jpeg.patch"
+)
+
src_configure() {
mycmakeargs=(
$(cmake-utils_use_with semantic-desktop Soprano)