On 二, 5月 06, 2008 at 10:44:57下午 +0800, Kov Chai wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > > 2008/5/6 ZhengPeng Hou <[EMAIL PROTECTED]>: > > > > ZhengPeng,谢谢你告诉我这个问题。我猜你的机器很可能是 ia64。如果是的话,这是 > 由于我们的 configure.ac > > 没有考虑这种情况造成的,我们仅仅对 i*86* 和 *sparc* 进行了处理。我正在上传新 > 的 sunpinyin package > > [1],在它里面改正了这个错误。就是把 i*86* 改成了 *86*,这样就能匹配 x86_64 了 > 。 > > > 不好意思,我使用的是powerpc,这两天没时间,不然我就帮你patch了. :) > > 啊,这样子:) > > 我用了更好的办法,用 AC_C_BIGENDIAN 宏来判断 endian 了。新的包 [1] 正在上传。 > > 谢谢你。 > > - -- > [1] dget > http://mentors.debian.net/debian/pool/main/s/sunpinyin/ > sunpinyin_1.0~hg20080501-1.dsc attached the patch
diff -ruNad sunpinyin-1.0~hg20080501-orig/src/ic_history.cpp sunpinyin-1.0~hg20080501/src/ic_history.cpp
--- sunpinyin-1.0~hg20080501-orig/src/ic_history.cpp 2008-05-07 03:25:07.000000000 +0000
+++ sunpinyin-1.0~hg20080501/src/ic_history.cpp 2008-05-07 03:27:23.000000000 +0000
@@ -40,6 +40,7 @@
#endif
#include "ic_history.h"
+#include <cstdlib>
const unsigned int CICHistory::DCWID = (unsigned int)-1;
diff -ruNad sunpinyin-1.0~hg20080501-orig/src/imi_context.cpp sunpinyin-1.0~hg20080501/src/imi_context.cpp
--- sunpinyin-1.0~hg20080501-orig/src/imi_context.cpp 2008-05-07 03:25:07.000000000 +0000
+++ sunpinyin-1.0~hg20080501/src/imi_context.cpp 2008-05-07 03:26:48.000000000 +0000
@@ -42,6 +42,7 @@
#include <math.h>
#include "imi_context.h"
#include "lattice_states.h"
+#include <algorithm>
class TSkelCursor {
diff -ruNad sunpinyin-1.0~hg20080501-orig/src/portability.h sunpinyin-1.0~hg20080501/src/portability.h
--- sunpinyin-1.0~hg20080501-orig/src/portability.h 2008-05-07 03:25:07.000000000 +0000
+++ sunpinyin-1.0~hg20080501/src/portability.h 2008-05-07 03:25:54.000000000 +0000
@@ -46,6 +46,7 @@
#include "host_cpu.h"
#include <string>
+#include <cstring>
#ifndef HOST_OS_GNUC_2
#if defined(DEBUG) && !defined(NDEBUG)
diff -ruNad sunpinyin-1.0~hg20080501-orig/wrapper/cle/imi_cle.cpp sunpinyin-1.0~hg20080501/wrapper/cle/imi_cle.cpp
--- sunpinyin-1.0~hg20080501-orig/wrapper/cle/imi_cle.cpp 2008-05-07 03:25:08.000000000 +0000
+++ sunpinyin-1.0~hg20080501/wrapper/cle/imi_cle.cpp 2008-05-07 03:28:02.000000000 +0000
@@ -40,6 +40,7 @@
#endif
#include <stdio.h>
+#include <cstdlib>
#include "ime.h"
signature.asc
Description: Digital signature

