summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-09-25 03:55:53 +0000
committerSteve Price <steve@FreeBSD.org>1999-09-25 03:55:53 +0000
commiteebcea308e666d7575ab529923577a36397e1d1f (patch)
tree5e386aef87936f6c934133958ca939859bedde6f /devel
parentImport of nstreams. (diff)
On page faults FreeBSD/Alpha gives SIGSEGV instead of SIGBUS.
Notes
Notes: svn path=/head/; revision=21933
Diffstat (limited to 'devel')
-rw-r--r--devel/ElectricFence/files/patch-aa12
1 files changed, 8 insertions, 4 deletions
diff --git a/devel/ElectricFence/files/patch-aa b/devel/ElectricFence/files/patch-aa
index 6987c7457203..3b89f39d1082 100644
--- a/devel/ElectricFence/files/patch-aa
+++ b/devel/ElectricFence/files/patch-aa
@@ -1,10 +1,14 @@
---- Makefile.orig Fri Jan 20 05:33:04 1995
-+++ Makefile Wed Nov 12 22:47:51 1997
-@@ -4,7 +4,7 @@
+--- Makefile.orig Thu Jan 19 23:33:04 1995
++++ Makefile Tue Sep 21 17:44:46 1999
+@@ -4,7 +4,10 @@
INSTALL= install
MV= mv
CHMOD= chmod
-CFLAGS= -g
-+CFLAGS+= -g -DPAGE_PROTECTION_VIOLATED_SIGNAL=SIGBUS
++CFLAGS+= -g
++.if ${MACHINE_ARCH} == "i386"
++CFLAGS+= -DPAGE_PROTECTION_VIOLATED_SIGNAL=SIGBUS
++.endif
LIB_INSTALL_DIR= /usr/lib
MAN_INSTALL_DIR= /usr/man/man3
+