1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

- Unbreak

PR:		ports/77615
Submitted by:	Johan van Selst <johans@stack.nl>
This commit is contained in:
Pav Lucistnik 2005-02-18 00:12:15 +00:00
parent f1cb43ce71
commit 2fb8b9f4ef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=129120
3 changed files with 21 additions and 13 deletions

View File

@ -10,15 +10,15 @@ PORTNAME= gdb
PORTVERSION= 5.2.1
CATEGORIES= devel lang
MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
MASTER_SITE_SUBDIR= gdb/releases
MASTER_SITE_SUBDIR= gdb/old-releases
PKGNAMEPREFIX= fpc-
PATCH_SITES= ftp://ftp.freepascal.org/fpc/contrib/libgdb/v5.2.1 \
ftp://planetmirror.com/pub/fpc/contrib/libgdb/v5.2.1/ \
ftp://ftp.jp.freepascal.org/mirror/fpc/contrib/libgdb/v5.2.1/ \
ftp://freepascal.stack.nl/pub/fpc/contrib/libgdb/v5.2.1/ \
ftp://ftp.no.freepascal.org/pub/fpc/contrib/libgdb/v5.2.1/ \
ftp://ftp.us.freepascal.org/pub/fpc/contrib/libgdb/v5.2.1/ \
PATCH_SITES= ftp://ftp.freepascal.org/fpc/contrib/libgdb/old/v5.2.1/ \
ftp://planetmirror.com/pub/fpc/contrib/libgdb/old/v5.2.1/ \
ftp://ftp.jp.freepascal.org/mirror/fpc/contrib/libgdb/old/v5.2.1/ \
ftp://freepascal.stack.nl/pub/fpc/contrib/libgdb/old/v5.2.1/ \
ftp://ftp.no.freepascal.org/pub/fpc/contrib/libgdb/old/v5.2.1/ \
ftp://ftp.us.freepascal.org/pub/fpc/contrib/libgdb/old/v5.2.1/ \
${MASTER_SITE_LOCAL}
PATCH_SITE_SUBDIR= obrien
PATCHFILES= gdb521.dif gdb521_xfree-loadmod.diff
@ -26,10 +26,6 @@ PATCHFILES= gdb521.dif gdb521_xfree-loadmod.diff
MAINTAINER= ports@FreeBSD.org
COMMENT= GNU GDB 5.2.1 modified for Free Pascal
BROKEN= "Does not compile"
EXPIRATION_DATE=2005-02-18
DEPRECATED= ${BROKEN}
.include <bsd.port.pre.mk>
NO_LATEST_LINK= yes

View File

@ -0,0 +1,11 @@
--- bfd/configure.orig Fri Feb 18 00:31:38 2005
+++ bfd/configure Fri Feb 18 00:31:40 2005
@@ -5059,7 +5059,7 @@
i[3456]86-*-bsdi)
COREFILE=
;;
- i[3456]86-*-bsd* | i[34567]86-*-freebsd[123] | i[34567]86-*-freebsd[123]\.* | i[34567]86-*-freebsd4\.[01234]* | i[34567]86-*-freebsd*aout*)
+ i[3456]86-*-bsd* | i[34567]86-*-freebsd[123] | i[34567]86-*-freebsd[123]\.* | i[34567]86-*-freebsd4\.[01234] | i[34567]86-*-freebsd*aout*)
COREFILE=trad-core.lo
TRAD_HEADER='"hosts/i386bsd.h"'
;;

View File

@ -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.
+
@ -20,7 +20,7 @@
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+
+/* $FreeBSD: /tmp/pcvs/ports/devel/fpc-gdb/files/Attic/patch-gdb_kvm-fbsd.c,v 1.1 2004-02-22 01:52:20 marcus Exp $ */
+/* $FreeBSD: /tmp/pcvs/ports/devel/fpc-gdb/files/Attic/patch-gdb_kvm-fbsd.c,v 1.2 2005-02-18 00:12:15 pav Exp $ */
+
+#include "defs.h"
+
@ -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