summaryrefslogtreecommitdiff
path: root/sys-libs/lwp/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-04-28 20:02:04 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-04-28 20:02:04 +0100
commita4e2a46beb5e4858ef27bdedbb0ff6d2ced430ad (patch)
tree852c90a4bf354c30ea66504f70bfab5401fba18d /sys-libs/lwp/files
parent5e8702bcbbed438e6c6cce023e7ef0cc9baa3e02 (diff)
gentoo resync : 28.04.2018
Diffstat (limited to 'sys-libs/lwp/files')
-rw-r--r--sys-libs/lwp/files/lwp-2.8-ia64.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/sys-libs/lwp/files/lwp-2.8-ia64.patch b/sys-libs/lwp/files/lwp-2.8-ia64.patch
new file mode 100644
index 000000000000..bb5abe65cc34
--- /dev/null
+++ b/sys-libs/lwp/files/lwp-2.8-ia64.patch
@@ -0,0 +1,18 @@
+diff --git a/src/lwp_ucontext.h b/src/lwp_ucontext.h
+index dfb5465..adc58e5 100644
+--- a/src/lwp_ucontext.h
++++ b/src/lwp_ucontext.h
+@@ -25,6 +25,13 @@ Coda are listed in the file CREDITS.
+ #include <signal.h>
+ #include "lwp_stacktrace.h"
+
++// ia64 defines uc_link define as:
++// /usr/include/sys/ucontext.h:#define uc_link _u._uc._link
++// undo namespace pollution
++#undef uc_link
++#undef uc_stack
++#undef uc_mcontext
++
+ #ifdef SAVE_SIGMASK
+ #define JMP_BUF sigjmp_buf
+ #define SETJMP(x,y) sigsetjmp(x, y)