Codebase list mozc / f120bb2
Update debian/patches/support-kfreebsd.patch Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@debian.org> Nobuhiro Iwamatsu 13 years ago
1 changed file(s) with 64 addition(s) and 111 deletion(s). Raw diff Collapse all Expand all
0 From c962ec1fc61ef5cae36ec2494bf419bd604694c0 Mon Sep 17 00:00:00 2001
1 From: Nobuhiro Iwamatsu <iwamatsu@debian.org>
2 Date: Sat, 9 Oct 2010 08:15:18 +0900
3 Subject: [PATCH] Add support kfreebsd
4
5 Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@debian.org>
6 ---
7 base/const.h | 2 +-
8 base/cpu_stats.cc | 6 +-
9 base/flags.h | 2 +-
10 base/iconv.cc | 4 ++
11 base/logging.cc | 2 +-
12 base/mutex.cc | 3 +-
13 base/mutex.h | 6 ++-
14 base/password_manager.cc | 2 +-
15 base/process.cc | 8 ++--
16 base/run_level.cc | 2 +-
17 base/stats_config_util.cc | 2 +-
18 base/stats_config_util_test.cc | 2 +-
19 base/stopwatch.cc | 6 +-
20 base/util.cc | 19 +++++----
21 build_mozc.py | 66 +++++++++++++++++++++++++++++--
22 build_tools/mozc_version.py | 11 +++++
23 client/session.cc | 2 +-
24 dictionary/dictionary_preloader.cc | 4 +-
25 gui/base/locale_util.cc | 2 +-
26 gui/config_dialog/config_dialog.cc | 8 ++--
27 gui/config_dialog/keybinding_editor.cc | 2 +-
28 gui/config_dialog/keymap_editor.cc | 4 +-
29 gui/dictionary_tool/dictionary_tool.cc | 2 +-
30 gui/qt_common.gypi | 2 +-
31 gui/qt_libraries.gypi | 2 +-
32 gui/qt_moc.gypi | 2 +-
33 gui/qt_rcc.gypi | 2 +-
34 gui/qt_target_default.gypi | 2 +-
35 gui/qt_uic.gypi | 2 +-
36 gyp/common.gypi | 51 +++++++++++++++++++++++-
37 ipc/ipc_path_manager.cc | 6 +-
38 ipc/unix_ipc.cc | 12 +++--
39 protobuf/genproto.gypi | 2 +-
40 protobuf/protobuf.gyp | 4 +-
41 testing/testing.gyp | 2 +-
42 35 files changed, 190 insertions(+), 66 deletions(-)
43
440 diff --git a/base/const.h b/base/const.h
45 index 3d76bc9..16e041b 100755
1 index dd6d3e9..e252ae9 100755
462 --- a/base/const.h
473 +++ b/base/const.h
48 @@ -109,7 +109,7 @@ const char kEventPathPrefix[] = "GoogleJapaneseInput.event.";
4 @@ -107,7 +107,7 @@ const char kEventPathPrefix[] = "GoogleJapaneseInput.event.";
495 #else
506 const char kEventPathPrefix[] = "Mozc.event.";
517 #endif // GOOGLE_JAPANESE_INPUT_BUILD
5511 const char kEventPathPrefix[] = "mozc.event.";
5612 const char kMozcTool[] = "mozc_tool";
5713 diff --git a/base/cpu_stats.cc b/base/cpu_stats.cc
58 index 7279ff6..3b785ca 100755
14 index ef7ee3d..59094d9 100755
5915 --- a/base/cpu_stats.cc
6016 +++ b/base/cpu_stats.cc
6117 @@ -122,7 +122,7 @@ float CPUStats::GetSystemCPULoad() {
8642 return 1;
8743 #endif // OS_LINUX
8844 diff --git a/base/flags.h b/base/flags.h
89 index 2767113..81567c4 100755
45 index cc524c3..b2d8e79 100755
9046 --- a/base/flags.h
9147 +++ b/base/flags.h
9248 @@ -76,7 +76,7 @@ namespace {
9955 CrashReportHandler::Initialize(false);
10056 }
10157 diff --git a/base/iconv.cc b/base/iconv.cc
102 index e61031a..3ebd0eb 100755
58 index 79976b2..568395c 100755
10359 --- a/base/iconv.cc
10460 +++ b/base/iconv.cc
10561 @@ -52,7 +52,11 @@ void IconvHelper(iconv_t ic, const string &input, string *output) {
11571 return;
11672 }
11773 diff --git a/base/logging.cc b/base/logging.cc
118 index 3ba399b..cdba4a2 100755
74 index 6acf323..4a3e094 100755
11975 --- a/base/logging.cc
12076 +++ b/base/logging.cc
12177 @@ -212,7 +212,7 @@ string Logging::GetLogMessageHeader() {
12884 #else
12985 "%lu",
13086 diff --git a/base/mutex.cc b/base/mutex.cc
131 index 36f4dc3..79ed9b3 100755
87 index 433d954..2b3b01a 100755
13288 --- a/base/mutex.cc
13389 +++ b/base/mutex.cc
13490 @@ -44,7 +44,8 @@ namespace mozc {
14298 inline int InterlockedCompareExchange(volatile int *target,
14399 int new_value,
144100 diff --git a/base/mutex.h b/base/mutex.h
145 index 6d2d1e4..0f19a80 100755
101 index 5af82b9..07e280b 100755
146102 --- a/base/mutex.h
147103 +++ b/base/mutex.h
148104 @@ -86,10 +86,14 @@ class Mutex {
162118 pthread_mutexattr_init(&attr);
163119 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_VALUE);
164120 diff --git a/base/password_manager.cc b/base/password_manager.cc
165 index ce4cbdb..93f4490 100755
121 index 2a25e28..6b3b37e 100755
166122 --- a/base/password_manager.cc
167123 +++ b/base/password_manager.cc
168124 @@ -358,7 +358,7 @@ class MacPasswordManager : public PasswordManagerInterface {
175131 #endif
176132
177133 diff --git a/base/process.cc b/base/process.cc
178 index 57fb70e..b9c134d 100755
134 index 8f30cc4..7381959 100755
179135 --- a/base/process.cc
180136 +++ b/base/process.cc
181137 @@ -52,7 +52,7 @@
215171 const string arg = "--mode=error_message_dialog --error_type=" + error_type;
216172 size_t pid = 0;
217173 diff --git a/base/run_level.cc b/base/run_level.cc
218 index 87b0f0a..1578ad8 100755
174 index 6e9d53a..8652937 100755
219175 --- a/base/run_level.cc
220176 +++ b/base/run_level.cc
221177 @@ -38,7 +38,7 @@
228184 #include <sys/types.h>
229185 #endif
230186 diff --git a/base/stats_config_util.cc b/base/stats_config_util.cc
231 index d6a15ab..3588905 100755
187 index 9c53383..057280a 100755
232188 --- a/base/stats_config_util.cc
233189 +++ b/base/stats_config_util.cc
234190 @@ -336,7 +336,7 @@ bool MacStatsConfigUtilImpl::SetEnabled(bool val) {
241197 // TODO(toshiyuki): implement this
242198 public:
243199 diff --git a/base/stats_config_util_test.cc b/base/stats_config_util_test.cc
244 index 3052d86..fab4aa2 100755
200 index 9e15918..461e9ef 100755
245201 --- a/base/stats_config_util_test.cc
246202 +++ b/base/stats_config_util_test.cc
247203 @@ -840,7 +840,7 @@ TEST_F(StatsConfigUtilTestWin,
254210 EXPECT_FALSE(mozc::StatsConfigUtil::IsEnabled());
255211 }
256212 diff --git a/base/stopwatch.cc b/base/stopwatch.cc
257 index 5224b36..1b512d9 100755
213 index 15afad3..8ff2e29 100755
258214 --- a/base/stopwatch.cc
259215 +++ b/base/stopwatch.cc
260216 @@ -39,7 +39,7 @@
285241 if (-1 == clock_gettime(CLOCK_REALTIME, &timestamp)) {
286242 return 0;
287243 diff --git a/base/util.cc b/base/util.cc
288 index 6053277..f3be423 100755
244 index 047df55..58064df 100755
289245 --- a/base/util.cc
290246 +++ b/base/util.cc
291 @@ -1724,7 +1724,7 @@ string Util::GetServerDirectory() {
247 @@ -1831,7 +1831,7 @@ string Util::GetServerDirectory() {
292248 return MacUtil::GetServerDirectory();
293249 #endif // OS_MACOSX
294250
297253 return "/usr/lib/mozc";
298254 #endif // OS_LINUX
299255 }
300 @@ -1804,7 +1804,7 @@ string GetObjectNameAsString(HANDLE handle) {
256 @@ -1911,7 +1911,7 @@ string GetObjectNameAsString(HANDLE handle) {
301257 #endif
302258
303259 string Util::GetDesktopNameAsString() {
306262 const char *display = getenv("DISPLAY");
307263 if (display == NULL) {
308264 return "";
309 @@ -2248,7 +2248,7 @@ bool Util::IsPlatformSupported() {
265 @@ -2379,7 +2379,7 @@ bool Util::IsPlatformSupported() {
310266 #if defined(OS_MACOSX)
311267 // TODO(yukawa): support Mac.
312268 return true;
315271 // TODO(yukawa): support Linux.
316272 return true;
317273 #elif defined(OS_WINDOWS)
318 @@ -2619,18 +2619,19 @@ string Util::GetOSVersionString() {
274 @@ -2750,18 +2750,19 @@ string Util::GetOSVersionString() {
319275 } else {
320276 LOG(WARNING) << "GetVersionEx failed";
321277 }
339295 }
340296
341297 void Util::DisableIME() {
342 @@ -2664,7 +2665,7 @@ uint64 Util::GetTotalPhysicalMemory() {
298 @@ -2795,7 +2796,7 @@ uint64 Util::GetTotalPhysicalMemory() {
343299 return 0;
344300 }
345301 return total_memory;
348304 #if defined(_SC_PAGESIZE) && defined(_SC_PHYS_PAGES)
349305 const long page_size = sysconf(_SC_PAGESIZE);
350306 const long number_of_phyisical_pages = sysconf(_SC_PHYS_PAGES);
351 @@ -2690,7 +2691,7 @@ void Util::PreloadMappedRegion(const void *begin,
307 @@ -2821,7 +2822,7 @@ void Util::PreloadMappedRegion(const void *begin,
352308 ::ZeroMemory(&system_info, sizeof(system_info));
353309 ::GetSystemInfo(&system_info);
354310 const size_t page_size = system_info.dwPageSize;
358314 const size_t page_size = sysconf(_SC_PAGESIZE);
359315 #else
360316 diff --git a/build_mozc.py b/build_mozc.py
361 index 3ac32e4..0eb8445 100755
317 index 8e64c3e..88147e8 100755
362318 --- a/build_mozc.py
363319 +++ b/build_mozc.py
364 @@ -71,6 +71,14 @@ def IsLinux():
320 @@ -72,6 +72,14 @@ def IsLinux():
365321 """Returns true if the platform is Linux."""
366322 return os.name == 'posix' and os.uname()[0] == 'Linux'
367323
376332
377333 # TODO(yukawa): Move this function to util.py (b/2715400)
378334 def GetNumberOfProcessors():
379 @@ -86,7 +94,7 @@ def GetNumberOfProcessors():
335 @@ -87,7 +95,7 @@ def GetNumberOfProcessors():
380336 commands = ['sysctl', '-n', 'hw.ncpu']
381337 process = subprocess.Popen(commands, stdout=subprocess.PIPE)
382338 return int(process.communicate()[0])
385341 # Count the number of 'vendor_id' in /proc/cpuinfo, assuming that
386342 # each line corresponds to one logical CPU.
387343 cpuinfo = open('/proc/cpuinfo', 'r')
388 @@ -183,7 +191,7 @@ def GetGypFileNames():
344 @@ -184,7 +192,7 @@ def GetGypFileNames():
389345 gyp_file_names.extend(glob.glob('%s/win32/*/*.gyp' % SRC_DIR))
390346 gyp_file_names.extend(glob.glob('third_party/breakpad/*.gyp'))
391347 gyp_file_names.append('third_party/mozc/sandbox/sandbox.gyp')
394350 gyp_file_names.extend(glob.glob('%s/unix/*/*.gyp' % SRC_DIR))
395351 # Add ibus.gyp if ibus is installed.
396352 # Ubuntu 8.04 (Hardy) does not contain ibus package.
397 @@ -256,7 +264,7 @@ def CleanBuildFilesAndDirectories():
353 @@ -257,7 +265,7 @@ def CleanBuildFilesAndDirectories():
398354 elif IsMac():
399355 directory_names.extend(glob.glob(os.path.join(gyp_directory_name,
400356 '*.xcodeproj')))
403359 file_names.extend(glob.glob(os.path.join(gyp_directory_name,
404360 '*.target.mk')))
405361 file_names.append('%s/mozc_version.txt' % SRC_DIR)
406 @@ -270,6 +278,10 @@ def CleanBuildFilesAndDirectories():
362 @@ -271,6 +279,10 @@ def CleanBuildFilesAndDirectories():
407363 file_names.append('Makefile')
408364 elif IsWindows():
409365 file_names.append('third_party/breakpad/breakpad.gyp')
414370 # Remove files.
415371 for file_name in file_names:
416372 RemoveFile(file_name)
417 @@ -351,6 +363,8 @@ def GypMain(deps_file_name):
373 @@ -357,6 +369,8 @@ def GypMain(deps_file_name):
418374 command_line.extend(['-D', 'use_qt=NO'])
419375 if options.coverage:
420376 command_line.extend(['-D', 'coverage=1'])
423379
424380 command_line.extend(['-D', 'build_base=%s' % GetBuildBaseName(options)])
425381
426 @@ -393,6 +407,8 @@ def RunTests(configuration, calculate_coverage):
382 @@ -402,6 +416,8 @@ def RunTests(configuration, unused_calculate_coverage):
427383 base_path = os.path.join('out_linux', configuration)
428384 elif IsWindows():
429385 base_path = os.path.join('out_win', configuration)
432388 else:
433389 logging.error('Unsupported platform: %s', os.name)
434390 return
435 @@ -536,13 +552,14 @@ def ParseGypOptions():
436 parser.add_option('--build_base', dest='build_base',
437 help='specify the base directory of the built binaries.')
391 @@ -550,13 +566,14 @@ def ParseGypOptions():
392 'This flag is false by default because it may require you '
393 'to install libchewing in your environment.')
438394
439395 -
440396 # Linux environment can build both for Linux and ChromeOS.
448404 (options, unused_args) = parser.parse_args()
449405 return options
450406
451 @@ -655,6 +672,7 @@ def BuildOnLinux(options, targets):
407 @@ -674,6 +691,7 @@ def BuildOnLinux(options, targets):
452408 target_names.append(target_name)
453409
454410 make_command = os.getenv('BUILD_COMMAND', 'make')
456412 # flags for building in Chrome OS chroot environment
457413 envvars = [
458414 'CFLAGS',
459 @@ -669,7 +687,7 @@ def BuildOnLinux(options, targets):
415 @@ -688,7 +706,7 @@ def BuildOnLinux(options, targets):
460416 for envvar in envvars:
461417 if envvar in os.environ:
462418 os.environ[envvar] = os.getenv(envvar)
465421 # set output directory
466422 os.environ['builddir_name'] = 'out_linux'
467423
468 @@ -679,6 +697,42 @@ def BuildOnLinux(options, targets):
424 @@ -698,6 +716,42 @@ def BuildOnLinux(options, targets):
469425
470426 RunOrDie([make_command] + build_args + target_names)
471427
508464
509465 def CheckFileOrDie(file_name):
510466 """Check the file exists or dies if not."""
511 @@ -771,6 +825,8 @@ def BuildMain(original_directory_name):
467 @@ -790,6 +844,8 @@ def BuildMain(original_directory_name):
512468 BuildOnMac(options, targets, original_directory_name)
513469 elif IsLinux():
514470 BuildOnLinux(options, targets)
518474 BuildOnWindows(options, targets, original_directory_name)
519475 else:
520476 diff --git a/build_tools/mozc_version.py b/build_tools/mozc_version.py
521 index 42af980..700cf53 100755
477 index 0717592..52d8477 100755
522478 --- a/build_tools/mozc_version.py
523479 +++ b/build_tools/mozc_version.py
524480 @@ -57,6 +57,13 @@ def IsLinux():
547503 return revision[0:-1] + last_digit
548504
549505 diff --git a/client/session.cc b/client/session.cc
550 index 4557a0a..72c10f6 100755
506 index 9b113d1..8d36ef5 100755
551507 --- a/client/session.cc
552508 +++ b/client/session.cc
553 @@ -847,7 +847,7 @@ bool Session::LaunchTool(const string &mode, const string &extra_arg) {
509 @@ -848,7 +848,7 @@ bool Session::LaunchTool(const string &mode, const string &extra_arg) {
554510 return false;
555511 }
556512
560516 if (!extra_arg.empty()) {
561517 arg += " ";
562518 diff --git a/dictionary/dictionary_preloader.cc b/dictionary/dictionary_preloader.cc
563 index c9a7044..b023ffc 100755
519 index 5c08288..baf8858 100755
564520 --- a/dictionary/dictionary_preloader.cc
565521 +++ b/dictionary/dictionary_preloader.cc
566522 @@ -89,7 +89,7 @@ bool IsPreloadable(const char *image, size_t size) {
582538 return;
583539 }
584540 diff --git a/gui/base/locale_util.cc b/gui/base/locale_util.cc
585 index 2e32f21..a825086 100755
541 index 827fd28..52c881b 100755
586542 --- a/gui/base/locale_util.cc
587543 +++ b/gui/base/locale_util.cc
588544 @@ -198,7 +198,7 @@ TranslationDataImpl::TranslationDataImpl()
595551 // Even if the locale is not English nor Japanese, load translation
596552 // file to translate common messages like "OK" and "Cancel".
597553 diff --git a/gui/config_dialog/config_dialog.cc b/gui/config_dialog/config_dialog.cc
598 index bb0f4ee..74e08fd 100755
554 index 9ca0af8..02b13ed 100755
599555 --- a/gui/config_dialog/config_dialog.cc
600556 +++ b/gui/config_dialog/config_dialog.cc
601557 @@ -74,11 +74,11 @@ ConfigDialog::ConfigDialog()
631587 static_cast<int>(config.preedit_method()) ||
632588 initial_use_keyboard_to_change_preedit_method_ !=
633589 diff --git a/gui/config_dialog/keybinding_editor.cc b/gui/config_dialog/keybinding_editor.cc
634 index 6749dcb..17d90da 100755
590 index f3301d0..9247dcd 100755
635591 --- a/gui/config_dialog/keybinding_editor.cc
636592 +++ b/gui/config_dialog/keybinding_editor.cc
637593 @@ -443,7 +443,7 @@ bool KeyBindingFilter::eventFilter(QObject *obj, QEvent *event) {
644600 // Seems that even after clicking the button for the keybinding dialog,
645601 // the edit is not raised. This might be a bug of setFocusProxy.
646602 diff --git a/gui/config_dialog/keymap_editor.cc b/gui/config_dialog/keymap_editor.cc
647 index adfe645..ebbe3f2 100755
603 index 5bc096d..c3b45d3 100755
648604 --- a/gui/config_dialog/keymap_editor.cc
649605 +++ b/gui/config_dialog/keymap_editor.cc
650 @@ -93,7 +93,7 @@ class KeyMapValidator {
606 @@ -94,7 +94,7 @@ class KeyMapValidator {
651607 invisible_commands_.insert(kReportBugCommand);
652608 // Old command name.
653609 invisible_commands_.insert(kEditInsertCommand);
656612 // On Mac/Linux, we cannot customize keybindings for IME ON/OFF
657613 // So we do not show them.
658614 // TODO(toshiyuki): remove them after implimenting IME ON/OFF for Mac
659 @@ -446,7 +446,7 @@ bool KeyMapEditorDialog::Update() {
615 @@ -447,7 +447,7 @@ bool KeyMapEditorDialog::Update() {
660616 *keymap_table += invisible_keymap_table_;
661617
662618 if (new_ime_switch_keymap != ime_switch_keymap_) {
666622 this,
667623 tr("Mozc settings"),
668624 diff --git a/gui/dictionary_tool/dictionary_tool.cc b/gui/dictionary_tool/dictionary_tool.cc
669 index 44e6b12..a18ca29 100755
625 index 3bfc372..525b4ff 100755
670626 --- a/gui/dictionary_tool/dictionary_tool.cc
671627 +++ b/gui/dictionary_tool/dictionary_tool.cc
672 @@ -304,7 +304,7 @@ DictionaryTool::DictionaryTool(QWidget *parent)
628 @@ -305,7 +305,7 @@ DictionaryTool::DictionaryTool(QWidget *parent)
673629 }
674630
675631 // main window
679635 // TODO(taku): investigate the cause of the crashes
680636 setCentralWidget(splitter_);
681637 diff --git a/gui/qt_common.gypi b/gui/qt_common.gypi
682 index 66112ed..6d82f54 100755
638 index ba6989a..ff9a5c5 100755
683639 --- a/gui/qt_common.gypi
684640 +++ b/gui/qt_common.gypi
685641 @@ -33,7 +33,7 @@
692648 },{ # OS!="linux"
693649 'qt_cflags': '<(qt_basepath)/include',
694650 diff --git a/gui/qt_libraries.gypi b/gui/qt_libraries.gypi
695 index c1b905a..597daa1 100755
651 index 8b035cf..731b7ce 100755
696652 --- a/gui/qt_libraries.gypi
697653 +++ b/gui/qt_libraries.gypi
698654 @@ -44,7 +44,7 @@
705661 'libraries': [
706662 ' <!@(pkg-config --libs QtCore QtGui)',
707663 diff --git a/gui/qt_moc.gypi b/gui/qt_moc.gypi
708 index f0992a2..bef23fe 100755
664 index 81e6015..d768b10 100755
709665 --- a/gui/qt_moc.gypi
710666 +++ b/gui/qt_moc.gypi
711667 @@ -31,7 +31,7 @@
718674 },{ # OS!="linux"
719675 'moc_path': '<(qt_basepath)/bin/moc<(EXECUTABLE_SUFFIX)',
720676 diff --git a/gui/qt_rcc.gypi b/gui/qt_rcc.gypi
721 index 2dd06c6..d163695 100755
677 index 0649510..33637da 100755
722678 --- a/gui/qt_rcc.gypi
723679 +++ b/gui/qt_rcc.gypi
724680 @@ -31,7 +31,7 @@
731687 'rcc_path': '<!(pkg-config --variable=exec_prefix QtGui)/bin/rcc',
732688 },{ # OS!="linux"
733689 diff --git a/gui/qt_target_default.gypi b/gui/qt_target_default.gypi
734 index c168f75..b1aa629 100755
690 index 855da5f..2a437af 100755
735691 --- a/gui/qt_target_default.gypi
736692 +++ b/gui/qt_target_default.gypi
737693 @@ -91,7 +91,7 @@
744700 'configurations': {
745701 'Common_Base': {
746702 diff --git a/gui/qt_uic.gypi b/gui/qt_uic.gypi
747 index cfaa397..1157c0e 100755
703 index 8cb765d..c61af9f 100755
748704 --- a/gui/qt_uic.gypi
749705 +++ b/gui/qt_uic.gypi
750706 @@ -31,7 +31,7 @@
757713 },{ # OS!="linux"
758714 'uic_path': '<(qt_basepath)/bin/uic<(EXECUTABLE_SUFFIX)',
759715 diff --git a/gyp/common.gypi b/gyp/common.gypi
760 index bb8213f..3efd0fd 100755
716 index 6a7e7a6..651469e 100755
761717 --- a/gyp/common.gypi
762718 +++ b/gyp/common.gypi
763 @@ -202,7 +202,7 @@
719 @@ -206,7 +206,7 @@
764720 },
765721 },
766722 'conditions': [
769725 'cflags': [
770726 '<@(debug_extra_cflags)',
771727 ],
772 @@ -241,7 +241,7 @@
728 @@ -245,7 +245,7 @@
773729 },
774730 },
775731 'conditions': [
778734 'cflags': [
779735 '<@(release_extra_cflags)',
780736 ],
781 @@ -453,6 +453,51 @@
737 @@ -457,6 +457,51 @@
782738 }],
783739 ],
784740 }],
830786 ['OS=="mac"', {
831787 'defines': [
832788 'OS_MACOSX',
833 @@ -508,7 +553,7 @@
789 @@ -512,7 +557,7 @@
834790 # Linux gyp (into scons) doesn't like target_conditions?
835791 # TODO(team): track down why 'target_conditions' doesn't work
836792 # on Linux gyp into scons like it does on Mac gyp into xcodeproj.
840796 '-fprofile-arcs' ],
841797 'link_settings': { 'libraries': [ '-lgcov' ] },
842798 diff --git a/ipc/ipc_path_manager.cc b/ipc/ipc_path_manager.cc
843 index 392ee0d..60924cb 100755
799 index da0fa0c..2c9590c 100755
844800 --- a/ipc/ipc_path_manager.cc
845801 +++ b/ipc/ipc_path_manager.cc
846802 @@ -265,7 +265,7 @@ bool IPCPathManager::GetPathName(string *ipc_name) {
871827 LOG(WARNING) << server_path << " on disk is modified";
872828 // If a user updates the server binary on disk during the server is running,
873829 diff --git a/ipc/unix_ipc.cc b/ipc/unix_ipc.cc
874 index dce1541..158e872 100755
830 index 3085320..5e8c080 100755
875831 --- a/ipc/unix_ipc.cc
876832 +++ b/ipc/unix_ipc.cc
877833 @@ -28,7 +28,8 @@
919875 +#endif // defined(OS_LINUX) || defined(OS_MACOSX) ||\
920876 + // defined(OS_FREEBSD) || defined(OS_GNU_KFREEBSD)
921877 diff --git a/protobuf/genproto.gypi b/protobuf/genproto.gypi
922 index b5aba7f..8f209cb 100755
878 index 38d8eef..b821e7c 100755
923879 --- a/protobuf/genproto.gypi
924880 +++ b/protobuf/genproto.gypi
925881 @@ -39,7 +39,7 @@
932888 'protoc_command%': '<(relative_dir)/<(mozc_build_tools_dir)/protoc<(EXECUTABLE_SUFFIX)',
933889 },
934890 diff --git a/protobuf/protobuf.gyp b/protobuf/protobuf.gyp
935 index 0b8ca63..449167c 100755
891 index 40fc11f..67b244a 100755
936892 --- a/protobuf/protobuf.gyp
937893 +++ b/protobuf/protobuf.gyp
938894 @@ -116,7 +116,7 @@
954910 '../gyp/install_build_tool.gypi',
955911 ],
956912 diff --git a/testing/testing.gyp b/testing/testing.gyp
957 index 22a659c..1dd505c 100755
913 index ac62b03..03a99f5 100755
958914 --- a/testing/testing.gyp
959915 +++ b/testing/testing.gyp
960916 @@ -49,7 +49,7 @@
966922 'dependencies': [
967923 'testing',
968924 ],
969 --
970 1.7.4.1
971