Date: Thu, 21 May 1998 15:02:57 -0700 (PDT) From: garbanzo@hooked.net To: freebsd-gnats-submit@FreeBSD.ORG Subject: ports/6715: ElectricFence fails to work on -current Message-ID: <199805212202.PAA10934@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 6715 >Category: ports >Synopsis: ElectricFence fails to work on -current >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 21 15:00:03 PDT 1998 >Last-Modified: >Originator: Alex Zepeda >Organization: >Release: FreeBSD-current >Environment: FreeBSD zippy.dyn.ml.org 3.0-CURRENT FreeBSD 3.0-CURRENT #30: Thu May 21 00:26:12 PDT 1998 root@zippy.dyn.ml.org:/usr/src/sys/compile/ZIPPY i386 >Description: The ElectricFence port (in /ports/devel) is marked as broken because it fails to correcetly work on -current. However I think -current is broken. >How-To-Repeat: Compile the port. >Fix: --- page.c.orig Thu Jan 19 21:01:06 1995 +++ page.c Thu May 21 14:56:16 1998 @@ -30,9 +30,11 @@ 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 * stringErrorReport(void) @@ -164,7 +166,7 @@ Page_DenyAccess(address, size); } -#if defined(_SC_PAGESIZE) +#if defined(_SC_PAGESIZE) && !defined(__FreeBSD__) size_t Page_Size(void) { >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805212202.PAA10934>