Bug#739186: inventor: FTBFS on s390x: error: cast from 'void*' to 'int' loses precision [-fpermissive]
Graham Inggs
graham at nerve.org.za
Mon Mar 31 05:20:59 UTC 2014
On 30 March 2014 12:06, Graham Inggs <graham at nerve.org.za> wrote:
> 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
I have uploaded a new version to Ubuntu including the changes above
(and those from #719485) and it built successfully on arm64 [1].
[1] https://launchpad.net/ubuntu/+source/inventor/2.1.5-10-17ubuntu2/+build/5864245
More information about the debian-science-maintainers
mailing list