pkgsrc/lang/mercury/patches/patch-as
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
573 B
Text

$NetBSD: patch-as,v 1.1 2010/07/20 12:29:21 asau Exp $
Problems on FreeBSD 6.
--- tools/make_spec_method_call.orig 2005-09-12 07:03:08.000000000 +0400
+++ tools/make_spec_method_call 2010-01-11 15:35:47.000000000 +0300
@@ -134,5 +134,5 @@
echo "MR_define_extern_entry(mercury__do_call_class_method_$variant);" >> mercury_method_call_declares.i
echo " MR_init_entry_an(mercury__do_call_class_method_$variant);" >> mercury_method_call_inits.i
- spec_explicit_arg=`expr $spec_explicit_arg + 1`
+ spec_explicit_arg=`expr -- $spec_explicit_arg + 1`
done