add patch for arm/mips FTBS
authorOlivier Sallou <osallou@debian.org>
Tue, 25 Sep 2012 08:44:44 +0000 (08:44 +0000)
committerOlivier Sallou <osallou@debian.org>
Tue, 25 Sep 2012 08:44:44 +0000 (08:44 +0000)
debian/changelog
debian/patches/fix_arm_mips_build [new file with mode: 0644]

index 9950d907ed5ab904e3917179177e2e980ecb735e..1c627cfdc22b4872c09d20f41cc40fe46cadab24 100644 (file)
@@ -1,3 +1,10 @@
+ncbi-blast+ (2.2.27-2) UNRELEASED; urgency=low
+
+  * debian/patches/fix_arm_mips_build: Fix FTBS on ARM and MIPS
+    (Closes: #688661).
+
+ -- Olivier Sallou <osallou@debian.org>  Mon, 24 Sep 2012 09:28:29 +0200
+
 ncbi-blast+ (2.2.27-1) unstable; urgency=low
 
   * New upstream release 
diff --git a/debian/patches/fix_arm_mips_build b/debian/patches/fix_arm_mips_build
new file mode 100644 (file)
index 0000000..017298a
--- /dev/null
@@ -0,0 +1,19 @@
+Subject: FTBS issue on ARM and MIPS
+Descrition: switch NCBI_BIG_TYPE's baseline to Int8 from NCBI_INT8_TYPE
+ to fix build failures on Linux systems with ARM or MIPS processors,
+ which have inttypes.h and lack an extra-wide scalar type.
+ Bug fixed upstream.
+Last-Updated: 2012-09-25
+Author: Aaron Ucko <ucko@debian.org>
+Forwarded: not-needed
+--- trunk/c++/include/corelib/ncbitype.h       2012/06/01 19:13:24     54673
++++ trunk/c++/include/corelib/ncbitype.h       2012/09/24 14:15:47     55773
+@@ -150,7 +150,7 @@
+ /* BigScalar
+  */
+-#define NCBI_BIG_TYPE NCBI_INT8_TYPE
++#define NCBI_BIG_TYPE Int8
+ #define SIZEOF_NCBI_BIG 8
+ #if (SIZEOF_LONG_DOUBLE > SIZEOF_NCBI_BIG)
+ #  undef  NCBI_BIG_TYPE