LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File missing-includes.patch of Package scim-pinyin (Project home:zhy20120210:failed_1)

diff -ru scim-pinyin-0.5.91.20060705.orig/src/scim_phrase.cpp scim-pinyin-0.5.91.20060705/src/scim_phrase.cpp
--- scim-pinyin-0.5.91.20060705.orig/src/scim_phrase.cpp	2005-01-06 14:30:58.000000000 +0100
+++ scim-pinyin-0.5.91.20060705/src/scim_phrase.cpp	2007-11-08 15:29:32.000000000 +0100
@@ -27,6 +27,8 @@
 
 #define SCIM_PHRASE_MAX_RELATION 1000
 
+#include <string.h>
+
 #include <scim.h>
 #include "scim_pinyin_private.h"
 #include "scim_phrase.h"
diff -ru scim-pinyin-0.5.91.20060705.orig/src/scim_pinyin.cpp scim-pinyin-0.5.91.20060705/src/scim_pinyin.cpp
--- scim-pinyin-0.5.91.20060705.orig/src/scim_pinyin.cpp	2006-07-05 12:35:23.000000000 +0200
+++ scim-pinyin-0.5.91.20060705/src/scim_pinyin.cpp	2007-11-08 15:20:49.000000000 +0100
@@ -28,6 +28,8 @@
 #define Uses_SCIM_CONFIG_PATH
 #define Uses_SCIM_LOOKUP_TABLE
 
+#include <string.h>
+
 #include <scim.h>
 #include "scim_pinyin.h"
 
diff -ru scim-pinyin-0.5.91.20060705.orig/src/scim_pinyin_phrase.cpp scim-pinyin-0.5.91.20060705/src/scim_pinyin_phrase.cpp
--- scim-pinyin-0.5.91.20060705.orig/src/scim_pinyin_phrase.cpp	2006-07-05 12:35:23.000000000 +0200
+++ scim-pinyin-0.5.91.20060705/src/scim_pinyin_phrase.cpp	2007-11-08 15:35:33.000000000 +0100
@@ -26,6 +26,8 @@
 #define Uses_SCIM_CONFIG_PATH
 #define Uses_SCIM_LOOKUP_TABLE
 
+#include <string.h>
+
 #include <scim.h>
 #include "scim_pinyin_private.h"
 #include "scim_phrase.h"
diff -ru scim-pinyin-0.5.91.20060705.orig/src/scim_special_table.cpp scim-pinyin-0.5.91.20060705/src/scim_special_table.cpp
--- scim-pinyin-0.5.91.20060705.orig/src/scim_special_table.cpp	2005-01-06 14:31:02.000000000 +0100
+++ scim-pinyin-0.5.91.20060705/src/scim_special_table.cpp	2007-11-08 15:40:41.000000000 +0100
@@ -21,6 +21,7 @@
 #define Uscs_C_STRING
 
 #include <time.h>
+#include <string.h>
 #include <scim.h>
 #include "scim_pinyin_private.h"
 #include "scim_special_table.h"