diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-05-28 18:59:00 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-05-28 19:09:02 +0200 |
commit | 69f45f358a48821fdfa0294b602163dbfe68c691 (patch) | |
tree | 0bf7854d4b456ce8f0aea4a9b990264d4035b01d /dev-libs/libixion/files/libixion-0.15.0-bashism.patch | |
parent | dev-libs/liborcus: Fix bashisms in configure.ac, --disable-static (diff) | |
download | gentoo-69f45f358a48821fdfa0294b602163dbfe68c691.tar.gz gentoo-69f45f358a48821fdfa0294b602163dbfe68c691.tar.bz2 gentoo-69f45f358a48821fdfa0294b602163dbfe68c691.zip |
dev-libs/libixion: Fix bashisms in configure.ac, --disable-static
Reported-by: Matt Whitlock <gentoo@mattwhitlock.name>
Thanks-to: Lars Wendler <polynomial-c@gentoo.org>
Closes: https://bugs.gentoo.org/723128
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-libs/libixion/files/libixion-0.15.0-bashism.patch')
-rw-r--r-- | dev-libs/libixion/files/libixion-0.15.0-bashism.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-libs/libixion/files/libixion-0.15.0-bashism.patch b/dev-libs/libixion/files/libixion-0.15.0-bashism.patch new file mode 100644 index 000000000000..9df7b04a865c --- /dev/null +++ b/dev-libs/libixion/files/libixion-0.15.0-bashism.patch @@ -0,0 +1,32 @@ +From 076f6576e7398842457d34fd68140512795c7e00 Mon Sep 17 00:00:00 2001 +From: Lars Wendler <polynomial-c@gentoo.org> +Date: Fri, 15 May 2020 12:42:20 +0200 +Subject: [PATCH] configure.ac: avoid bashisms + +or else we end up with unpredictable results if shell != /bin/bash: + + ./configure: 19427: test: xno: unexpected operator + +Reported-by: Matt Whitlock <gentoo@mattwhitlock.name> +Gentoo-bug: https://bugs.gentoo.org/723128 +Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 3a07dd8..505aeba 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -182,7 +182,7 @@ AC_ARG_ENABLE([werror], + [enable_werror="$enableval"], + [enable_werror=no] + ) +-AS_IF([test x"$enable_werror" == "xyes"], [ ++AS_IF([test x"$enable_werror" = "xyes"], [ + CXXFLAGS="$CXXFLAGS -Werror" + ]) + +-- +2.26.2 + |