pkgsrc/lang/mercury/patches/patch-ar
asau ac49d197ef Update to Mercury 0.13.1
The list of changes is too long, it includes 5 years of development.
See NEWS and HISTORY files for details.
2010-07-20 12:29:20 +00:00

13 lines
547 B
Text

$NetBSD: patch-ar,v 1.1 2010/07/20 12:29:21 asau Exp $
Problems on FreeBSD 6.
--- tools/make_spec_ho_call.orig 2005-09-12 07:03:08.000000000 +0400
+++ tools/make_spec_ho_call 2010-01-11 15:33:33.000000000 +0300
@@ -126,5 +126,5 @@
echo "MR_define_extern_entry(mercury__do_call_closure_$variant);" >> mercury_ho_call_declares.i
echo " MR_init_entry_an(mercury__do_call_closure_$variant);" >> mercury_ho_call_inits.i
- spec_explicit_arg=`expr $spec_explicit_arg + 1`
+ spec_explicit_arg=`expr -- $spec_explicit_arg + 1`
done