summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-19 03:22:06 +0000
committerSam James <sam@gentoo.org>2021-04-19 04:30:47 +0000
commit65cf4daa69c78385dbb8500d9817380834d912d6 (patch)
tree553f416ab196d47e8cb24d283ca6b843f2df5a72
parentdev-qt/qtwebkit: Fix build with glib-2.68 (diff)
downloadgentoo-65cf4daa69c78385dbb8500d9817380834d912d6.tar.gz
gentoo-65cf4daa69c78385dbb8500d9817380834d912d6.tar.bz2
gentoo-65cf4daa69c78385dbb8500d9817380834d912d6.zip
dev-games/wfmath: commit bashisms patch
Fixes: f7747138aea19138fdbf1b1a269b024044985381 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--dev-games/wfmath/files/wfmath-1.0.2-fix-bashisms.patch16
1 files changed, 16 insertions, 0 deletions
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 000000000000..d9a6edcfbd95
--- /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
+