From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/fcitx/
Date: Sun, 30 Jul 2017 15:30:06 +0000 (UTC) [thread overview]
Message-ID: <1501428596.03b08a3ffaca959400650c62f6a9b1801a05ad51.soap@gentoo> (raw)
commit: 03b08a3ffaca959400650c62f6a9b1801a05ad51
Author: Niklas Haas <git <AT> haasn <DOT> xyz>
AuthorDate: Sat Jun 24 03:13:11 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jul 30 15:29:56 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03b08a3f
app-i18n/fcitx: patch POSIX-incompliant shell usage
https://github.com/fcitx/fcitx/issues/342
Closes: https://github.com/gentoo/gentoo/pull/5065
app-i18n/fcitx/fcitx-4.2.9.1.ebuild | 5 +++++
app-i18n/fcitx/fcitx-9999.ebuild | 5 +++++
2 files changed, 10 insertions(+)
diff --git a/app-i18n/fcitx/fcitx-4.2.9.1.ebuild b/app-i18n/fcitx/fcitx-4.2.9.1.ebuild
index 6aeb244653e..d745e90d79b 100644
--- a/app-i18n/fcitx/fcitx-4.2.9.1.ebuild
+++ b/app-i18n/fcitx/fcitx-4.2.9.1.ebuild
@@ -87,6 +87,11 @@ src_prepare() {
-e "/find_package(XkbFile REQUIRED)/a\\ endif(ENABLE_X11)" \
-i CMakeLists.txt
+ # https://github.com/fcitx/fcitx/issues/342
+ while IFS='' read -d $'\0' -r f ; do
+ sed 's:^#!/bin/sh$:#!/usr/bin/env bash:' -i "${f}" || die
+ done < <(find "${S}" -name '*.sh' -type f -print0)
+
cmake-utils_src_prepare
xdg_environment_reset
}
diff --git a/app-i18n/fcitx/fcitx-9999.ebuild b/app-i18n/fcitx/fcitx-9999.ebuild
index 07841028686..361dba3ca23 100644
--- a/app-i18n/fcitx/fcitx-9999.ebuild
+++ b/app-i18n/fcitx/fcitx-9999.ebuild
@@ -82,6 +82,11 @@ src_prepare() {
-e "/find_package(XkbFile REQUIRED)/a\\ endif(ENABLE_X11)" \
-i CMakeLists.txt
+ # https://github.com/fcitx/fcitx/issues/342
+ while IFS='' read -d $'\0' -r f ; do
+ sed 's:^#!/bin/sh$:#!/usr/bin/env bash:' -i "${f}" || die
+ done < <(find "${S}" -name '*.sh' -type f -print0)
+
cmake-utils_src_prepare
xdg_environment_reset
}
next reply other threads:[~2017-07-30 15:30 UTC|newest]
Thread overview: 73+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-30 15:30 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-22 8:32 [gentoo-commits] repo/gentoo:master commit in: app-i18n/fcitx/ Sam James
2024-11-22 0:55 Sam James
2024-10-11 0:07 Yixun Lan
2024-07-26 14:12 Arthur Zamarin
2024-07-26 14:12 Arthur Zamarin
2024-06-09 18:54 Matt Turner
2024-06-02 3:25 Yixun Lan
2024-06-02 3:25 Yixun Lan
2024-04-25 0:43 Yixun Lan
2024-04-25 0:43 Yixun Lan
2024-03-08 9:12 Yixun Lan
2024-01-18 15:10 WANG Xuerui
2024-01-18 15:10 WANG Xuerui
2024-01-17 9:04 Jakov Smolić
2024-01-16 17:50 Arthur Zamarin
2024-01-11 0:22 Yixun Lan
2024-01-11 0:22 Yixun Lan
2023-12-24 15:53 WANG Xuerui
2023-12-11 13:33 Yixun Lan
2023-12-11 13:33 Yixun Lan
2022-05-19 5:08 WANG Xuerui
2021-07-27 21:54 Marek Szuba
2021-03-25 23:52 Conrad Kostecki
2021-02-05 4:40 Sam James
2021-02-05 4:40 Sam James
2021-02-05 4:38 Sam James
2021-02-02 21:00 Sam James
2020-12-07 18:14 Mike Gilbert
2020-12-03 22:58 Marek Szuba
2020-11-16 19:51 Mike Gilbert
2020-11-11 20:21 Mike Gilbert
2020-11-11 20:21 Mike Gilbert
2020-11-11 20:21 Mike Gilbert
2020-07-04 13:53 Mike Gilbert
2020-07-04 13:53 Mike Gilbert
2020-07-04 13:53 Mike Gilbert
2018-10-19 17:39 Mike Gilbert
2018-08-25 20:20 Michał Górny
2018-02-21 20:34 Mike Gilbert
2018-01-09 22:58 Sergei Trofimovich
2018-01-08 21:31 Mike Gilbert
2017-11-18 10:13 Sergei Trofimovich
2017-11-18 10:03 Sergei Trofimovich
2017-11-15 19:26 Mike Gilbert
2017-11-15 19:26 Mike Gilbert
2017-11-15 19:26 Mike Gilbert
2017-11-01 20:54 Mike Gilbert
2017-09-27 19:57 Mike Gilbert
2017-09-27 19:57 Mike Gilbert
2017-09-27 19:57 Mike Gilbert
2017-09-18 19:43 Mike Gilbert
2017-09-16 12:27 Andreas Sturmlechner
2017-09-13 19:25 Mike Gilbert
2017-09-11 18:39 Mike Gilbert
2017-09-11 18:39 Mike Gilbert
2017-09-11 18:39 Mike Gilbert
2017-09-02 15:52 Mike Gilbert
2017-08-22 14:21 Mike Gilbert
2017-08-22 14:21 Mike Gilbert
2016-10-13 18:54 Mike Gilbert
2016-10-13 9:44 Agostino Sarubbo
2016-10-05 19:36 Mike Gilbert
2016-09-15 14:47 Mike Gilbert
2016-08-17 3:47 Jeroen Roovers
2016-07-29 2:00 Mike Gilbert
2016-07-01 6:33 Jeroen Roovers
2016-05-31 4:20 Jeroen Roovers
2016-05-30 21:01 Mike Gilbert
2016-03-24 14:43 Mike Gilbert
2015-12-22 2:32 Yixun Lan
2015-12-22 2:32 Yixun Lan
2015-11-11 10:39 Agostino Sarubbo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1501428596.03b08a3ffaca959400650c62f6a9b1801a05ad51.soap@gentoo \
--to=soap@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox