diff options
-rw-r--r-- | japanese/mozc-server/files/patch-build_tools_util.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/japanese/mozc-server/files/patch-build_tools_util.py b/japanese/mozc-server/files/patch-build_tools_util.py new file mode 100644 index 000000000000..764ee9d0faf7 --- /dev/null +++ b/japanese/mozc-server/files/patch-build_tools_util.py @@ -0,0 +1,11 @@ +--- build_tools/util.py.orig 2012-05-01 12:21:08.135692337 +0900 ++++ build_tools/util.py 2012-05-01 13:03:43.227693771 +0900 +@@ -54,7 +54,7 @@ + + def IsLinux(): + """Returns true if the platform is Linux.""" +- return os.name == 'posix' and os.uname()[0] == 'Linux' ++ return os.name == 'posix' and ( os.uname()[0] == 'Linux' or os.uname()[0] == 'FreeBSD' ) + + + def GetNumberOfProcessors(): |