diff options
Diffstat (limited to 'debian/patches/0001-Recognize-Hurd-platform.patch')
-rw-r--r-- | debian/patches/0001-Recognize-Hurd-platform.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/debian/patches/0001-Recognize-Hurd-platform.patch b/debian/patches/0001-Recognize-Hurd-platform.patch new file mode 100644 index 0000000..e26aa66 --- /dev/null +++ b/debian/patches/0001-Recognize-Hurd-platform.patch @@ -0,0 +1,32 @@ +From d0bc70fd146728fe281b656931da657283603ea9 Mon Sep 17 00:00:00 2001 +From: Thomas Preud'homme <robotux@celest.fr> +Date: Fri, 16 Feb 2018 23:09:42 +0000 +Subject: Recognize Hurd platform + +Building ultracopier on Hurd fails because PluginsManager.cpp checks for +various supported host platform (Linux, Mac OS X, Windows) and default +to giving an error. Given the code guarded by the Linux check, Hurd +should work as well. This patch thus changes the guard for that code to +also support Hurd. + +Author: Thomas Preud'homme <robotux@debian.org> +Forwarded: https://github.com/alphaonex86/Ultracopier/commit/af299782b9a0feb63a8097834a46400890d8f184 +Applied-Upstream: commit:af299782b9a0feb63a8097834a46400890d8f184 +Last-Update: 2018-02-25 +--- + PluginsManager.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/PluginsManager.cpp b/PluginsManager.cpp +index 95c158d..269e837 100644 +--- a/PluginsManager.cpp ++++ b/PluginsManager.cpp +@@ -907,7 +907,7 @@ void PluginsManager::newAuthPath(const std::string &path) + /// \brief transfor short plugin name into file name + std::string PluginsManager::getResolvedPluginName(const std::string &name) + { +- #if defined(Q_OS_LINUX) ++ #if defined(Q_OS_LINUX) || defined(Q_OS_HURD) + return "lib"+name+".so"; + #elif defined(Q_OS_MAC) + #if defined(QT_DEBUG) |