aboutsummaryrefslogtreecommitdiff
path: root/devel/fpc-gdb
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-02-18 00:12:15 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-02-18 00:12:15 +0000
commit2fb8b9f4ef8f61d979478b36b5d5fe54e88456b0 (patch)
tree929370cf6b171c0fb0a362eb6886012dc35906bc /devel/fpc-gdb
parentf1cb43ce7123c7f5d53c768a7e9f065be64e2bf7 (diff)
downloadports-2fb8b9f4ef8f61d979478b36b5d5fe54e88456b0.tar.gz
ports-2fb8b9f4ef8f61d979478b36b5d5fe54e88456b0.zip
Notes
Diffstat (limited to 'devel/fpc-gdb')
-rw-r--r--devel/fpc-gdb/Makefile18
-rw-r--r--devel/fpc-gdb/files/patch-bfd_configure11
-rw-r--r--devel/fpc-gdb/files/patch-gdb_kvm-fbsd.c5
3 files changed, 21 insertions, 13 deletions
diff --git a/devel/fpc-gdb/Makefile b/devel/fpc-gdb/Makefile
index c59bd66c7511..af63e5eae675 100644
--- a/devel/fpc-gdb/Makefile
+++ b/devel/fpc-gdb/Makefile
@@ -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
diff --git a/devel/fpc-gdb/files/patch-bfd_configure b/devel/fpc-gdb/files/patch-bfd_configure
new file mode 100644
index 000000000000..c522df7b9382
--- /dev/null
+++ b/devel/fpc-gdb/files/patch-bfd_configure
@@ -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"'
+ ;;
diff --git a/devel/fpc-gdb/files/patch-gdb_kvm-fbsd.c b/devel/fpc-gdb/files/patch-gdb_kvm-fbsd.c
index e104339d3869..4e8483e73a2c 100644
--- a/devel/fpc-gdb/files/patch-gdb_kvm-fbsd.c
+++ b/devel/fpc-gdb/files/patch-gdb_kvm-fbsd.c
@@ -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