From owner-freebsd-ports Wed Dec 29 14:30: 4 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id CD4C515736 for ; Wed, 29 Dec 1999 14:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id OAA92147; Wed, 29 Dec 1999 14:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from sappho.lovett.com (sappho.lovett.com [216.60.121.169]) by hub.freebsd.org (Postfix) with ESMTP id E520C15745 for ; Wed, 29 Dec 1999 14:26:26 -0800 (PST) (envelope-from ade@lovett.com) Received: from ade by sappho.lovett.com with local (Exim 3.12 #1) id 123RY1-000Cyx-00 for FreeBSD-gnats-submit@freebsd.org; Wed, 29 Dec 1999 16:26:25 -0600 Message-Id: Date: Wed, 29 Dec 1999 16:26:25 -0600 From: Ade Lovett Reply-To: ade@lovett.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/15776: Fix devel/libgtop for -current Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15776 >Category: ports >Synopsis: Fix devel/libgtop for -current >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Dec 29 14:30:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Ade Lovett >Release: FreeBSD 4.0-CURRENT i386 >Organization: Lovett Network Consultancy >Environment: Up to date ports tree. -current as of 12/27/1999 >Description: Compilation of devel/libgtop falls over in sysdeps/freebsd/procmap.c looking for non-existent /usr/include/vm/vm_prot.h >How-To-Repeat: cd devel/libgtop; make # on -current box >Fix: rev 1.15 of sys/vm/vm.h shows the merging of sys/vm/vm_prot.h and sys/vm/vm_inherit.h into this file, and the subsequenet destruction of these two include files. Apply following diff to create a patches/patch-ah .. the __FreeBSD_version I've used should be close enough -- there wasn't a version bump specifically for this include file change. Version: unchanged Changes: NONE Adds: patches/patch-ah Removes: NONE --- /dev/null Wed Dec 29 16:15:19 1999 +++ patches/patch-ah Wed Dec 29 16:15:16 1999 @@ -0,0 +1,14 @@ +--- sysdeps/freebsd/procmap.c.orig Thu May 27 13:56:48 1999 ++++ sysdeps/freebsd/procmap.c Wed Dec 29 16:12:50 1999 +@@ -33,7 +33,11 @@ + #include + #include + #include ++#if (__FreeBSD_version >= 400011) ++#include ++#else + #include ++#endif + #include + + #include >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message