[mozc] add more missing headers
Akira TAGOH
tagoh at fedoraproject.org
Mon Feb 13 04:52:24 UTC 2012
commit 43943f9d863c3a34eb0b43adea5f1ca02a7de2be
Author: Akira TAGOH <tagoh at redhat.com>
Date: Mon Feb 13 13:52:20 2012 +0900
add more missing headers
mozc-fix-build-fail.patch | 11 +++++++++++
mozc.spec | 2 +-
2 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/mozc-fix-build-fail.patch b/mozc-fix-build-fail.patch
index 92023ac..0d4c91e 100644
--- a/mozc-fix-build-fail.patch
+++ b/mozc-fix-build-fail.patch
@@ -1,3 +1,14 @@
+diff -pruN mozc-1.3.975.102.orig/gui/base/singleton_window_helper.cc mozc-1.3.975.102/gui/base/singleton_window_helper.cc
+--- mozc-1.3.975.102.orig/gui/base/singleton_window_helper.cc 2012-01-26 18:15:28.000000000 +0900
++++ mozc-1.3.975.102/gui/base/singleton_window_helper.cc 2012-02-13 13:51:34.000000000 +0900
+@@ -33,6 +33,7 @@
+ #include <windows.h>
+ #endif
+
++#include <unistd.h>
+ #include "base/base.h"
+ #include "base/file_stream.h"
+ #include "base/mutex.h"
diff -pruN mozc-1.3.975.102.orig/storage/lru_cache.h mozc-1.3.975.102/storage/lru_cache.h
--- mozc-1.3.975.102.orig/storage/lru_cache.h 2012-01-26 18:15:23.000000000 +0900
+++ mozc-1.3.975.102/storage/lru_cache.h 2012-02-13 13:32:11.000000000 +0900
diff --git a/mozc.spec b/mozc.spec
index 3fcd6c8..d51e0f3 100644
--- a/mozc.spec
+++ b/mozc.spec
@@ -141,7 +141,7 @@ to use mozc with XEmacs.
%patch2 -p1 -b .2-no-Werror
%patch3 -p1 -b .3-new-ibus
%patch4 -p1 -b .4-serverdir
-%patch5 -p1 -b .5-missing-cstring
+%patch5 -p1 -b .5-missing-headers
(cd data/dictionary;
python ../../dictionary/gen_zip_code_seed.py --zip_code=../../KEN_ALL.CSV --jigyosyo=../../JIGYOSYO.CSV >> dictionary09.txt;
)
More information about the scm-commits
mailing list