void-packages/srcpkgs/nomacs/patches/fix-build.patch
Matthias von Faber 5319e0fdca nomacs: fix build
2019-10-20 11:14:35 +02:00

39 lines
1.1 KiB
Diff

From 37805e3bc8753970127db101f4aa0c061bc5a70d Mon Sep 17 00:00:00 2001
From: Michael Palimaka <kensington@gentoo.org>
Date: Sun, 9 Jun 2019 19:15:28 +1000
Subject: [PATCH] Fix build with GCC9
---
ImageLounge/src/DkCore/DkMetaData.cpp | 2 ++
ImageLounge/src/DkGui/DkNoMacs.cpp | 2 ++
2 files changed, 4 insertions(+)
diff --git ImageLounge/src/DkCore/DkMetaData.cpp ImageLounge/src/DkCore/DkMetaData.cpp
index d195757e..affec7be 100644
--- ImageLounge/src/DkCore/DkMetaData.cpp
+++ 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 ImageLounge/src/DkGui/DkNoMacs.cpp ImageLounge/src/DkGui/DkNoMacs.cpp
index 6a412f70..bbfba233 100644
--- ImageLounge/src/DkGui/DkNoMacs.cpp
+++ ImageLounge/src/DkGui/DkNoMacs.cpp
@@ -96,6 +96,8 @@
#include <QWinTaskbarButton>
#endif
+#include <iostream>
+
namespace nmc {
DkNomacsOSXEventFilter::DkNomacsOSXEventFilter(QObject *parent) : QObject(parent) {
--
2.23.0