wok-next diff scim-pinyin/stuff/cstring-gcc43.patch @ rev 7217

Up: libfm
author Rohit Joshi <jozee@slitaz.org>
date Wed Nov 10 21:35:12 2010 -0500 (2010-11-10)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/scim-pinyin/stuff/cstring-gcc43.patch	Wed Nov 10 21:35:12 2010 -0500
     1.3 @@ -0,0 +1,40 @@
     1.4 +--- scim-pinyin-0.5.91.orig/src/scim_pinyin.cpp	Mon Aug  8 14:11:16 2005
     1.5 ++++ scim-pinyin-0.5.91/src/scim_pinyin.cpp	Mon Jun 22 12:24:33 2009
     1.6 +@@ -30,6 +30,7 @@
     1.7 + 
     1.8 + #include <scim.h>
     1.9 + #include "scim_pinyin.h"
    1.10 ++#include <cstring>
    1.11 + 
    1.12 + // Internal functions
    1.13 + static int
    1.14 +--- scim-pinyin-0.5.91.orig/src/scim_phrase.cpp	Thu Jan  6 21:30:58 2005
    1.15 ++++ scim-pinyin-0.5.91/src/scim_phrase.cpp	Mon Jun 22 12:25:33 2009
    1.16 +@@ -30,6 +30,7 @@
    1.17 + #include <scim.h>
    1.18 + #include "scim_pinyin_private.h"
    1.19 + #include "scim_phrase.h"
    1.20 ++#include <cstring>
    1.21 + 
    1.22 + static const char scim_phrase_lib_text_header [] = "SCIM_Phrase_Library_TEXT";
    1.23 + static const char scim_phrase_lib_binary_header [] = "SCIM_Phrase_Library_BINARY";
    1.24 +--- scim-pinyin-0.5.91.orig/src/scim_pinyin_phrase.cpp	Sat Aug  6 20:06:49 2005
    1.25 ++++ scim-pinyin-0.5.91/src/scim_pinyin_phrase.cpp	Mon Jun 22 12:26:12 2009
    1.26 +@@ -31,6 +31,7 @@
    1.27 + #include "scim_phrase.h"
    1.28 + #include "scim_pinyin.h"
    1.29 + #include "scim_pinyin_phrase.h"
    1.30 ++#include <cstring>
    1.31 + 
    1.32 + static const char scim_pinyin_lib_text_header [] = "SCIM_Pinyin_Library_TEXT";
    1.33 + static const char scim_pinyin_lib_binary_header [] = "SCIM_Pinyin_Library_BINARY";
    1.34 +--- scim-pinyin-0.5.91.orig/src/scim_special_table.cpp	Thu Jan  6 21:31:02 2005
    1.35 ++++ scim-pinyin-0.5.91/src/scim_special_table.cpp	Mon Jun 22 12:27:10 2009
    1.36 +@@ -24,6 +24,7 @@
    1.37 + #include <scim.h>
    1.38 + #include "scim_pinyin_private.h"
    1.39 + #include "scim_special_table.h"
    1.40 ++#include <cstring>
    1.41 + 
    1.42 + static inline String
    1.43 + _trim_blank (const String &str)