~ubuntu-branches/ubuntu/raring/sunpinyin/raring

« back to all changes in this revision

Viewing changes to debian/patches/fix-ftbfs-on-sh.patch

  • Committer: Package Import Robot
  • Author(s): YunQiang Su
  • Date: 2012-03-30 15:31:55 UTC
  • mfrom: (1.1.3) (1.2.7 sid)
  • Revision ID: package-import@ubuntu.com-20120330153155-qgls77sogzgtg9zp
Tags: 2.0.3+git20120222-1
* Team upload: git snapshot 20120222.
   - fix breaks if LDFLAGS in environment contains
       multiple words (Closese #646001).
   - rm patches merged to upstream:
       append-os-environ-toenv.patch
       fix-ftbfs-on-sh.patch
       remove-10-candidate-words-limitation.patch
   - refresh disable-lm-dict-compile.patch.
* Bump stardard version to 3.9.3: no modify needed.
* add libsunpinyin3-dbg and python-sunpinyin packages.
* debian/compat to 9, multiarch it.
* rewrite debian/rules with dh 7 format.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Fix FTBFS on SuperH platform, thanks to Nobuhiro Iwamatsu. 
2
 
--- a/SConstruct
3
 
+++ b/SConstruct
4
 
@@ -230,7 +230,7 @@
5
 
   || defined(_POWER)   || defined(__powerpc__) \
6
 
   || defined(__ppc__)  || defined(__hpux) || defined(__hppa) \
7
 
   || defined(_MIPSEB)  || defined(_POWER) \
8
 
-  || defined(__s390__)
9
 
+  || defined(__s390__) || (defined(__sh__) && defined(__BIG_ENDIAN__))
10
 
 # define WORDS_BIGENDIAN 1
11
 
 
12
 
 #elif defined(__i386__) || defined(__i386) \
13
 
@@ -240,7 +240,8 @@
14
 
   || defined(__amd64__) || defined(_M_AMD64) \
15
 
   || defined(__x86_64)  || defined(__x86_64__) \
16
 
   || defined(_M_X64)    || defined(__bfin__) \
17
 
-  || defined(__alpha__) || defined(__ARMEL__)
18
 
+  || defined(__alpha__) || defined(__ARMEL__) \
19
 
+  || (defined(__sh__) && defined(__LITTLE_ENDIAN__))
20
 
 # undef WORDS_BIGENDIAN
21
 
 
22
 
 #else