commit:     d65af065b6f29c9dd21933bd867a313eb9f57c3d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 28 15:22:48 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Dec 28 15:23:46 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d65af065

app-cdr/xfburn: Fix bashism in configure

Closes: https://bugs.gentoo.org/917576
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 app-cdr/xfburn/xfburn-0.6.2.ebuild | 9 ++++++++-
 app-cdr/xfburn/xfburn-0.7.0.ebuild | 7 +++++++
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/app-cdr/xfburn/xfburn-0.6.2.ebuild 
b/app-cdr/xfburn/xfburn-0.6.2.ebuild
index 35265059a8d2..9c4343ec1b57 100644
--- a/app-cdr/xfburn/xfburn-0.6.2.ebuild
+++ b/app-cdr/xfburn/xfburn-0.6.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -29,6 +29,13 @@ DEPEND="${RDEPEND}
        sys-devel/gettext
        virtual/pkgconfig"
 
+src_prepare() {
+       # fix bashism
+       # https://gitlab.xfce.org/apps/xfburn/-/merge_requests/36
+       sed -i -e 's:== x:= x:' configure || die
+       default
+}
+
 src_configure() {
        local myconf=(
                $(use_enable udev gudev)

diff --git a/app-cdr/xfburn/xfburn-0.7.0.ebuild 
b/app-cdr/xfburn/xfburn-0.7.0.ebuild
index b9f5ce9ee725..6084c83e8b8c 100644
--- a/app-cdr/xfburn/xfburn-0.7.0.ebuild
+++ b/app-cdr/xfburn/xfburn-0.7.0.ebuild
@@ -39,6 +39,13 @@ BDEPEND="
        virtual/pkgconfig
 "
 
+src_prepare() {
+       # fix bashism
+       # https://gitlab.xfce.org/apps/xfburn/-/merge_requests/36
+       sed -i -e 's:== x:= x:' configure || die
+       default
+}
+
 src_configure() {
        local myconf=(
                $(use_enable udev gudev)

Reply via email to