[qmapshack] 02/04: Add patch for kFreeBSD 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 f13c46b0d91853cb43a989fcb65d88c6857900cc
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Fri Mar 25 21:34:44 2016 +0100
Add patch for kFreeBSD support.
---
debian/changelog | 6 ++++++
debian/patches/kfreebsd.patch | 16 ++++++++++++++++
debian/patches/series | 1 +
3 files changed, 23 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 4484f0e..46be319 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+qmapshack (1.6.1-2) UNRELEASED; urgency=medium
+
+ * Add patch for kFreeBSD support.
+
+ -- Bas Couwenberg <sebastic at debian.org> Fri, 25 Mar 2016 21:34:34 +0100
+
qmapshack (1.6.1-1) unstable; urgency=medium
* New upstream release.
diff --git a/debian/patches/kfreebsd.patch b/debian/patches/kfreebsd.patch
new file mode 100644
index 0000000..c95e0f9
--- /dev/null
+++ b/debian/patches/kfreebsd.patch
@@ -0,0 +1,16 @@
+Description: Add support kFreeBSD ports, treat like Linux.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://bitbucket.org/maproom/qmapshack/pull-requests/91
+Applied-Upstream: https://bitbucket.org/maproom/qmapshack/commits/7e40795ba5cd3696eef315a8a94306d77941bb50
+
+--- 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)
++#elif defined(Q_OS_LINUX) || defined(__FreeBSD_kernel__)
+ instance = new CAppSetupLinux();
+ #elif defined (Q_OS_WIN32)
+ instance = new CAppSetupWin();
diff --git a/debian/patches/series b/debian/patches/series
index 7cc6c18..4e51702 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
original-typo.patch
+kfreebsd.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