summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2017-08-30 23:39:46 +1000
committerMichael Palimaka <kensington@gentoo.org>2017-08-30 23:40:07 +1000
commitd380638becc3a9476fa45c5489a03a10bfa38be6 (patch)
treeb804cc06b3f1082583911d0a416327596b64df41 /media-gfx/nomacs/files
parentx11-themes/leonidas-backgrounds: remove 11.0.0.2-r0 (diff)
downloadgentoo-d380638becc3a9476fa45c5489a03a10bfa38be6.tar.gz
gentoo-d380638becc3a9476fa45c5489a03a10bfa38be6.tar.bz2
gentoo-d380638becc3a9476fa45c5489a03a10bfa38be6.zip
media-gfx/nomacs: backport patch from upstream fixing batch resize issue
Gentoo-bug: 629330 Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'media-gfx/nomacs/files')
-rw-r--r--media-gfx/nomacs/files/nomacs-3.6.1-batch-resize.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/media-gfx/nomacs/files/nomacs-3.6.1-batch-resize.patch b/media-gfx/nomacs/files/nomacs-3.6.1-batch-resize.patch
new file mode 100644
index 00000000000..b2dd078d0e9
--- /dev/null
+++ b/media-gfx/nomacs/files/nomacs-3.6.1-batch-resize.patch
@@ -0,0 +1,23 @@
+From 11cbd66ca66ea9d97d72546a92fe2b487e62481b Mon Sep 17 00:00:00 2001
+From: diemmarkus <diemmarkus@gmail.com>
+Date: Wed, 17 May 2017 10:08:05 +0200
+Subject: [PATCH] fixes #118 batch resizing - used to only work if rotate was
+ active
+
+---
+ ImageLounge/src/DkCore/DkProcess.cpp | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/ImageLounge/src/DkCore/DkProcess.cpp b/ImageLounge/src/DkCore/DkProcess.cpp
+index a47b4194..d0dfd97f 100644
+--- a/src/DkCore/DkProcess.cpp
++++ b/src/DkCore/DkProcess.cpp
+@@ -255,8 +255,6 @@ bool DkBatchTransform::compute(QSharedPointer<DkImageContainer> container, QStri
+ rotationMatrix.rotate((double)mAngle);
+ tmpImg = tmpImg.transformed(rotationMatrix);
+ }
+- else
+- tmpImg = img;
+
+ // logs
+ if (!tmpImg.isNull()) {