Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gcc-patches:master commit in: 3.3.6/gentoo/
Date: Fri, 30 Nov 2018 23:41:55
Message-Id: 1543621292.a980d0914a363bcf99c36dadc120f9057f5f389d.slyfox@gentoo
1 commit: a980d0914a363bcf99c36dadc120f9057f5f389d
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 30 23:41:32 2018 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 30 23:41:32 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=a980d091
7
8 3.3.6: backport libjava ucontext fix
9
10 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
11
12 3.3.6/gentoo/92_all_ucontext-to-ucontext_t.patch | 13 +++++++++++++
13 3.3.6/gentoo/README.history | 3 +++
14 2 files changed, 16 insertions(+)
15
16 diff --git a/3.3.6/gentoo/92_all_ucontext-to-ucontext_t.patch b/3.3.6/gentoo/92_all_ucontext-to-ucontext_t.patch
17 new file mode 100644
18 index 0000000..f1439df
19 --- /dev/null
20 +++ b/3.3.6/gentoo/92_all_ucontext-to-ucontext_t.patch
21 @@ -0,0 +1,13 @@
22 +https://bugs.gentoo.org/664486
23 +
24 +--- a/libjava/include/x86_64-signal.h
25 ++++ b/libjava/include/x86_64-signal.h
26 +@@ -40,7 +40,7 @@ do \
27 + /* Advance the program counter so that it is after the start of the \
28 + instruction: the x86_64 exception handler expects \
29 + the PC to point to the instruction after a call. */ \
30 +- struct ucontext *_uc = (struct ucontext *)_p; \
31 ++ ucontext_t *_uc = (ucontext_t *)_p; \
32 + volatile struct sigcontext *_sc = (struct sigcontext *) &_uc->uc_mcontext; \
33 + _sc->rip += 2; \
34 + } \
35
36 diff --git a/3.3.6/gentoo/README.history b/3.3.6/gentoo/README.history
37 index c7e6497..72369ca 100644
38 --- a/3.3.6/gentoo/README.history
39 +++ b/3.3.6/gentoo/README.history
40 @@ -1,3 +1,6 @@
41 +1.11 TODO
42 + + 92_all_ucontext-to-ucontext_t.patch
43 +
44 1.10 30 Sep 2018
45 + 89_all_gcc-3.3.x-ucontext.patch
46 + 90_all_libtool-pass-all.patch