[arch-commits] Commit in nomacs/trunk (PKGBUILD nomacs-iostream.patch)

Antonio Rojas arojas at archlinux.org
Sat May 18 09:35:32 UTC 2019


    Date: Saturday, May 18, 2019 @ 09:35:32
  Author: arojas
Revision: 467852

Add missing headers

Added:
  nomacs/trunk/nomacs-iostream.patch
Modified:
  nomacs/trunk/PKGBUILD

-----------------------+
 PKGBUILD              |    7 +++++--
 nomacs-iostream.patch |   26 ++++++++++++++++++++++++++
 2 files changed, 31 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-18 09:22:09 UTC (rev 467851)
+++ PKGBUILD	2019-05-18 09:35:32 UTC (rev 467852)
@@ -14,10 +14,12 @@
 makedepends=('cmake' 'qt5-tools')
 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz"
         "${pkgname}-plugins-${_plugins_pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}-plugins/archive/${_plugins_pkgver}.tar.gz"
-        "opencv4.patch::https://github.com/${pkgname}/${pkgname}-plugins/commit/7fdb4371135909bf5a2ba0caac2370e2a1a1c692.patch")
+        "opencv4.patch::https://github.com/${pkgname}/${pkgname}-plugins/commit/7fdb4371135909bf5a2ba0caac2370e2a1a1c692.patch"
+        nomacs-iostream.patch)
 sha512sums=('4508354d48a6115cd40f701cc90cbbcb84490e99eaac0295db48f6fea99550d5e2b3e7365128d0c9cc4eeb621906f55e275603d84cb8b6bb164d0b5e2e192119'
             'b46a2523737893bd342e90331d22082a84f3ff9abf4fdcf360d3fb9f2724cf616a6d77eacc272f117e103a9978f99b70feb8364f4c818681a147f78bfe356032'
-            '456bb01e88974c4bad1b9ad0c24857a473777c78755adfcfbebbe0377db5e756c08321c462b9a56eb141dccb7da80582a4a6c17ebc0af80c229982c532c32ccb')
+            '456bb01e88974c4bad1b9ad0c24857a473777c78755adfcfbebbe0377db5e756c08321c462b9a56eb141dccb7da80582a4a6c17ebc0af80c229982c532c32ccb'
+            'fab94e9db91e209609f5f4d9dea9d2e9a8257f937c03cbc0768d25b979c0a67a1bbd7143ec4dfb3ad3dee7323d9625f80f1de7a03fdb29643c41633347497639')
 
 prepare() {
   cd "${pkgname}-${pkgver}"
@@ -24,6 +26,7 @@
   # move plugins
   mv "${srcdir}/${pkgname}-plugins-${_plugins_pkgver}" "ImageLounge/plugins"
 
+  patch -p1 -i ../nomacs-iostream.patch # Add missing header
   # upstream patch for opencv >= 4.0.0:
   # https://github.com/nomacs/nomacs-plugins/issues/26
   cd ImageLounge/plugins

Added: nomacs-iostream.patch
===================================================================
--- nomacs-iostream.patch	                        (rev 0)
+++ nomacs-iostream.patch	2019-05-18 09:35:32 UTC (rev 467852)
@@ -0,0 +1,26 @@
+diff --git a/ImageLounge/src/DkCore/DkMetaData.cpp b/ImageLounge/src/DkCore/DkMetaData.cpp
+index d195757e..affec7be 100644
+--- a/ImageLounge/src/DkCore/DkMetaData.cpp
++++ b/ImageLounge/src/DkCore/DkMetaData.cpp
+@@ -42,6 +42,8 @@
+ #include <QApplication>
+ #pragma warning(pop)		// no warnings from includes - end
+ 
++#include <iostream>
++
+ namespace nmc {
+ 
+ // DkMetaDataT --------------------------------------------------------------------
+diff --git a/ImageLounge/src/DkGui/DkNoMacs.cpp b/ImageLounge/src/DkGui/DkNoMacs.cpp
+index 6a412f70..bbfba233 100644
+--- a/ImageLounge/src/DkGui/DkNoMacs.cpp
++++ b/ImageLounge/src/DkGui/DkNoMacs.cpp
+@@ -96,6 +96,8 @@
+ #include <QWinTaskbarButton>
+ #endif
+ 
++#include <iostream>
++
+ namespace nmc {
+ 
+ DkNomacsOSXEventFilter::DkNomacsOSXEventFilter(QObject *parent) : QObject(parent) {


More information about the arch-commits mailing list