Hi Aaron, I turned you hint into the attached patch but this leads to build failures (which I actually do not understand since your advise sounds quite logical). Any hint?
Kind regards Andreas. On Thu, Jun 25, 2015 at 03:23:56PM -0400, Aaron M. Ucko wrote: > Source: murasaki > Version: 1.68.6-2 > Severity: important > > Thanks for promptly fixing binary-only builds of murasaki in general. > However, I see that the kFreeBSD builds are still failing. The > problem appears to be that globaltypes.h defines WORDSIZE only for > Linux, Mac OS X, and "normal" FreeBSD (i.e., using the traditional BSD > userland). I would suggest patching the header to take advantage of > __WORDSIZE whenever possible, rather than assuming it will only be > present under Linux, by changing line 41 from #ifdef __linux__ to > #ifdef __WORDSIZE. > > _______________________________________________ > Debian-med-packaging mailing list > debian-med-packag...@lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging > -- http://fam-tille.de
Author: Andreas Tille <ti...@debian.org> Last-Update: Fri, 03 Jul 2015 18:45:15 +0200 Bug-Debian: http://bugs.debian.org/789971 Description: Use __WORDSIZE whereever it is available which is not only the case for Linux. This should enable build on kfreebsd arch. --- a/src/globaltypes.h +++ b/src/globaltypes.h @@ -38,7 +38,7 @@ typedef unsigned long word; //originally defined in sequence.h -#ifdef __linux__ +#ifdef __WORDSIZE #define WORDSIZE __WORDSIZE #else #if (defined(__FreeBSD__) && defined(__i386__)) || (defined (__APPLE__) && (defined (__ppc__) || defined (__i386__))) || defined(__MINGW32__)