summaryrefslogtreecommitdiff
path: root/devel/ElectricFence/files/patch-aa
blob: 75516213e47655cef315456c65adf7ba6b9a54cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- Makefile.orig	Fri Jan 20 05:33:04 1995
+++ Makefile	Wed Nov 12 22:47:51 1997
@@ -4,7 +4,7 @@
 INSTALL= install
 MV= mv
 CHMOD= chmod
-CFLAGS= -g
+CFLAGS+= -g -DPAGE_PROTECTION_VIOLATED_SIGNAL=SIGBUS
 LIB_INSTALL_DIR= /usr/lib
 MAN_INSTALL_DIR= /usr/man/man3
 
--- page.c.orig	Wed Nov 12 21:57:13 1997
+++ page.c	Wed Nov 12 23:19:57 1997
@@ -30,8 +30,10 @@
 static caddr_t	startAddr = (caddr_t) 0;
 
 #if ( !defined(sgi) && !defined(_AIX) )
+#if ( !defined(BSD) || (BSD < 199103) )
 extern int	sys_nerr;
 extern char *	sys_errlist[];
+#endif
 #endif
 
 static const char *