aboutsummaryrefslogtreecommitdiff
path: root/lang/polyml
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2008-04-05 05:18:58 +0000
committerRong-En Fan <rafan@FreeBSD.org>2008-04-05 05:18:58 +0000
commit64c804e4a6d642045df44223b4531528ba538f68 (patch)
treefc39b17f1c2da59854c847611c773cb4b723394c /lang/polyml
parent266ff1b195b6a12811afcd92f4b921373a501404 (diff)
downloadports-64c804e4a6d642045df44223b4531528ba538f68.tar.gz
ports-64c804e4a6d642045df44223b4531528ba538f68.zip
Notes
Diffstat (limited to 'lang/polyml')
-rw-r--r--lang/polyml/files/patch-libpolyml-sighandler.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/polyml/files/patch-libpolyml-sighandler.cpp b/lang/polyml/files/patch-libpolyml-sighandler.cpp
new file mode 100644
index 000000000000..9d518640ebce
--- /dev/null
+++ b/lang/polyml/files/patch-libpolyml-sighandler.cpp
@@ -0,0 +1,11 @@
+--- libpolyml/sighandler.cpp.orig 2008-04-05 16:03:20.000000000 +1100
++++ libpolyml/sighandler.cpp 2008-04-05 16:03:29.000000000 +1100
+@@ -381,7 +381,7 @@
+ struct sigaltstack ex_stack;
+ #endif
+ memset(&ex_stack, 0, sizeof(ex_stack));
+- ex_stack.ss_sp = taskData->signalStack;
++ ex_stack.ss_sp = (char *)taskData->signalStack;
+ ex_stack.ss_size = SIGSTKSZ;
+ ex_stack.ss_flags = 0; /* not SS_DISABLE */
+ int sigaltstack_result = sigaltstack(&ex_stack, NULL);