[med-svn] [ball] 02/03: restore 0001-missingSigned.patch
Danny Edel
dannyedel-guest at moszumanska.debian.org
Tue May 10 20:37:31 UTC 2016
This is an automated email from the git hooks/post-receive script.
dannyedel-guest pushed a commit to branch master
in repository ball.
commit b8aef41ece58be4f6afe1c30cef3cc0376a8631b
Author: Danny Edel <mail at danny-edel.de>
Date: Tue May 10 20:44:01 2016 +0200
restore 0001-missingSigned.patch
On ARM, "char" is unsigned by default. This partly reverts
2d32f6aede2be0a8a7a88a0aee3f15a62f3aafb8 where I deleted it without
checking non-x86 compilation.
---
debian/patches/0001-missingSigned.patch | 32 ++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 33 insertions(+)
diff --git a/debian/patches/0001-missingSigned.patch b/debian/patches/0001-missingSigned.patch
new file mode 100644
index 0000000..6801495
--- /dev/null
+++ b/debian/patches/0001-missingSigned.patch
@@ -0,0 +1,32 @@
+From: Andreas Hildebrandt <ahildebr at uni-mainz.de>
+Date: Tue, 14 Aug 2012 17:14:31 +0200
+Subject: missingSigned
+
+===================================================================
+---
+ include/BALL/DATATYPE/hashGrid.h | 2 +-
+ source/DATATYPE/hashGrid.C | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+--- a/include/BALL/DATATYPE/hashGrid.h
++++ b/include/BALL/DATATYPE/hashGrid.h
+@@ -37,7 +37,7 @@ namespace BALL
+ {
+ namespace __private
+ {
+- extern const char BALL_EXPORT neighbour_table_[27][3];
++ extern const signed char BALL_EXPORT neighbour_table_[27][3];
+ }
+
+ template <typename Item> class HashGrid3;
+--- a/source/DATATYPE/hashGrid.C
++++ b/source/DATATYPE/hashGrid.C
+@@ -9,7 +9,7 @@ namespace BALL
+ {
+ namespace __private
+ {
+- const char neighbour_table_[27][3] =
++ const signed char neighbour_table_[27][3] =
+ {
+ { 0, 0, 0 }, { 0, 0, -1 }, { 0, 0, 1 },
+ { 0, -1, -1 }, { 0, -1, 0 }, { 0, -1, 1 },
diff --git a/debian/patches/series b/debian/patches/series
index 430bf7c..4152093 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+0001-missingSigned.patch
fix-compilation-of-BinaryFingerprintMethods_test.patch
fix-string-gcc5.patch
fix-poseClustering-with-boost-1.60.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/ball.git
More information about the debian-med-commit
mailing list