From owner-freebsd-ports Thu May 21 15:05:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA11489 for freebsd-ports-outgoing; Thu, 21 May 1998 15:05:36 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA11335 for ; Thu, 21 May 1998 15:04:57 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id PAA19686; Thu, 21 May 1998 15:00:05 -0700 (PDT) Received: (from nobody@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA10934; Thu, 21 May 1998 15:02:57 -0700 (PDT) (envelope-from nobody) Message-Id: <199805212202.PAA10934@hub.freebsd.org> Date: Thu, 21 May 1998 15:02:57 -0700 (PDT) From: garbanzo@hooked.net To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: ports/6715: ElectricFence fails to work on -current Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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