diff options
author | John Helmert III <ajak@gentoo.org> | 2023-12-21 13:41:27 -0800 |
---|---|---|
committer | John Helmert III <ajak@gentoo.org> | 2023-12-21 13:42:09 -0800 |
commit | d25b69713f97c643e96e971270b6193f346d99f6 (patch) | |
tree | 1d269f4521b7912bc217240ffd4efe8f60ef3722 /app-misc | |
parent | profiles, 23.0: Move arm musl profiles to more consistent place (diff) | |
download | gentoo-d25b69713f97c643e96e971270b6193f346d99f6.tar.gz gentoo-d25b69713f97c643e96e971270b6193f346d99f6.tar.bz2 gentoo-d25b69713f97c643e96e971270b6193f346d99f6.zip |
app-misc/ckb: fix bashism in init script
Closes: https://bugs.gentoo.org/920456
Signed-off-by: John Helmert III <ajak@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/ckb/ckb-0.6.0-r1.ebuild (renamed from app-misc/ckb/ckb-0.6.0.ebuild) | 4 | ||||
-rw-r--r-- | app-misc/ckb/files/ckb-0.6.0-fix-bashism.patch | 16 |
2 files changed, 20 insertions, 0 deletions
diff --git a/app-misc/ckb/ckb-0.6.0.ebuild b/app-misc/ckb/ckb-0.6.0-r1.ebuild index 2c6dac302860..ff1d9c5f596f 100644 --- a/app-misc/ckb/ckb-0.6.0.ebuild +++ b/app-misc/ckb/ckb-0.6.0-r1.ebuild @@ -40,6 +40,10 @@ RDEPEND=" DEPEND="${RDEPEND}" BDEPEND="dev-qt/linguist-tools:5" +PATCHES=( + "${FILESDIR}/${P}-fix-bashism.patch" +) + src_configure() { local mycmakeargs=( -DDISABLE_UPDATER=yes diff --git a/app-misc/ckb/files/ckb-0.6.0-fix-bashism.patch b/app-misc/ckb/files/ckb-0.6.0-fix-bashism.patch new file mode 100644 index 000000000000..8cdc2aa59a0e --- /dev/null +++ b/app-misc/ckb/files/ckb-0.6.0-fix-bashism.patch @@ -0,0 +1,16 @@ +From https://github.com/ckb-next/ckb-next/commit/76a47f95b442a1ae5a9c7448566eaafd8863ca8d +From: Willow Barraco <contact@willowbarraco.fr> +Date: Wed, 19 Jul 2023 09:38:09 +0200 +Subject: [PATCH] Fix ckb-next-daemon OpenRC service file + +--- a/linux/openrc/ckb-next-daemon.in ++++ b/linux/openrc/ckb-next-daemon.in +@@ -7,4 +7,4 @@ command="@CMAKE_INSTALL_PREFIX@/bin/ckb-next-daemon" + description="Corsair Keyboards and Mice Daemon" + pidfile="/dev/input/ckb0/pid" + logfile="/var/log/${RC_SVCNAME}.log" +-start_stop_daemon_args+="--background --stdout ${logfile} --stderr ${logfile}" ++start_stop_daemon_args="$start_stop_daemon_args --background --stdout ${logfile} --stderr ${logfile}" +-- +2.43.0 + |