[qmapshack] 03/04: Add patch for Hurd support.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sat Mar 26 12:02:39 UTC 2016


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository qmapshack.

commit 70940b2086e054bf5c4b9785d510bb2816c4a9c1
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Mar 26 12:32:03 2016 +0100

    Add patch for Hurd support.
---
 debian/changelog          |  1 +
 debian/patches/hurd.patch | 15 +++++++++++++++
 debian/patches/series     |  1 +
 3 files changed, 17 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 46be319..f417a20 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 qmapshack (1.6.1-2) UNRELEASED; urgency=medium
 
   * Add patch for kFreeBSD support.
+  * Add patch for Hurd support.
 
  -- Bas Couwenberg <sebastic at debian.org>  Fri, 25 Mar 2016 21:34:34 +0100
 
diff --git a/debian/patches/hurd.patch b/debian/patches/hurd.patch
new file mode 100644
index 0000000..c67a32b
--- /dev/null
+++ b/debian/patches/hurd.patch
@@ -0,0 +1,15 @@
+Description: Add handling for GNU/Hurd.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://bitbucket.org/maproom/qmapshack/pull-requests/92
+
+--- a/src/setup/IAppSetup.cpp
++++ b/src/setup/IAppSetup.cpp
+@@ -36,7 +36,7 @@ IAppSetup* IAppSetup::getPlatformInstanc
+     {
+ #if defined(Q_OS_MAC)
+         instance = new CAppSetupMac();
+-#elif defined(Q_OS_LINUX) || defined(__FreeBSD_kernel__)
++#elif defined(Q_OS_LINUX) || defined(__FreeBSD_kernel__) || defined(__GNU__)
+         instance = new CAppSetupLinux();
+ #elif defined (Q_OS_WIN32)
+         instance = new CAppSetupWin();
diff --git a/debian/patches/series b/debian/patches/series
index 4e51702..4ef6508 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 original-typo.patch
 kfreebsd.patch
+hurd.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/qmapshack.git



More information about the Pkg-grass-devel mailing list