pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/gdb gdb: fix SmartOS build by checking if SYS_uu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/46002b8cf641
branches:  trunk
changeset: 341972:46002b8cf641
user:      maya <maya%pkgsrc.org@localhost>
date:      Fri Oct 11 09:23:42 2019 +0000

description:
gdb: fix SmartOS build by checking if SYS_uuidsys exists.

This was already committed upstream by someone else.

diffstat:

 devel/gdb/distinfo                        |   3 ++-
 devel/gdb/patches/patch-gdb_proc-events.c |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 036c65a04e01 -r 46002b8cf641 devel/gdb/distinfo
--- a/devel/gdb/distinfo        Fri Oct 11 09:08:35 2019 +0000
+++ b/devel/gdb/distinfo        Fri Oct 11 09:23:42 2019 +0000
@@ -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 -r 036c65a04e01 -r 46002b8cf641 devel/gdb/patches/patch-gdb_proc-events.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gdb/patches/patch-gdb_proc-events.c Fri Oct 11 09:23:42 2019 +0000
@@ -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



Home | Main Index | Thread Index | Old Index