ports/77615: Unbreak devel/fpc-gdb

Johan van Selst johans at stack.nl
Wed Feb 16 21:00:44 UTC 2005


>Number:         77615
>Category:       ports
>Synopsis:       Unbreak devel/fpc-gdb
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 16 21:00:43 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Johan van Selst
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD mud.stack.nl 5.3-STABLE FreeBSD 5.3-STABLE #0: Mon Jan 31 22:31:14 CET 2005 root at mud.stack.nl:/usr/obj/usr/src/sys/mud i386


	
>Description:
	
	Build fails because cpumask_t is only defined under _KERNEL
	Fix: define cpumask_t

>How-To-Repeat:
	
>Fix:

	

	Change patch-gdb_kvm-fbsd.c:

--- fpc-gdb/files/patch-gdb_kvm-fbsd.c	Wed Feb 16 21:42:43 2005
+++ fpc-gdb/files/patch-gdb_kvm-fbsd.c	Wed Feb 16 21:42:49 2005
@@ -1,6 +1,6 @@
 --- gdb/kvm-fbsd.c	Mon Jun  3 11:32:24 2002
 +++ gdb/kvm-fbsd.c	Mon Jun  3 11:30:35 2002
-@@ -0,0 +1,1055 @@
+@@ -0,0 +1,1056 @@
 +/* Live and postmortem kernel debugging functions for FreeBSD.
 +   Copyright 1996 Free Software Foundation, Inc.
 +
@@ -54,6 +54,7 @@
 +#include <machine/frame.h>
 +
 +#if __FreeBSD_version >= 500032 && defined(i386)
++typedef __cpumask_t	cpumask_t;
 +#define _KERNEL
 +#include <sys/pcpu.h>
 +#undef _KERNEL

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list