pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/gdb Correct gdb build failure on NetBSD 8.99.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/2db62c1b17d2
branches: trunk
changeset: 364388:2db62c1b17d2
user: kamil <kamil%pkgsrc.org@localhost>
date: Fri Jun 23 19:49:20 2017 +0000
description:
Correct gdb build failure on NetBSD 8.99.1
Address <sys/user.h> removal fallout.
diffstat:
devel/gdb/distinfo | 4 ++--
devel/gdb/patches/patch-gdb_bsd-kvm.c | 12 +++++++++++-
2 files changed, 13 insertions(+), 3 deletions(-)
diffs (41 lines):
diff -r d15b92e57475 -r 2db62c1b17d2 devel/gdb/distinfo
--- a/devel/gdb/distinfo Fri Jun 23 19:18:07 2017 +0000
+++ b/devel/gdb/distinfo Fri Jun 23 19:49:20 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.29 2017/06/05 11:38:51 maya Exp $
+$NetBSD: distinfo,v 1.30 2017/06/23 19:49:20 kamil Exp $
SHA1 (gdb-8.0.tar.gz) = 4e2ed3dc2ed6236f31cd1991ff6067f323ac63b0
RMD160 (gdb-8.0.tar.gz) = d770fa0bed5f94e98ff25dc16d65c1aa7013de1a
@@ -6,7 +6,7 @@
Size (gdb-8.0.tar.gz) = 36351752 bytes
SHA1 (patch-Makefile.in) = 48f65798f96fdda2a35eb8b18a7cc2993023bcc7
SHA1 (patch-ao) = fe55dc7245f438fccb7965ceb220be951f85a535
-SHA1 (patch-gdb_bsd-kvm.c) = c71d07ecaa34ae3f232f7a3d5d1684de4b5e90d9
+SHA1 (patch-gdb_bsd-kvm.c) = 45d0436f7c451de326afaffd3ebc5a4c3689d6f8
SHA1 (patch-gdb_config_i386_nbsd64.mh) = 5dd8cfc89d3de5d8df3f57d3c798a1fe292d4dfe
SHA1 (patch-gdb_x86-bsd-nat.c) = 82bfdd27ab88bf21421ad9209bbe5821f36ac854
SHA1 (patch-opcodes_i386-dis_c) = 57b2b2ce85567faf112ec9f435b9aed0ffc943fb
diff -r d15b92e57475 -r 2db62c1b17d2 devel/gdb/patches/patch-gdb_bsd-kvm.c
--- a/devel/gdb/patches/patch-gdb_bsd-kvm.c Fri Jun 23 19:18:07 2017 +0000
+++ b/devel/gdb/patches/patch-gdb_bsd-kvm.c Fri Jun 23 19:49:20 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-gdb_bsd-kvm.c,v 1.2 2017/06/05 11:38:51 maya Exp $
+$NetBSD: patch-gdb_bsd-kvm.c,v 1.3 2017/06/23 19:49:20 kamil Exp $
need _KMEMUSER to use some headers on netbsd, else vaddr_t
is undefined.
@@ -13,3 +13,13 @@
#include "defs.h"
#include "cli/cli-cmds.h"
#include "command.h"
+@@ -36,7 +37,9 @@
+ #include "readline/readline.h"
+ #include <sys/param.h>
+ #include <sys/proc.h>
++#if defined(__FreeBSD__) || defined(__DragonFly__)
+ #include <sys/user.h>
++#endif
+
+ #include "bsd-kvm.h"
+
Home |
Main Index |
Thread Index |
Old Index