diff options
author | rillig <rillig> | 2008-01-06 19:54:46 +0000 |
---|---|---|
committer | rillig <rillig> | 2008-01-06 19:54:46 +0000 |
commit | 7b57e3c912b26d7f44fa6c96ab67cb2c7b212cd8 (patch) | |
tree | 4f6978f205c329bace5261fe983130403e0e8aec /devel/gdb6 | |
parent | d6eddca3e4bb4857c4ae4e8bba7c4402a5183233 (diff) | |
download | pkgsrc-7b57e3c912b26d7f44fa6c96ab67cb2c7b212cd8.tar.gz |
Made gdb build again on NetBSD-current. The cause was that <sys/vmparam.h>
uses kmutex_t, but doesn't include <sys/mutex.h>, where it is defined.
Diffstat (limited to 'devel/gdb6')
-rw-r--r-- | devel/gdb6/distinfo | 4 | ||||
-rw-r--r-- | devel/gdb6/patches/patch-an | 11 |
2 files changed, 9 insertions, 6 deletions
diff --git a/devel/gdb6/distinfo b/devel/gdb6/distinfo index 4a19197d9d9..88b47e06829 100644 --- a/devel/gdb6/distinfo +++ b/devel/gdb6/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.11 2007/07/03 12:32:28 lkundrak Exp $ +$NetBSD: distinfo,v 1.12 2008/01/06 19:54:46 rillig Exp $ SHA1 (gdb-6.2.1.tar.bz2) = 50cee3887744c4140aafcc0e4eb579d94464dfd7 RMD160 (gdb-6.2.1.tar.bz2) = 6fe9f3bbef076c55cbcdf05143e7d5f98f61f889 @@ -16,7 +16,7 @@ SHA1 (patch-aj) = a54471bf7cdd42def5e78137df3674988ae3c04b SHA1 (patch-ak) = 6ae7afb646fe7464b8a3667913ac6681b1df34e6 SHA1 (patch-al) = c883cc007cd43c478b1ba0f09ca084391552ba3b SHA1 (patch-am) = 3d9a9eb8dce8a8cb83f8e7afc504bf52cdec0b1d -SHA1 (patch-an) = 11df264e672894836effbb922381dff6abb42aca +SHA1 (patch-an) = ba113183487cea58e71b932754d3b7b77f1c96f9 SHA1 (patch-ao) = 6b977d1da6d94ff32bdf1e3627ee534333cc2a79 SHA1 (patch-ap) = 3e41ee1623a52802268d5986559ce7ab742f36e7 SHA1 (patch-aq) = bf4b1c62b003e65f5810a7d28f8464e936e8d190 diff --git a/devel/gdb6/patches/patch-an b/devel/gdb6/patches/patch-an index 3bb0ea2c554..9ba937362c6 100644 --- a/devel/gdb6/patches/patch-an +++ b/devel/gdb6/patches/patch-an @@ -1,8 +1,8 @@ -$NetBSD: patch-an,v 1.1 2005/10/20 17:48:49 wiz Exp $ +$NetBSD: patch-an,v 1.2 2008/01/06 19:54:46 rillig Exp $ ---- gdb/config/i386/nm-nbsd.h.orig 2004-02-22 09:20:22.000000000 -0700 -+++ gdb/config/i386/nm-nbsd.h -@@ -23,7 +23,13 @@ +--- gdb/config/i386/nm-nbsd.h.orig 2004-02-22 16:20:22.000000000 +0000 ++++ gdb/config/i386/nm-nbsd.h 2008-01-06 20:43:25.000000000 +0000 +@@ -23,7 +23,16 @@ #ifndef NM_NBSD_H #define NM_NBSD_H @@ -12,6 +12,9 @@ $NetBSD: patch-an,v 1.1 2005/10/20 17:48:49 wiz Exp $ #include "config/nm-nbsd.h" +#include <sys/lock.h> ++#if __NetBSD_Version__ >= 499000900 ++#include <sys/mutex.h> ++#endif +#include <machine/vmparam.h> +#define KERNEL_U_ADDR USRSTACK + |