nomacs: add missing headers
This commit is contained in:
parent
248014f053
commit
c74d21a38c
@ -27,6 +27,10 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "12582i5v85da7vwjxj8grj99hxg34ij5cn3b1578wspdfw1xfy1i";
|
sha256 = "12582i5v85da7vwjxj8grj99hxg34ij5cn3b1578wspdfw1xfy1i";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
./nomacs-iostream.patch
|
||||||
|
];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
setSourceRoot = ''
|
setSourceRoot = ''
|
||||||
|
26
pkgs/applications/graphics/nomacs/nomacs-iostream.patch
Normal file
26
pkgs/applications/graphics/nomacs/nomacs-iostream.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
diff --git a/src/DkCore/DkMetaData.cpp b/src/DkCore/DkMetaData.cpp
|
||||||
|
index d195757e..affec7be 100644
|
||||||
|
--- a/src/DkCore/DkMetaData.cpp
|
||||||
|
+++ b/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/src/DkGui/DkNoMacs.cpp b/src/DkGui/DkNoMacs.cpp
|
||||||
|
index 6a412f70..bbfba233 100644
|
||||||
|
--- a/src/DkGui/DkNoMacs.cpp
|
||||||
|
+++ b/src/DkGui/DkNoMacs.cpp
|
||||||
|
@@ -96,6 +96,8 @@
|
||||||
|
#include <QWinTaskbarButton>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#include <iostream>
|
||||||
|
+
|
||||||
|
namespace nmc {
|
||||||
|
|
||||||
|
DkNomacsOSXEventFilter::DkNomacsOSXEventFilter(QObject *parent) : QObject(parent) {
|
Loading…
Reference in New Issue
Block a user