Skip to content

Commit

Permalink
dev-games/wfmath: commit bashisms patch
Browse files Browse the repository at this point in the history
Fixes: f774713
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Apr 19, 2021
1 parent 25a7998 commit 65cf4da
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions dev-games/wfmath/files/wfmath-1.0.2-fix-bashisms.patch
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 65cf4da

Please sign in to comment.