Unbreak on 32 bit archs after the fontforge update.

I should my incomplete work on ksh back from 2008 instead, but I'm
just a poor slacker.

(Hint: configure tries something like
        test 20120731000000 -lt 20110222000000
)
This commit is contained in:
kili 2014-01-17 21:01:39 +00:00
parent 2931d5d963
commit 5d961aa357

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-stepmake_aclocal_m4,v 1.5 2014/01/17 21:01:39 kili Exp $
--- stepmake/aclocal.m4.orig Tue Jul 26 00:42:15 2011
+++ stepmake/aclocal.m4 Fri Jan 17 19:54:08 2014
@@ -116,7 +116,7 @@ AC_DEFUN(STEPMAKE_CHECK_VERSION, [
num=`STEPMAKE_NUMERIC_VERSION($ver)`
req=`STEPMAKE_NUMERIC_VERSION($3)`
AC_MSG_RESULT([$ver])
- if test "$num" -lt "$req"; then
+ if test $(dc -e "[[1]] sa 0 $num $req <a p") = 0; then
STEPMAKE_ADD_ENTRY($2, ["$r >= $3 (installed: $ver)"])
fi
vervar="`echo $1 | tr '[a-z]' '[A-Z]'`_VERSION"