diff options
author | rafan <rafan@FreeBSD.org> | 2008-04-05 13:18:58 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2008-04-05 13:18:58 +0800 |
commit | a9cf1983c3ebde6b64efa8e6b64b9728024da435 (patch) | |
tree | 0f16b8ccd82ff1c8df418684dd55133471a948c4 /lang | |
parent | 33c68d953bef1ec0887e973e1b7739b6e5bf3cd7 (diff) | |
download | freebsd-ports-gnome-a9cf1983c3ebde6b64efa8e6b64b9728024da435.tar.gz freebsd-ports-gnome-a9cf1983c3ebde6b64efa8e6b64b9728024da435.tar.zst freebsd-ports-gnome-a9cf1983c3ebde6b64efa8e6b64b9728024da435.zip |
- Fix build with gcc 4
Submitted by: Timothy Bourke <timbob at bigpond.com> (maintainer)
Diffstat (limited to 'lang')
-rw-r--r-- | lang/polyml/files/patch-libpolyml-sighandler.cpp | 11 |
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); |