Source: sunpinyin
Version: 3.0.0~rc1+ds1-1
Severity: normal
Tags: patch

Hello!

Could you add support for m68k similar to how it has been done
for risc64 in #898019?

You just need to test whether __m68k__is defined, m68k is a
big-endian architecture. Thus, the patch to add support for
m68k is simply:

--- SConstruct.orig     2018-08-01 22:38:20.302436927 +0200
+++ SConstruct  2018-08-01 22:39:18.646973822 +0200
@@ -321,7 +321,8 @@
   || defined(__ppc__)  || defined(__hpux) || defined(__hppa) \
   || defined(_MIPSEB)  || defined(_POWER) \
   || defined(__s390__) || (defined(__sh__) && defined(__BIG_ENDIAN__)) \
-  || defined(__AARCH64EB__)
+  || defined(__AARCH64EB__) \
+  || definied(__m68k__)
 # define WORDS_BIGENDIAN 1
 
 #elif defined(__i386__) || defined(__i386) \

Please include the patch for the next upload and also feel free
to upstream it.

Thanks,
Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
--- SConstruct.orig     2018-08-01 22:38:20.302436927 +0200
+++ SConstruct  2018-08-01 22:39:18.646973822 +0200
@@ -321,7 +321,8 @@
   || defined(__ppc__)  || defined(__hpux) || defined(__hppa) \
   || defined(_MIPSEB)  || defined(_POWER) \
   || defined(__s390__) || (defined(__sh__) && defined(__BIG_ENDIAN__)) \
-  || defined(__AARCH64EB__)
+  || defined(__AARCH64EB__) \
+  || definied(__m68k__)
 # define WORDS_BIGENDIAN 1
 
 #elif defined(__i386__) || defined(__i386) \

Reply via email to