Source: marisa
Version: 0.2.4-8
Severity: wishlist
Tags: patch
User: debian-al...@lists.debian.org
Usertags: ftbfs

marisa FTBFS on Alpha due a test suite failure:

make[4]: Entering directory '/«PKGBUILDDIR»/tests'
FAIL: base-test

This test suite failure occurs because Alpha is not detected as a
64-bit architecture.

I attach a patch to include support for Alpha.

Cheers
Michael.
Index: marisa-0.2.4/lib/marisa/base.h
===================================================================
--- marisa-0.2.4.orig/lib/marisa/base.h
+++ marisa-0.2.4/lib/marisa/base.h
@@ -31,7 +31,8 @@ typedef uint64_t marisa_uint64;
 #if defined(_WIN64) || defined(__amd64__) || defined(__x86_64__) || \
     defined(__ia64__) || defined(__ppc64__) || defined(__powerpc64__) || \
     ( defined(__sparc__) && defined(__arch64__) ) || \
-    defined(__mips64) || defined(__aarch64__) || defined(__s390x__)
+    defined(__mips64) || defined(__aarch64__) || defined(__s390x__) || \
+    defined(__alpha__)
  #define MARISA_WORD_SIZE 64
 #else  // defined(_WIN64), etc.
  #define MARISA_WORD_SIZE 32

Reply via email to