diff options
Diffstat (limited to 'nixpkgs/pkgs/servers/misc/qremotecontrol-server/0001-fix-qt5-build-include-QDataStream.patch')
-rw-r--r-- | nixpkgs/pkgs/servers/misc/qremotecontrol-server/0001-fix-qt5-build-include-QDataStream.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/servers/misc/qremotecontrol-server/0001-fix-qt5-build-include-QDataStream.patch b/nixpkgs/pkgs/servers/misc/qremotecontrol-server/0001-fix-qt5-build-include-QDataStream.patch new file mode 100644 index 000000000000..0d6c9f15f3db --- /dev/null +++ b/nixpkgs/pkgs/servers/misc/qremotecontrol-server/0001-fix-qt5-build-include-QDataStream.patch @@ -0,0 +1,26 @@ +From 922d3dd36ac72b29ea21c4c728a922b43b19400e Mon Sep 17 00:00:00 2001 +From: Francesco Gazzetta <fgaz@fgaz.me> +Date: Tue, 14 Jun 2022 17:55:43 +0200 +Subject: [PATCH] Another Qt5 fix + +--- + qtsingleapplication/qtlocalpeer.cpp | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/qtsingleapplication/qtlocalpeer.cpp b/qtsingleapplication/qtlocalpeer.cpp +index 4a84036..e6ccc72 100644 +--- a/qtsingleapplication/qtlocalpeer.cpp ++++ b/qtsingleapplication/qtlocalpeer.cpp +@@ -41,6 +41,9 @@ + + #include "qtlocalpeer.h" + #include <QCoreApplication> ++#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)) ++#include <QDataStream> ++#endif + #include <QTime> + + #if defined(Q_OS_WIN) +-- +2.36.0 + |