wok view scim-pinyin/stuff/cstring-gcc43.patch @ rev 19019
slitaz-base-files (303), slitaz-tools, tazdrop (975), tazinst-gui, tazinst (68)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 01 11:06:21 2016 +0200 (2016-04-01) |
parents | |
children |
line source
1 --- scim-pinyin-0.5.91.orig/src/scim_pinyin.cpp Mon Aug 8 14:11:16 2005
2 +++ scim-pinyin-0.5.91/src/scim_pinyin.cpp Mon Jun 22 12:24:33 2009
3 @@ -30,6 +30,7 @@
5 #include <scim.h>
6 #include "scim_pinyin.h"
7 +#include <cstring>
9 // Internal functions
10 static int
11 --- scim-pinyin-0.5.91.orig/src/scim_phrase.cpp Thu Jan 6 21:30:58 2005
12 +++ scim-pinyin-0.5.91/src/scim_phrase.cpp Mon Jun 22 12:25:33 2009
13 @@ -30,6 +30,7 @@
14 #include <scim.h>
15 #include "scim_pinyin_private.h"
16 #include "scim_phrase.h"
17 +#include <cstring>
19 static const char scim_phrase_lib_text_header [] = "SCIM_Phrase_Library_TEXT";
20 static const char scim_phrase_lib_binary_header [] = "SCIM_Phrase_Library_BINARY";
21 --- scim-pinyin-0.5.91.orig/src/scim_pinyin_phrase.cpp Sat Aug 6 20:06:49 2005
22 +++ scim-pinyin-0.5.91/src/scim_pinyin_phrase.cpp Mon Jun 22 12:26:12 2009
23 @@ -31,6 +31,7 @@
24 #include "scim_phrase.h"
25 #include "scim_pinyin.h"
26 #include "scim_pinyin_phrase.h"
27 +#include <cstring>
29 static const char scim_pinyin_lib_text_header [] = "SCIM_Pinyin_Library_TEXT";
30 static const char scim_pinyin_lib_binary_header [] = "SCIM_Pinyin_Library_BINARY";
31 --- scim-pinyin-0.5.91.orig/src/scim_special_table.cpp Thu Jan 6 21:31:02 2005
32 +++ scim-pinyin-0.5.91/src/scim_special_table.cpp Mon Jun 22 12:27:10 2009
33 @@ -24,6 +24,7 @@
34 #include <scim.h>
35 #include "scim_pinyin_private.h"
36 #include "scim_special_table.h"
37 +#include <cstring>
39 static inline String
40 _trim_blank (const String &str)