summaryrefslogtreecommitdiff
path: root/inputmethod/ibus-pinyin/patches
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2014-05-02 11:26:52 +0000
committerobache <obache@pkgsrc.org>2014-05-02 11:26:52 +0000
commit08dbeab4ed16d696b0e9b696b8734edb59203200 (patch)
treef3db47e8f26cd69233070ebe747a1c86b2504bc6 /inputmethod/ibus-pinyin/patches
parent236e0d919d956bc2845ae06a08a4427e79ca2f86 (diff)
downloadpkgsrc-08dbeab4ed16d696b0e9b696b8734edb59203200.tar.gz
Fixes python full path with upstream acceptable way.
Diffstat (limited to 'inputmethod/ibus-pinyin/patches')
-rw-r--r--inputmethod/ibus-pinyin/patches/patch-setup_ibus-setup-pinyin.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/inputmethod/ibus-pinyin/patches/patch-setup_ibus-setup-pinyin.in b/inputmethod/ibus-pinyin/patches/patch-setup_ibus-setup-pinyin.in
new file mode 100644
index 00000000000..d000eb2cefd
--- /dev/null
+++ b/inputmethod/ibus-pinyin/patches/patch-setup_ibus-setup-pinyin.in
@@ -0,0 +1,13 @@
+$NetBSD: patch-setup_ibus-setup-pinyin.in,v 1.1 2014/05/02 11:26:52 obache Exp $
+
+* Set python full path properly
+
+--- setup/ibus-setup-pinyin.in.orig 2012-07-09 14:32:10.000000000 +0000
++++ setup/ibus-setup-pinyin.in
+@@ -26,5 +26,5 @@ export IBUS_PREFIX=@prefix@
+ export IBUS_DATAROOTDIR=@datarootdir@
+ export IBUS_LOCALEDIR=@localedir@
+ cd @prefix@/share/ibus-pinyin/setup/
+-exec python main.py $@
++exec @PYTHON@ main.py $@
+