diff options
author | Daniel Glassey <wdg@debian.org> | 2018-11-03 09:22:37 +0700 |
---|---|---|
committer | Daniel Glassey <wdg@debian.org> | 2018-11-03 09:38:22 +0700 |
commit | 2668c9c9909d47da62e75d5e7cb1a69c62fa9c55 (patch) | |
tree | 20a6e4115c2805f316f2a425e7ad5d7bd72e5e56 | |
parent | 087f7653c74dcb42ee473ca9747e446b5361d17b (diff) |
patch for powerpc64
fixes xiphos FTBFS
-rw-r--r-- | debian/patches/0006-powerpc64.patch | 18 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 19 insertions, 0 deletions
diff --git a/debian/patches/0006-powerpc64.patch b/debian/patches/0006-powerpc64.patch new file mode 100644 index 0000000..fde9b1c --- /dev/null +++ b/debian/patches/0006-powerpc64.patch @@ -0,0 +1,18 @@ +Index: sword/include/sysdata.h +=================================================================== +--- sword.orig/include/sysdata.h ++++ sword/include/sysdata.h +@@ -42,8 +42,13 @@ typedef unsigned int __u32; + + #ifdef OS_ANDROID + #elif defined(__GNUC__) ++ #if !defined(__SANE_USERSPACE_TYPES__) && defined(__powerpc64__) ++ typedef __signed__ long __s64; ++ typedef unsigned long __u64; ++ #else + __extension__ typedef __signed__ long long __s64; + __extension__ typedef unsigned long long __u64; ++ #endif + #elif defined(__BORLANDC__) + typedef signed __int64 __s64; + typedef unsigned __int64 __u64; diff --git a/debian/patches/series b/debian/patches/series index aa6a9d2..41cd01e 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -3,3 +3,4 @@ abicompare.patch 0003-use-PKG_PROG_PKG_CONFIG-cross-compilation.patch 0004-automake-subdir-objects.patch 0005-untgz-sprintf.patch +0006-powerpc64.patch |