Bug#739186: inventor: FTBFS on s390x: error: cast from 'void*' to 'int' loses precision [-fpermissive]

Graham Inggs graham at nerve.org.za
Sun Mar 30 10:06:59 UTC 2014


Patch enabling s390x and aarch64 (arm64):

--- inventor-2.1.5-10/debian/patches/endianness.patch   2011-09-25
03:15:31.000000000 +0000
+++ inventor-2.1.5-10/debian/patches/endianness.patch   2014-03-30
12:05:39.000000000 +0200
@@ -53,7 +53,7 @@
  #endif

 +/* Added for Debian by Steve M. Robbins */
-+#if (_MIPS_SZPTR == 64 || __ia64 || __x86_64 || __alpha__ || __powerpc64__)
++#if (_MIPS_SZPTR == 64 || __ia64 || __x86_64 || __alpha__ ||
__powerpc64__ || __s390x__ || __aarch64__)
 +#  define USE_64BIT_HACKS 1
 +#else
 +#  define USE_64BIT_HACKS 0



More information about the debian-science-maintainers mailing list