summaryrefslogtreecommitdiff
path: root/community/fcitx-mozc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/fcitx-mozc/PKGBUILD')
-rw-r--r--community/fcitx-mozc/PKGBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/community/fcitx-mozc/PKGBUILD b/community/fcitx-mozc/PKGBUILD
index aa660d9e0..5ae0b925d 100644
--- a/community/fcitx-mozc/PKGBUILD
+++ b/community/fcitx-mozc/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 82225 2013-01-12 16:39:34Z fyan $
+# $Id: PKGBUILD 84175 2013-02-13 04:50:46Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: ponsfoot <cabezon dot hashimoto at gmail dot com>
@@ -13,7 +13,7 @@ pkgname=fcitx-mozc
pkgdesc="Fcitx Module of A Japanese Input Method for Chromium OS, Windows, Mac and Linux (the Open Source Edition of Google Japanese Input)"
pkgver=1.6.1187.102
_patchver=${pkgver}.3
-pkgrel=5
+pkgrel=6
arch=('i686' 'x86_64')
url="http://code.google.com/p/mozc/"
license=('custom')
@@ -33,6 +33,12 @@ build() {
ln -sf `which python2` ./python
PATH="${srcdir}:${PATH}"
+ # Fix compatibility with google-glog 0.3.3 (symbol conflict)
+ #CFLAGS="${CFLAGS} -DFLAGS_log_dir=FLAGS_mozc_log_dir"
+ #CXXFLAGS="${CXXFLAGS} -DFLAGS_log_dir=FLAGS_mozc_log_dir"
+ CFLAGS="${CFLAGS} -fvisibility=hidden"
+ CXXFLAGS="${CXXFLAGS} -fvisibility=hidden"
+
cd "${srcdir}/${_pkgbase}-${pkgver}"
rm unix/fcitx -rf