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: 4.5.4/gentoo/
Date: Mon, 19 Nov 2018 23:40:53
Message-Id: 1542670759.daa311067ebdc86178b5a7d3f413c369b46e7a7e.slyfox@gentoo
1 commit: daa311067ebdc86178b5a7d3f413c369b46e7a7e
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 19 23:39:19 2018 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 19 23:39:19 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=daa31106
7
8 4.5.4: backport libjava-ucontext.patch: bug #671270
9
10 Reported-by: Cyp
11 Bug: https://bugs.gentoo.org/671270
12 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
13
14 4.5.4/gentoo/101_all_libjava-ucontext.patch | 47 +++++++++++++++++++++++++++++
15 4.5.4/gentoo/README.history | 3 ++
16 2 files changed, 50 insertions(+)
17
18 diff --git a/4.5.4/gentoo/101_all_libjava-ucontext.patch b/4.5.4/gentoo/101_all_libjava-ucontext.patch
19 new file mode 100644
20 index 0000000..a4b0fb4
21 --- /dev/null
22 +++ b/4.5.4/gentoo/101_all_libjava-ucontext.patch
23 @@ -0,0 +1,47 @@
24 +https://bugs.gentoo.org/629502
25 +
26 +From 9b9287cde20ea57578cf07efb2a96ed4cc0da36f Mon Sep 17 00:00:00 2001
27 +From: doko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>
28 +Date: Thu, 7 Sep 2017 07:22:07 +0000
29 +Subject: [PATCH] 2017-09-07 Matthias Klose <doko@××××××.com>
30 +
31 + * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Replace
32 + 'struct ucontext' with ucontext_t.
33 + * include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Likewise.
34 + * include/s390-signal.h (HANDLE_DIVIDE_OVERFLOW): Likewise.
35 +
36 +
37 +git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-5-branch@251832 138bc75d-0d04-0410-961f-82ee72b054a4
38 +---
39 + libjava/include/i386-signal.h | 2 +-
40 + libjava/include/x86_64-signal.h | 2 +-
41 +
42 +diff --git a/libjava/include/i386-signal.h b/libjava/include/i386-signal.h
43 +index c2409b0e301..ef77e7e99ae 100644
44 +--- a/libjava/include/i386-signal.h
45 ++++ b/libjava/include/i386-signal.h
46 +@@ -29,7 +29,7 @@ static void _Jv_##_name (int, siginfo_t *, \
47 + #define HANDLE_DIVIDE_OVERFLOW \
48 + do \
49 + { \
50 +- struct ucontext *_uc = (struct ucontext *)_p; \
51 ++ ucontext_t *_uc = (ucontext_t *)_p; \
52 + gregset_t &_gregs = _uc->uc_mcontext.gregs; \
53 + unsigned char *_eip = (unsigned char *)_gregs[REG_EIP]; \
54 + \
55 +diff --git a/libjava/include/x86_64-signal.h b/libjava/include/x86_64-signal.h
56 +index 12383b5485a..e36c5a32a64 100644
57 +--- a/libjava/include/x86_64-signal.h
58 ++++ b/libjava/include/x86_64-signal.h
59 +@@ -28,7 +28,7 @@ static void _Jv_##_name (int, siginfo_t *, \
60 + #define HANDLE_DIVIDE_OVERFLOW \
61 + do \
62 + { \
63 +- struct ucontext *_uc = (struct ucontext *)_p; \
64 ++ ucontext_t *_uc = (ucontext_t *)_p; \
65 + gregset_t &_gregs = _uc->uc_mcontext.gregs; \
66 + unsigned char *_rip = (unsigned char *)_gregs[REG_RIP]; \
67 + \
68 +--
69 +2.15.1
70 +
71
72 diff --git a/4.5.4/gentoo/README.history b/4.5.4/gentoo/README.history
73 index d1c5286..851fc67 100644
74 --- a/4.5.4/gentoo/README.history
75 +++ b/4.5.4/gentoo/README.history
76 @@ -1,3 +1,6 @@
77 +1.5 TODO
78 + + 101_all_libjava-ucontext.patch
79 +
80 1.4 23 Sep 2018
81 U 93_all_gcc-4.5-cloog-dl.patch
82 + 100_all_ucontext-to-ucontext_t.patch