summaryrefslogtreecommitdiff
path: root/devel/gdb
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2019-10-11 09:23:42 +0000
committermaya <maya@pkgsrc.org>2019-10-11 09:23:42 +0000
commit4f6a0940f82623ca2ec709cef1d662748479939a (patch)
tree0e3be1ed4bafd5e7ae89230a49a22f279c163fcb /devel/gdb
parent3c01f7eef439e275973598cd4e7662d4c18219eb (diff)
downloadpkgsrc-4f6a0940f82623ca2ec709cef1d662748479939a.tar.gz
gdb: fix SmartOS build by checking if SYS_uuidsys exists.
This was already committed upstream by someone else.
Diffstat (limited to 'devel/gdb')
-rw-r--r--devel/gdb/distinfo3
-rw-r--r--devel/gdb/patches/patch-gdb_proc-events.c16
2 files changed, 18 insertions, 1 deletions
diff --git a/devel/gdb/distinfo b/devel/gdb/distinfo
index 595a25bfd91..07517f6d323 100644
--- a/devel/gdb/distinfo
+++ b/devel/gdb/distinfo
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.32 2018/01/31 20:33:11 maya Exp $
+$NetBSD: distinfo,v 1.33 2019/10/11 09:23:42 maya Exp $
SHA1 (gdb-8.1.tar.gz) = b28d9349ccd45c0aa208cda3a1ecf7e17eca0552
RMD160 (gdb-8.1.tar.gz) = 71bbfb22a924f5aa88af7ba8ed11f763a8666ad1
SHA512 (gdb-8.1.tar.gz) = 4a51e491061f97708ec1cebf9973ea451f9b9499ee2b898fa1631dbe78ffecec9c09e8a95f04c888dee4664957583b1982efd468088878b203a125bbcf9ee516
Size (gdb-8.1.tar.gz) = 37334207 bytes
SHA1 (patch-Makefile.in) = 48f65798f96fdda2a35eb8b18a7cc2993023bcc7
+SHA1 (patch-gdb_proc-events.c) = 0ff0e3b33beacd83384f4b1b07e337d5271cea8c
SHA1 (patch-opcodes_i386-dis_c) = 57b2b2ce85567faf112ec9f435b9aed0ffc943fb
SHA1 (patch-sim_ppc_emul_netbsd.c) = 34fcb884c3c82e8eae6cd6f8c87ce42e9354c347
diff --git a/devel/gdb/patches/patch-gdb_proc-events.c b/devel/gdb/patches/patch-gdb_proc-events.c
new file mode 100644
index 00000000000..7dcd1d85aa5
--- /dev/null
+++ b/devel/gdb/patches/patch-gdb_proc-events.c
@@ -0,0 +1,16 @@
+$NetBSD: patch-gdb_proc-events.c,v 1.1 2019/10/11 09:23:42 maya Exp $
+
+Check if SYS_uuidsys is defined before using it. (solaris)
+
+--- gdb/proc-events.c.orig 2018-01-05 04:07:23.000000000 +0000
++++ gdb/proc-events.c
+@@ -493,7 +493,9 @@ init_syscall_table (void)
+ syscall_table[SYS_utssys] = "utssys";
+ syscall_table[SYS_uucopy] = "uucopy";
+ syscall_table[SYS_uucopystr] = "uucopystr";
++#ifdef SYS_uuidsys
+ syscall_table[SYS_uuidsys] = "uuidsys";
++#endif
+ #ifdef SYS_va_mask
+ syscall_table[SYS_va_mask] = "va_mask";
+ #endif