summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/patchsets/gdb/8.1/02_all_solaris-no-uuidsys.patch')
-rw-r--r--src/patchsets/gdb/8.1/02_all_solaris-no-uuidsys.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/patchsets/gdb/8.1/02_all_solaris-no-uuidsys.patch b/src/patchsets/gdb/8.1/02_all_solaris-no-uuidsys.patch
new file mode 100644
index 0000000000..7eb5db4f21
--- /dev/null
+++ b/src/patchsets/gdb/8.1/02_all_solaris-no-uuidsys.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/650130
+--- a/gdb/proc-events.c
++++ b/gdb/proc-events.c
+@@ -493,7 +493,9 @@
+ 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