Codebase list mozc / 1873645
Update patch for kfreebsd support Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@debian.org> Nobuhiro Iwamatsu 11 years ago
1 changed file(s) with 11 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
11 Forwarded: None
22 Author: Nobuhiri Iwamatsu <iwamatsu@debian.org>
33 Bug-Debian: No
4 Last-Update: 2012-09-06
4 Last-Update: 2013-01-07
55
66 diff --git a/base/base.gyp b/base/base.gyp
77 index e2773bc..2f64dd8 100755
9090 1 + tm_time.tm_mon,
9191 tm_time.tm_mday,
9292 diff --git a/base/mutex.cc b/base/mutex.cc
93 index 4e34ec9..f6560b2 100755
93 index 4e34ec9..7379378 100755
9494 --- a/base/mutex.cc
9595 +++ b/base/mutex.cc
9696 @@ -61,7 +61,8 @@ namespace mozc {
103103 // Linux doesn't provide InterlockedCompareExchange-like function.
104104 inline int InterlockedCompareExchange(volatile int *target,
105105 int new_value,
106 @@ -298,7 +299,7 @@ Mutex::Mutex() {
107 pthread_mutexattr_init(&attr);
108 #if defined(OS_MACOSX)
109 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
110 -#elif defined(OS_LINUX)
111 +#elif defined(OS_LINUX) || defined(OS_GNU_KFREEBSD)
112 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_NP);
113 #else
114 #error "This platform is not supported."
106115 diff --git a/base/password_manager.cc b/base/password_manager.cc
107116 index b597d81..f960955 100755
108117 --- a/base/password_manager.cc