summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Miller <alex.miller@gmx.de>2021-05-07 22:08:10 +0200
committerJoonas Niilola <juippis@gentoo.org>2021-06-03 10:01:12 +0300
commit33d9de1b0ad3185ad0e1a523bffd343994c76641 (patch)
treeaa99e633beeb73abcba38160c4b643cb1912b44c /x11-misc
parentx11-misc/rss-glx: Add missing #include for GCC 11 (diff)
downloadgentoo-33d9de1b0ad3185ad0e1a523bffd343994c76641.tar.gz
gentoo-33d9de1b0ad3185ad0e1a523bffd343994c76641.tar.bz2
gentoo-33d9de1b0ad3185ad0e1a523bffd343994c76641.zip
x11-misc/rss-glx: Remove bashism from configure script
Closes: https://bugs.gentoo.org/788649 Signed-off-by: Alexander Miller <alex.miller@gmx.de> Closes: https://github.com/gentoo/gentoo/pull/20725 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/rss-glx/files/rss-glx-0.9.1-bashism.patch11
-rw-r--r--x11-misc/rss-glx/rss-glx-0.9.1-r3.ebuild1
2 files changed, 12 insertions, 0 deletions
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 000000000000..4527f8710f83
--- /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 592380db37fa..7db369224cb7 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() {