aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorAlex Raschi <raschi.alex@gmail.com>2019-08-14 21:22:50 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-08-16 06:14:00 -0300
commitf7c2cc9d618f3f250ad811d90ccd6e747e1551dc (patch)
tree854e3d58879c8f00f32a1f6d132b3e80ed0ba978 /testing
parent232ec363c2169733f732f1cc4ad1e6d8d49f574a (diff)
downloadaports-f7c2cc9d618f3f250ad811d90ccd6e747e1551dc.tar.bz2
aports-f7c2cc9d618f3f250ad811d90ccd6e747e1551dc.tar.xz
testing/nomacs: fix build
Diffstat (limited to 'testing')
-rw-r--r--testing/nomacs/APKBUILD8
-rw-r--r--testing/nomacs/fix-std-cout.patch20
2 files changed, 25 insertions, 3 deletions
diff --git a/testing/nomacs/APKBUILD b/testing/nomacs/APKBUILD
index d51f2b6dae..45ffb8f626 100644
--- a/testing/nomacs/APKBUILD
+++ b/testing/nomacs/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Alex Raschi <raschi.alex@gmail.com>
pkgname=nomacs
pkgver=3.12
-pkgrel=2
+pkgrel=3
pkgdesc="Small and fast Qt image viewer"
url="https://nomacs.org/"
arch="all"
@@ -18,7 +18,8 @@ makedepends="cmake
libzip-dev"
subpackages="$pkgname-doc $pkgname-lang"
options="!check" # no test suite
-source="$pkgname-$pkgver.tar.gz::https://github.com/nomacs/$pkgname/archive/$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/nomacs/$pkgname/archive/$pkgver.tar.gz
+ fix-std-cout.patch"
builddir="$srcdir/$pkgname-$pkgver/ImageLounge"
build() {
@@ -55,4 +56,5 @@ lang() {
mv "$pkgdir"/"$langdir"/* "$subpkgdir"/"$langdir"/
}
-sha512sums="4508354d48a6115cd40f701cc90cbbcb84490e99eaac0295db48f6fea99550d5e2b3e7365128d0c9cc4eeb621906f55e275603d84cb8b6bb164d0b5e2e192119 nomacs-3.12.tar.gz"
+sha512sums="4508354d48a6115cd40f701cc90cbbcb84490e99eaac0295db48f6fea99550d5e2b3e7365128d0c9cc4eeb621906f55e275603d84cb8b6bb164d0b5e2e192119 nomacs-3.12.tar.gz
+1530398feaa341687fd5e0117507b2262d46deb3052988e97156beee81d9611c8035be03ab616868a2dcff93fa5e82279f6a73af7edc70630451cfa28f9a4765 fix-std-cout.patch"
diff --git a/testing/nomacs/fix-std-cout.patch b/testing/nomacs/fix-std-cout.patch
new file mode 100644
index 0000000000..c0d09bad6c
--- /dev/null
+++ b/testing/nomacs/fix-std-cout.patch
@@ -0,0 +1,20 @@
+--- a/src/DkGui/DkNoMacs.cpp
++++ b/src/DkGui/DkNoMacs.cpp
+@@ -25,6 +25,7 @@
+
+ *******************************************************************************************************/
+
++#include <iostream>
+ #include "DkNoMacs.h"
+
+ // my stuff
+--- a/src/DkCore/DkMetaData.cpp
++++ b/src/DkCore/DkMetaData.cpp
+@@ -25,6 +25,7 @@
+
+ *******************************************************************************************************/
+
++#include <iostream>
+ #include "DkMetaData.h"
+ #include "DkUtils.h"
+ #include "DkMath.h"