[atanks] 01/03: Add freebsd-FTBFS.patch and fix FTBFS on kfreeBSD architectures.

Markus Koschany apo at moszumanska.debian.org
Sun Nov 27 21:46:55 UTC 2016


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

apo pushed a commit to branch master
in repository atanks.

commit 78667e5c14ced4d0b7cbbaf9cf740b30cedce7aa
Author: Markus Koschany <apo at debian.org>
Date:   Sun Nov 27 22:39:34 2016 +0100

    Add freebsd-FTBFS.patch and fix FTBFS on kfreeBSD architectures.
    
    Thanks: Jesse Smith for the patch.
    Closes: #845924
---
 debian/patches/freebsd-FTBFS.patch | 21 +++++++++++++++++++++
 debian/patches/series              |  1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/freebsd-FTBFS.patch b/debian/patches/freebsd-FTBFS.patch
new file mode 100644
index 0000000..177361c
--- /dev/null
+++ b/debian/patches/freebsd-FTBFS.patch
@@ -0,0 +1,21 @@
+From: Markus Koschany <apo at debian.org>
+Date: Sun, 27 Nov 2016 22:39:17 +0100
+Subject: freebsd FTBFS
+
+---
+ src/debug.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/debug.h b/src/debug.h
+index d86b1df..37e324b 100644
+--- a/src/debug.h
++++ b/src/debug.h
+@@ -26,7 +26,7 @@
+ # define ATANKS_IS_LINUX
+ #endif // Linux
+ 
+-#if !defined(ATANKS_IS_WINDOWS) && !defined(ATANKS_IS_LINUX)
++#if !defined(ATANKS_IS_WINDOWS) && !defined(ATANKS_IS_LINUX) && !defined(ATANKS_IS_BSD)
+ # error "Only Windows, Linux and BSD are supported at the moment"
+ #endif // Windows versus Linux
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f72b4d9
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+freebsd-FTBFS.patch

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



More information about the Pkg-games-commits mailing list