Control: tags -1 + patch

Attached is a patch which replaces the long string of comparisons with
 __SIZEOF_LONG__, i.e.

-#if (_MIPS_SZPTR == 64 || __ia64 || __x86_64 || __alpha__ ||
__powerpc64__ || __s390x__ || __aarch64__)
+#if (__SIZEOF_LONG__ == 8)

I've uploaded inventor with this patch to Ubuntu and it built fine on
all architectures there [1], including riscv64.


[1] https://launchpad.net/ubuntu/+source/inventor/2.1.5-10-23ubuntu1
--- a/debian/patches/endianness.patch
+++ b/debian/patches/endianness.patch
@@ -53,7 +53,7 @@
  #endif
  
 +/* Added for Debian by Steve M. Robbins */
-+#if (_MIPS_SZPTR == 64 || __ia64 || __x86_64 || __alpha__ || __powerpc64__ || __s390x__ || __aarch64__)
++#if (__SIZEOF_LONG__ == 8)
 +#  define USE_64BIT_HACKS 1
 +#else
 +#  define USE_64BIT_HACKS 0
-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to