diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-05-28 18:52:15 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-05-28 19:09:02 +0200 |
commit | d131fa2acad53017e0374759dd5f2f0766ecabeb (patch) | |
tree | bd80256dff7ef2623e1277f378fd6983baf90581 /dev-libs/liborcus/files | |
parent | dev-util/mdds: Fix bashisms in configure.ac (diff) | |
download | gentoo-d131fa2acad53017e0374759dd5f2f0766ecabeb.tar.gz gentoo-d131fa2acad53017e0374759dd5f2f0766ecabeb.tar.bz2 gentoo-d131fa2acad53017e0374759dd5f2f0766ecabeb.zip |
dev-libs/liborcus: Fix bashisms in configure.ac, --disable-static
Reported-by: Matt Whitlock <gentoo@mattwhitlock.name>
Closes: https://bugs.gentoo.org/723130
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-libs/liborcus/files')
-rw-r--r-- | dev-libs/liborcus/files/liborcus-0.15.4-bashism.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-libs/liborcus/files/liborcus-0.15.4-bashism.patch b/dev-libs/liborcus/files/liborcus-0.15.4-bashism.patch new file mode 100644 index 000000000000..cc201a5024e0 --- /dev/null +++ b/dev-libs/liborcus/files/liborcus-0.15.4-bashism.patch @@ -0,0 +1,26 @@ +From 7d2ae0b6e47aa0c1fc43a91300d82c5394420162 Mon Sep 17 00:00:00 2001 +From: Ryo ONODERA <ryo@tetera.org> +Date: Sat, 11 Jan 2020 23:01:29 +0900 +Subject: [PATCH] Improve POSIX shell portability + +DO not use bash syntax. +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index bc5dc195..a854c0c9 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -322,7 +322,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 + |