diff options
author | joerg <joerg@pkgsrc.org> | 2006-02-27 15:45:29 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-02-27 15:45:29 +0000 |
commit | a5df8ff36a466740b07aeb6346f2e76aae2ba03b (patch) | |
tree | 6549c6be20f140b4e671568f9e0541879481378c /devel | |
parent | 02ef6a747e31d8cf65b2c1b9f98b25113bc13dda (diff) | |
download | pkgsrc-a5df8ff36a466740b07aeb6346f2e76aae2ba03b.tar.gz |
Fix errno. Add DragonFly support.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/gdb/Makefile | 3 | ||||
-rw-r--r-- | devel/gdb/distinfo | 9 | ||||
-rw-r--r-- | devel/gdb/patches/patch-ah | 21 | ||||
-rw-r--r-- | devel/gdb/patches/patch-ai | 13 | ||||
-rw-r--r-- | devel/gdb/patches/patch-aj | 12 | ||||
-rw-r--r-- | devel/gdb/patches/patch-ak | 12 | ||||
-rw-r--r-- | devel/gdb/patches/patch-al | 13 | ||||
-rw-r--r-- | devel/gdb/patches/patch-am | 13 | ||||
-rw-r--r-- | devel/gdb/patches/patch-an | 13 |
9 files changed, 107 insertions, 2 deletions
diff --git a/devel/gdb/Makefile b/devel/gdb/Makefile index 1bfb0e53a9d..30f62c260cf 100644 --- a/devel/gdb/Makefile +++ b/devel/gdb/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2006/02/05 23:08:42 joerg Exp $ +# $NetBSD: Makefile,v 1.27 2006/02/27 15:45:29 joerg Exp $ # DISTNAME= gdb-5.3 @@ -14,6 +14,7 @@ BROKEN_IN= pkgsrc-2005Q4 NOT_FOR_PLATFORM= Darwin-*-* +BROKEN_GETTEXT_DETECTION= yes GNU_CONFIGURE= YES USE_PKGLOCALEDIR= YES USE_LIBTOOL= YES diff --git a/devel/gdb/distinfo b/devel/gdb/distinfo index 03ed9e21507..f27b94d2580 100644 --- a/devel/gdb/distinfo +++ b/devel/gdb/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2005/03/17 14:23:46 wiz Exp $ +$NetBSD: distinfo,v 1.7 2006/02/27 15:45:29 joerg Exp $ SHA1 (gdb-5.3.tar.gz) = 24a6c9da6e89b1b82b7508f27f94098d989ff662 RMD160 (gdb-5.3.tar.gz) = 3f88dc11115de08708c50c73b10acaf00ed25e96 @@ -10,3 +10,10 @@ SHA1 (patch-ad) = f831cd919d75ba8ab76c1f90b47ee443615397f8 SHA1 (patch-ae) = e2a7e553cab2d447e9c27f6fd956577355714f28 SHA1 (patch-af) = 4637beaaa978395547f7664504aced476ec946d8 SHA1 (patch-ag) = 94eaa6bc4183ac86a21e417f6d266173618e78b5 +SHA1 (patch-ah) = 0a6ceea484411d26ac584a1b3d248e4c3c50f3d7 +SHA1 (patch-ai) = 24fc619a5de034c4ead6424ffcb30a2e8aa7d816 +SHA1 (patch-aj) = 16b03a5ce9b34af42dcec4e26103ebc456d091bf +SHA1 (patch-ak) = 0908ff7f7000df702a18c25bce4b4930c61ad8f8 +SHA1 (patch-al) = 2721abee837d85f57b05073490d94e9e11d5193d +SHA1 (patch-am) = 8bb74176c2e7042a74330a02d60a1976919da2a0 +SHA1 (patch-an) = c28777296917daa1a619eca092023c8f5aaf706f diff --git a/devel/gdb/patches/patch-ah b/devel/gdb/patches/patch-ah new file mode 100644 index 00000000000..085520d26b7 --- /dev/null +++ b/devel/gdb/patches/patch-ah @@ -0,0 +1,21 @@ +$NetBSD: patch-ah,v 1.1 2006/02/27 15:45:29 joerg Exp $ + +--- bfd/configure.orig 2006-02-27 14:42:54.000000000 +0000 ++++ bfd/configure +@@ -5104,7 +5104,7 @@ if test "${target}" = "${host}"; then + COREFILE=trad-core.lo + TRAD_HEADER='"hosts/i386bsd.h"' + ;; +- i[3456]86-*-freebsd*) ++ i[3456]86-*-freebsd* | i[3456]86-*-dragonfly*) + COREFILE='' + TRAD_HEADER='"hosts/i386bsd.h"' + ;; +@@ -6180,6 +6180,7 @@ do + i386coff_vec) tb="$tb coff-i386.lo cofflink.lo" ;; + i386dynix_vec) tb="$tb i386dynix.lo aout32.lo" ;; + i386freebsd_vec) tb="$tb i386freebsd.lo aout32.lo" ;; ++ i386dragonfly_vec) tb="$tb i386freebsd.lo aout32.lo" ;; + i386linux_vec) tb="$tb i386linux.lo aout32.lo" ;; + i386lynx_aout_vec) tb="$tb i386lynx.lo lynx-core.lo aout32.lo" ;; + i386lynx_coff_vec) tb="$tb cf-i386lynx.lo cofflink.lo lynx-core.lo" ;; diff --git a/devel/gdb/patches/patch-ai b/devel/gdb/patches/patch-ai new file mode 100644 index 00000000000..947ee4c9c7c --- /dev/null +++ b/devel/gdb/patches/patch-ai @@ -0,0 +1,13 @@ +$NetBSD: patch-ai,v 1.1 2006/02/27 15:45:29 joerg Exp $ + +--- bfd/config.bfd.orig 2002-09-05 20:34:35.000000000 +0000 ++++ bfd/config.bfd +@@ -398,7 +398,7 @@ case "${targ}" in + targ_selvecs=i386bsd_vec + targ_underscore=yes + ;; +- i[3456]86-*-freebsd*) ++ i[3456]86-*-freebsd* | i[3456]86-*-dragonfly*) + targ_defvec=bfd_elf32_i386_vec + targ_selvecs=i386coff_vec + ;; diff --git a/devel/gdb/patches/patch-aj b/devel/gdb/patches/patch-aj new file mode 100644 index 00000000000..d6053bc2b8d --- /dev/null +++ b/devel/gdb/patches/patch-aj @@ -0,0 +1,12 @@ +$NetBSD: patch-aj,v 1.1 2006/02/27 15:45:29 joerg Exp $ + +--- gdb/configure.host.orig 2006-02-27 14:49:37.000000000 +0000 ++++ gdb/configure.host +@@ -58,6 +58,7 @@ i[3456]86-sequent-sysv*) gdb_host=ptx ;; + i[3456]86-*-bsd*) gdb_host=i386bsd ;; + i[3456]86-*-dgux*) gdb_host=i386dgux ;; + i[3456]86-*-freebsd*) gdb_host=fbsd ;; ++i[3456]86-*-dragonfly*) gdb_host=fbsd ;; + i[3456]86-*-netbsdelf*) gdb_host=nbsdelf ;; + i[3456]86-*-netbsdaout*) gdb_host=nbsdaout ;; + i[3456]86-*-netbsd*) gdb_host=nbsdaout ;; diff --git a/devel/gdb/patches/patch-ak b/devel/gdb/patches/patch-ak new file mode 100644 index 00000000000..79d12a10f2c --- /dev/null +++ b/devel/gdb/patches/patch-ak @@ -0,0 +1,12 @@ +$NetBSD: patch-ak,v 1.1 2006/02/27 15:45:29 joerg Exp $ + +--- gdb/configure.tgt.orig 2006-02-27 14:50:06.000000000 +0000 ++++ gdb/configure.tgt +@@ -92,6 +92,7 @@ i[3456]86-ncr-*) gdb_target=ncr3000 ;; + # OBSOLETE i[3456]86-*-aix*) gdb_target=i386aix ;; + i[3456]86-*-bsd*) gdb_target=i386bsd ;; + i[3456]86-*-freebsd*) gdb_target=fbsd ;; ++i[3456]86-*-dragonfly*) gdb_target=fbsd ;; + i[3456]86-*-netbsd*) gdb_target=nbsd ;; + i[3456]86-*-openbsd*) gdb_target=obsd ;; + # OBSOLETE i[3456]86-*-os9k) gdb_target=i386os9k ;; diff --git a/devel/gdb/patches/patch-al b/devel/gdb/patches/patch-al new file mode 100644 index 00000000000..ac0bffcde1d --- /dev/null +++ b/devel/gdb/patches/patch-al @@ -0,0 +1,13 @@ +$NetBSD: patch-al,v 1.1 2006/02/27 15:45:29 joerg Exp $ + +--- gdb/rdi-share/unixcomm.c.orig 2006-02-27 14:51:31.000000000 +0000 ++++ gdb/rdi-share/unixcomm.c +@@ -36,7 +36,7 @@ + #include <sys/types.h> + #include <sys/time.h> + +-#if defined (__FreeBSD__) || defined (__NetBSD__) || defined (__OpenBSD__) || defined (bsdi) ++#if defined (__FreeBSD__) || defined (__NetBSD__) || defined (__OpenBSD__) || defined (bsdi) || defined(__DragonFly__) + #undef BSD + #include <sys/ioctl.h> + #endif diff --git a/devel/gdb/patches/patch-am b/devel/gdb/patches/patch-am new file mode 100644 index 00000000000..7c164bf946f --- /dev/null +++ b/devel/gdb/patches/patch-am @@ -0,0 +1,13 @@ +$NetBSD: patch-am,v 1.1 2006/02/27 15:45:29 joerg Exp $ + +--- gdb/i386bsd-nat.c.orig 2006-02-27 14:51:46.000000000 +0000 ++++ gdb/i386bsd-nat.c +@@ -395,7 +395,7 @@ _initialize_i386bsd_nat (void) + system header files and sysctl(3) to get at the relevant + information. */ + +-#if defined (__FreeBSD_version) && __FreeBSD_version >= 400011 ++#if defined(__DragonFly__) || (defined (__FreeBSD_version) && __FreeBSD_version >= 400011) + extern int i386fbsd4_sc_pc_offset; + extern int i386fbsd4_sc_sp_offset; + #define SC_PC_OFFSET i386fbsd4_sc_pc_offset diff --git a/devel/gdb/patches/patch-an b/devel/gdb/patches/patch-an new file mode 100644 index 00000000000..9fd67468654 --- /dev/null +++ b/devel/gdb/patches/patch-an @@ -0,0 +1,13 @@ +$NetBSD: patch-an,v 1.1 2006/02/27 15:45:29 joerg Exp $ + +--- gdb/target.c.orig 2006-02-27 15:13:18.000000000 +0000 ++++ gdb/target.c +@@ -36,8 +36,6 @@ + #include <signal.h> + #include "regcache.h" + +-extern int errno; +- + static void target_info (char *, int); + + static void cleanup_target (struct target_ops *); |