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.3.6/gentoo/
Date: Mon, 19 Nov 2018 23:41:00
Message-Id: 1542670786.750c85768c0bbbd29e6db6a0d173f5b55e5a2edb.slyfox@gentoo
1 commit: 750c85768c0bbbd29e6db6a0d173f5b55e5a2edb
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 19 23:39:46 2018 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 19 23:39:46 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=750c8576
7
8 4.3.6: 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.3.6/gentoo/93_all_libjava-ucontext.patch | 47 ++++++++++++++++++++++++++++++
15 4.3.6/gentoo/README.history | 3 ++
16 2 files changed, 50 insertions(+)
17
18 diff --git a/4.3.6/gentoo/93_all_libjava-ucontext.patch b/4.3.6/gentoo/93_all_libjava-ucontext.patch
19 new file mode 100644
20 index 0000000..a4b0fb4
21 --- /dev/null
22 +++ b/4.3.6/gentoo/93_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.3.6/gentoo/README.history b/4.3.6/gentoo/README.history
73 index bb0a595..4422206 100644
74 --- a/4.3.6/gentoo/README.history
75 +++ b/4.3.6/gentoo/README.history
76 @@ -1,3 +1,6 @@
77 +1.4 TODO
78 + + 93_all_libjava-ucontext.patch
79 +
80 1.3 23 Sep 2018
81 + 92_all_ucontext-to-ucontext_t.patch