Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Dec 1999 16:26:25 -0600
From:      Ade Lovett <ade@lovett.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/15776: Fix devel/libgtop for -current
Message-ID:  <E123RY1-000Cyx-00@sappho.lovett.com>

next in thread | raw e-mail | index | archive | help

>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 <sys/proc.h>
+ #include <sys/resource.h>
+ #include <vm/vm_object.h>
++#if (__FreeBSD_version >= 400011)
++#include <vm/vm.h>
++#else
+ #include <vm/vm_prot.h>
++#endif
+ #include <vm/vm_map.h>
+ 
+ #include <sys/vnode.h>


>Release-Note:
>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?E123RY1-000Cyx-00>