Control: tags -1 patch

Hi!

The attached debdiff contains a patch which fixes the problem by
declaring char as signed for two instances. Tested in an armhf
chroot. Works.

Thanks,
Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [email protected]
`. `'   Freie Universitaet Berlin - [email protected]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
diff -Nru tennix-1.1/debian/changelog tennix-1.1/debian/changelog
--- tennix-1.1/debian/changelog	2013-07-20 17:39:39.000000000 +0200
+++ tennix-1.1/debian/changelog	2017-03-16 13:11:58.000000000 +0100
@@ -1,3 +1,12 @@
+tennix (1.1-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * debia/patches/fix_signage_FTBFS.patch:
+    + add patch to fix FTBFS on architectures where
+      char is unsigned by default. (Closes: #857901)
+
+ -- John Paul Adrian Glaubitz <[email protected]>  Thu, 16 Mar 2017 13:11:58 +0100
+
 tennix (1.1-3) unstable; urgency=low
 
   * debian/control:
diff -Nru tennix-1.1/debian/patches/fix_signage_FTBFS.patch tennix-1.1/debian/patches/fix_signage_FTBFS.patch
--- tennix-1.1/debian/patches/fix_signage_FTBFS.patch	1970-01-01 01:00:00.000000000 +0100
+++ tennix-1.1/debian/patches/fix_signage_FTBFS.patch	2017-03-16 13:09:37.000000000 +0100
@@ -0,0 +1,24 @@
+Description: Fix FTBFS on architectures where char is unsigned
+Author: John Paul Adrian Glaubitz <[email protected]>
+Last-Update: 2017-03-16
+
+--- tennix-1.1.orig/game.h
++++ tennix-1.1/game.h
+@@ -94,7 +94,7 @@ typedef struct {
+     float move_y;
+     float move_z;
+     bool ground_hit;
+-    char last_hit_by;
++    signed char last_hit_by;
+     bool inhibit_gravity;
+ } Ball;
+ 
+@@ -107,7 +107,7 @@ enum PlayerDesire {
+ 
+ typedef struct {
+     InputDevice* input;
+-    char input_device_index;
++    signed char input_device_index;
+     float x;
+     float y;
+     float power;
diff -Nru tennix-1.1/debian/patches/series tennix-1.1/debian/patches/series
--- tennix-1.1/debian/patches/series	2013-07-20 12:53:28.000000000 +0200
+++ tennix-1.1/debian/patches/series	2017-03-16 13:09:04.000000000 +0100
@@ -1,3 +1,4 @@
 fix_FTBFS.patch
 do_not_delete_ChangeLog.patch
 fix_relro.patch
+fix_signage_FTBFS.patch

Reply via email to