summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2017-09-11 20:16:05 +0200
committerMike Gilbert <floppym@gentoo.org>2017-09-11 14:39:18 -0400
commit2a22703601478e267c562cb671dd9e832fb52f2c (patch)
tree5e44b7bd097efd674f4e4ffe4c7fe2cdfb899477 /app-i18n/fcitx/files
parentapp-i18n/fcitx: Drop obsolete conversion of shebangs in scripts. (diff)
downloadgentoo-2a22703601478e267c562cb671dd9e832fb52f2c.tar.gz
gentoo-2a22703601478e267c562cb671dd9e832fb52f2c.tar.bz2
gentoo-2a22703601478e267c562cb671dd9e832fb52f2c.zip
app-i18n/fcitx: Version bump (4.2.9.2).
Diffstat (limited to 'app-i18n/fcitx/files')
-rw-r--r--app-i18n/fcitx/files/fcitx-4.2.9.2-scripts.patch60
1 files changed, 60 insertions, 0 deletions
diff --git a/app-i18n/fcitx/files/fcitx-4.2.9.2-scripts.patch b/app-i18n/fcitx/files/fcitx-4.2.9.2-scripts.patch
new file mode 100644
index 000000000000..a3399767e7b0
--- /dev/null
+++ b/app-i18n/fcitx/files/fcitx-4.2.9.2-scripts.patch
@@ -0,0 +1,60 @@
+https://github.com/fcitx/fcitx/issues/342
+https://github.com/fcitx/fcitx/commit/de4bd3d535736afe061d9ac63fcc897e3ab3237e
+
+--- /cmake/fcitx-cmake-helper.sh
++++ /cmake/fcitx-cmake-helper.sh
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/usr/bin/env bash
+ # Copyright (C) 2012~2013 by Yichao Yu
+ # yyc1992@gmail.com
+ #
+--- /cmake/fcitx-merge-config.sh
++++ /cmake/fcitx-merge-config.sh
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#!/usr/bin/env bash
+ # Copyright (C) 2012~2012 by Yichao Yu
+ # yyc1992@gmail.com
+ #
+--- /data/icon/data/gen.sh
++++ /data/icon/data/gen.sh
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#!/usr/bin/env bash
+
+ a="$(find scabable/status/ -type f -name \*.svg)"
+ echo $a
+--- /data/script/fcitx-configtool.sh
++++ /data/script/fcitx-configtool.sh
+@@ -28,7 +28,7 @@
+ }
+ fi
+
+-if type gettext > /dev/null 2>&1; then
++if which gettext > /dev/null 2>&1; then
+ _() {
+ gettext "$@"
+ }
+--- /src/lib/fcitx-utils/gen-hotkey.sh
++++ /src/lib/fcitx-utils/gen-hotkey.sh
+@@ -1,7 +1,6 @@
+ #!/bin/sh
+
+-function download_file()
+-{
++download_file() {
+ if [ "x$3" != "xf" ]; then
+ if [ -f $1 ]; then
+ return
+--- /src/ui/classic/fcitx-skin-installer.sh
++++ /src/ui/classic/fcitx-skin-installer.sh
+@@ -25,7 +25,7 @@
+ }
+ fi
+
+-if type gettext > /dev/null 2>&1; then
++if which gettext > /dev/null 2>&1; then
+ _() {
+ gettext "$@"
+ }