Source: sunpinyin Severity: normal Tags: patch upstream User: debian-ri...@lists.debian.org Usertags: riscv64
Hello, We need support in this package for the riscv64 architecture. I am attaching a patch that adds support. It applies cleanly when added last in the "series" file. Without it, it doesn't even start to build and it FTBFS. It would be great if you could include these changes and release a new version for unstable soonish. Thanks and cheers. -- Manuel A. Fernandez Montecelo <m...@debian.org>
Index: sunpinyin-3.0.0~git20160910/SConstruct =================================================================== --- sunpinyin-3.0.0~git20160910.orig/SConstruct +++ sunpinyin-3.0.0~git20160910/SConstruct @@ -333,6 +333,7 @@ def AppendEndianCheck(conf): || defined(_M_X64) || defined(__bfin__) \ || defined(__alpha__) || defined(__ARMEL__) \ || defined(_MIPSEL) || (defined(__sh__) && defined(__LITTLE_ENDIAN__)) \ + || defined(__riscv) \ || defined(__AARCH64EL__) # undef WORDS_BIGENDIAN
diff -Nru sunpinyin-3.0.0~git20160910/debian/changelog sunpinyin-3.0.0~git20160910/debian/changelog --- sunpinyin-3.0.0~git20160910/debian/changelog 2016-10-12 20:44:02.000000000 +0200 +++ sunpinyin-3.0.0~git20160910/debian/changelog 2018-05-05 23:54:46.000000000 +0200 @@ -1,3 +1,10 @@ +sunpinyin (3.0.0~git20160910-1+0.riscv64.1) unreleased; urgency=medium + + * Non-maintainer upload. + * riscv64: support, endianness + + -- Manuel A. Fernandez Montecelo <m...@debian.org> Sat, 05 May 2018 21:54:46 +0000 + sunpinyin (3.0.0~git20160910-1) unstable; urgency=medium * New upstream snapshot 20160910 diff -Nru sunpinyin-3.0.0~git20160910/debian/patches/riscv64-support.patch sunpinyin-3.0.0~git20160910/debian/patches/riscv64-support.patch --- sunpinyin-3.0.0~git20160910/debian/patches/riscv64-support.patch 1970-01-01 01:00:00.000000000 +0100 +++ sunpinyin-3.0.0~git20160910/debian/patches/riscv64-support.patch 2018-05-05 23:54:46.000000000 +0200 @@ -0,0 +1,12 @@ +Index: sunpinyin-3.0.0~git20160910/SConstruct +=================================================================== +--- sunpinyin-3.0.0~git20160910.orig/SConstruct ++++ sunpinyin-3.0.0~git20160910/SConstruct +@@ -333,6 +333,7 @@ def AppendEndianCheck(conf): + || defined(_M_X64) || defined(__bfin__) \ + || defined(__alpha__) || defined(__ARMEL__) \ + || defined(_MIPSEL) || (defined(__sh__) && defined(__LITTLE_ENDIAN__)) \ ++ || defined(__riscv) \ + || defined(__AARCH64EL__) + # undef WORDS_BIGENDIAN + diff -Nru sunpinyin-3.0.0~git20160910/debian/patches/series sunpinyin-3.0.0~git20160910/debian/patches/series --- sunpinyin-3.0.0~git20160910/debian/patches/series 2016-10-12 20:44:02.000000000 +0200 +++ sunpinyin-3.0.0~git20160910/debian/patches/series 2018-05-05 23:54:46.000000000 +0200 @@ -1 +1,2 @@ fix-data-dir.diff +riscv64-support.patch