diff options
author | Stanislav Sedov <stas@FreeBSD.org> | 2010-04-01 08:38:32 +0000 |
---|---|---|
committer | Stanislav Sedov <stas@FreeBSD.org> | 2010-04-01 08:38:32 +0000 |
commit | 57f1fc3eebc653b83e09c29c123ac9c0d5851e68 (patch) | |
tree | d880b15f689438edd39ebacc781dfb6055594686 /devel | |
parent | ca4e5bc3d0adbb3d1e18c4eda6840a6a388e3afa (diff) | |
download | ports-57f1fc3eebc653b83e09c29c123ac9c0d5851e68.tar.gz ports-57f1fc3eebc653b83e09c29c123ac9c0d5851e68.zip |
Notes
Diffstat (limited to 'devel')
-rw-r--r-- | devel/boehm-gc/files/patch-os_dep.c | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/devel/boehm-gc/files/patch-os_dep.c b/devel/boehm-gc/files/patch-os_dep.c index 910777fe2b47..985f52807d5d 100644 --- a/devel/boehm-gc/files/patch-os_dep.c +++ b/devel/boehm-gc/files/patch-os_dep.c @@ -1,5 +1,5 @@ ---- os_dep.c.orig 2008-02-29 22:01:28.000000000 +0300 -+++ os_dep.c 2009-10-20 00:48:39.000000000 +0400 +--- os_dep.c.orig 2008-02-29 11:01:28.000000000 -0800 ++++ os_dep.c 2010-04-01 00:50:34.000000000 -0700 @@ -816,7 +816,7 @@ || defined(HURD) || defined(NETBSD) static struct sigaction old_segv_act; @@ -27,3 +27,18 @@ /* Under Irix 5.x or HP/UX, we may get SIGBUS. */ /* Pthreads doesn't exist under Irix 5.x, so we */ /* don't have to worry in the threads case. */ +@@ -2713,7 +2713,13 @@ + # include <errno.h> + # if defined(FREEBSD) + # define SIG_OK TRUE +-# define CODE_OK (code == BUS_PAGE_FAULT) ++# if defined(POWERPC) ++# define AIM /* Pretend that we're AIM. */ ++# include <machine/trap.h> ++# define CODE_OK (code == EXC_DSI) ++# else ++# define CODE_OK (code == BUS_PAGE_FAULT) ++# endif + # elif defined(OSF1) + # define SIG_OK (sig == SIGSEGV) + # define CODE_OK (code == 2 /* experimentally determined */) |