commit:     65cf4daa69c78385dbb8500d9817380834d912d6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 19 03:22:06 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 19 04:30:47 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65cf4daa

dev-games/wfmath: commit bashisms patch

Fixes: f7747138aea19138fdbf1b1a269b024044985381
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-games/wfmath/files/wfmath-1.0.2-fix-bashisms.patch | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/dev-games/wfmath/files/wfmath-1.0.2-fix-bashisms.patch 
b/dev-games/wfmath/files/wfmath-1.0.2-fix-bashisms.patch
new file mode 100644
index 00000000000..d9a6edcfbd9
--- /dev/null
+++ b/dev-games/wfmath/files/wfmath-1.0.2-fix-bashisms.patch
@@ -0,0 +1,16 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -81,11 +81,11 @@ PKG_CHECK_MODULES(ATLAS_0_6, atlascpp-0.6 >= 0.6.0,
+       dnl those should already be using Atlas explicitly.
+       ], found_atlas_0_6=no)
+ 
+-AM_CONDITIONAL(HAVE_ATLAS_0_6, test $found_atlas_0_6 == yes)
++AM_CONDITIONAL(HAVE_ATLAS_0_6, test $found_atlas_0_6 = xyes)
+ 
+ AC_CHECK_HEADERS(sstream strstream, [ found_string_stream=yes break ],
+                                   [ found_string_stream=no ])
+-if test $found_string_stream == no ; then
++if test $found_string_stream = xno ; then
+     AC_MSG_ERROR(Couldn't find C++ string <-> stream conversion method.)
+ fi
+ 

Reply via email to