Bug#845924: Atanks fails to compile on kFreeBSD

Jesse Smith jessefrgsmith at yahoo.ca
Sun Nov 27 00:21:14 UTC 2016


Package: atanks
Version: 6.5

When attempting to compile the latest version of Atanks on the Debian
kFreeBSD port, the compilation fails due to a fault in detecting which
operating system Atanks is building on. This is a problem with the
upstream build system.

The Debian build log showing the failure can be found here:
https://buildd.debian.org/status/fetch.php?pkg=atanks&arch=kfreebsd-amd64&ver=6.5~dfsg-1&stamp=1480204118&file=log

I believe the issue has been fixed in the upstream code repository,
though the patch is not in any final release version of Atanks yet. A
patch which should fix the build issue on the Debian servers is attached.

- Jesse
-------------- next part --------------
diff --git a/Changelog b/Changelog
index 827931a..9a7808d 100644
--- a/Changelog
+++ b/Changelog
@@ -1,13 +1,5 @@
 NOTE: From now on, new changes appear at the top of this file.
 
-============ Atanks-6.5 released ===================
-
-	- Remove old Atanks binary during normal "make clean".
-
-	- Added patch from Debian which makes the build process reproducible.
-	  Thanks to Reiner Herrmann for submitting the patch. Closes
-	  Debian bug #842865.
-
 	Fixes:
 	- Falling damage that was caused by a driller or riot weapon, is now
 	  credited to the shooter of that weapon.
@@ -33,6 +25,15 @@ NOTE: From now on, new changes appear at the top of this file.
 	  nearer to the tank than on the point were the missile would explode
 	  if not shot down.
 
+============ Atanks-6.5 released ===================
+
+	- Remove old Atanks binary during normal "make clean".
+
+	- Added patch from Debian which makes the build process reproducible.
+	  Thanks to Reiner Herrmann for submitting the patch. Closes
+	  Debian bug #842865.
+
+
 ============ Atanks-6.4 released ===================
 	Service release with bug fixes and some improvements for the AI.
 	Fixes:
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
 


More information about the Pkg-games-devel mailing list