summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/mercury/files/mercury-0.12.2-profdeep-builtin_throw.patch')
-rw-r--r--dev-lang/mercury/files/mercury-0.12.2-profdeep-builtin_throw.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-lang/mercury/files/mercury-0.12.2-profdeep-builtin_throw.patch b/dev-lang/mercury/files/mercury-0.12.2-profdeep-builtin_throw.patch
new file mode 100644
index 000000000000..adb5d69e45c7
--- /dev/null
+++ b/dev-lang/mercury/files/mercury-0.12.2-profdeep-builtin_throw.patch
@@ -0,0 +1,11 @@
+--- mercury-compiler-0.12.2.orig/library/exception.m 2005-01-25 12:16:37.000000000 +1300
++++ mercury-compiler-0.12.2/library/exception.m 2006-12-30 11:59:15.000000000 +1300
+@@ -1939,7 +1939,7 @@
+
+ MR_proc_static_user_no_site(exception, builtin_throw, 1, 0,
+ ""exception.m"", MR_DUMMY_LINE, MR_TRUE);
+-MR_STATIC_USER_PROC_STATIC_PROC_LAYOUT(
++MR_EXTERN_USER_PROC_STATIC_PROC_LAYOUT(
+ MR_DETISM_DET, 1, MR_LONG_LVAL_STACKVAR(1),
+ MR_PREDICATE, exception, builtin_throw, 1, 0);
+ MR_MAKE_USER_INTERNAL_LAYOUT(exception, builtin_throw, 1, 0, 1);