commit:     33d9de1b0ad3185ad0e1a523bffd343994c76641
Author:     Alexander Miller <alex.miller <AT> gmx <DOT> de>
AuthorDate: Fri May  7 20:08:10 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Jun  3 07:01:12 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33d9de1b

x11-misc/rss-glx: Remove bashism from configure script

Closes: https://bugs.gentoo.org/788649
Signed-off-by: Alexander Miller <alex.miller <AT> gmx.de>
Closes: https://github.com/gentoo/gentoo/pull/20725
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 x11-misc/rss-glx/files/rss-glx-0.9.1-bashism.patch | 11 +++++++++++
 x11-misc/rss-glx/rss-glx-0.9.1-r3.ebuild           |  1 +
 2 files changed, 12 insertions(+)

diff --git a/x11-misc/rss-glx/files/rss-glx-0.9.1-bashism.patch 
b/x11-misc/rss-glx/files/rss-glx-0.9.1-bashism.patch
new file mode 100644
index 00000000000..4527f8710f8
--- /dev/null
+++ b/x11-misc/rss-glx/files/rss-glx-0.9.1-bashism.patch
@@ -0,0 +1,11 @@
+--- a/configure.in
++++ b/configure.in
+@@ -52,7 +52,7 @@
+ AC_HEADER_STDC
+ AC_PATH_XTRA 
+ 
+-if test "x${ac_cv_have_x:0:10}" != "xhave_x=yes"; then
++if test "x$have_x" != "xyes"; then
+       AC_MSG_ERROR([X11 is missing but required.])
+ fi
+ 

diff --git a/x11-misc/rss-glx/rss-glx-0.9.1-r3.ebuild 
b/x11-misc/rss-glx/rss-glx-0.9.1-r3.ebuild
index 592380db37f..7db369224cb 100644
--- a/x11-misc/rss-glx/rss-glx-0.9.1-r3.ebuild
+++ b/x11-misc/rss-glx/rss-glx-0.9.1-r3.ebuild
@@ -43,6 +43,7 @@ PATCHES=(
        "${FILESDIR}"/${P}-hang.patch
        "${FILESDIR}"/${P}-matrixview-copy-font.patch
        "${FILESDIR}"/${P}-missing-include.patch
+       "${FILESDIR}"/${P}-bashism.patch
 )
 
 src_prepare() {

Reply via email to