r15873 - in packages/trunk/torus-trooper/debian: . patches
Markus Koschany
apo at moszumanska.debian.org
Thu Sep 8 23:36:04 UTC 2016
Author: apo
Date: 2016-09-08 23:36:03 +0000 (Thu, 08 Sep 2016)
New Revision: 15873
Added:
packages/trunk/torus-trooper/debian/patches/std.math.fabs.patch
Modified:
packages/trunk/torus-trooper/debian/changelog
packages/trunk/torus-trooper/debian/control
packages/trunk/torus-trooper/debian/patches/series
Log:
Release torus-trooper 0.22.dfsg1-11
Modified: packages/trunk/torus-trooper/debian/changelog
===================================================================
--- packages/trunk/torus-trooper/debian/changelog 2016-09-08 19:17:21 UTC (rev 15872)
+++ packages/trunk/torus-trooper/debian/changelog 2016-09-08 23:36:03 UTC (rev 15873)
@@ -1,3 +1,12 @@
+torus-trooper (0.22.dfsg1-11) unstable; urgency=medium
+
+ * Team upload.
+ * Declare compliance with Debian Policy 3.9.8.
+ * Add std.math.fabs.patch and fix FTBFS since std.math.fabs expects a float
+ value. Thanks to Lucas Nussbaum for the report. (Closes: #835712)
+
+ -- Markus Koschany <apo at debian.org> Fri, 09 Sep 2016 01:15:35 +0200
+
torus-trooper (0.22.dfsg1-10) unstable; urgency=medium
* Team upload.
Modified: packages/trunk/torus-trooper/debian/control
===================================================================
--- packages/trunk/torus-trooper/debian/control 2016-09-08 19:17:21 UTC (rev 15872)
+++ packages/trunk/torus-trooper/debian/control 2016-09-08 23:36:03 UTC (rev 15873)
@@ -7,7 +7,7 @@
libglu1-mesa-dev | libglu-dev, libgl1-mesa-dev | libgl-dev,
libsdl1.2-dev, libsdl-mixer1.2-dev, libbulletml-dev
Build-Conflicts: libphobos-4.4-dev
-Standards-Version: 3.9.6
+Standards-Version: 3.9.8
Homepage: http://www.asahi-net.or.jp/~cs8k-cyu/windows/tt_e.html
Vcs-Svn: svn://anonscm.debian.org/pkg-games/packages/trunk/torus-trooper/
Vcs-Browser: https://anonscm.debian.org/viewvc/pkg-games/packages/trunk/torus-trooper/
Modified: packages/trunk/torus-trooper/debian/patches/series
===================================================================
--- packages/trunk/torus-trooper/debian/patches/series 2016-09-08 19:17:21 UTC (rev 15872)
+++ packages/trunk/torus-trooper/debian/patches/series 2016-09-08 23:36:03 UTC (rev 15873)
@@ -10,3 +10,4 @@
dlang_v2.patch
lowest-level-position-602808.patch
libbulletml0v5-segfault.patch
+std.math.fabs.patch
Added: packages/trunk/torus-trooper/debian/patches/std.math.fabs.patch
===================================================================
--- packages/trunk/torus-trooper/debian/patches/std.math.fabs.patch (rev 0)
+++ packages/trunk/torus-trooper/debian/patches/std.math.fabs.patch 2016-09-08 23:36:03 UTC (rev 15873)
@@ -0,0 +1,25 @@
+From: Markus Koschany <apo at debian.org>
+Date: Fri, 9 Sep 2016 01:11:52 +0200
+Subject: std.math.fabs
+
+Debian-Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=835712
+Forwarded: no
+---
+ src/abagames/tt/shape.d | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/abagames/tt/shape.d b/src/abagames/tt/shape.d
+index 62d266c..3a344d7 100644
+--- a/src/abagames/tt/shape.d
++++ b/src/abagames/tt/shape.d
+@@ -439,8 +439,8 @@ public class Structure {
+ for (int i = 0; i < divNum; i++) {
+ float x1 = -0.5 + (1.0 / divNum) * i;
+ float x2 = x1 + (1.0 / divNum) * 0.8;
+- float y1 = -0.5 + (1.0 / divNum) * fabs(i - divNum / 2) * 2;
+- float y2 = -0.5 + (1.0 / divNum) * fabs(i + 0.8 - divNum / 2) * 2;
++ float y1 = -0.5 + (1.0 / divNum) * fabs(cast(float)i - divNum / 2) * 2;
++ float y2 = -0.5 + (1.0 / divNum) * fabs(cast(float)i + 0.8 - divNum / 2) * 2;
+ glBegin(GL_LINE_LOOP);
+ glVertex3f(x1, 0, y1);
+ glVertex3f(x2, 0, y2);
More information about the Pkg-games-commits
mailing list