diff options
author | daichi <daichi@FreeBSD.org> | 2012-05-01 14:41:06 +0800 |
---|---|---|
committer | daichi <daichi@FreeBSD.org> | 2012-05-01 14:41:06 +0800 |
commit | 16a4e75bb915567955e06d0545227a07c017a7ca (patch) | |
tree | e784a103bd0d57051f075aedfcdabaafd43a7065 /japanese | |
parent | ab30e3036a7eb1dbcab8ff1a7f31265f0f65d7a5 (diff) | |
download | freebsd-ports-gnome-16a4e75bb915567955e06d0545227a07c017a7ca.tar.gz freebsd-ports-gnome-16a4e75bb915567955e06d0545227a07c017a7ca.tar.zst freebsd-ports-gnome-16a4e75bb915567955e06d0545227a07c017a7ca.zip |
added a needed patch file
Diffstat (limited to 'japanese')
-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(): |