From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 63C41138334 for ; Mon, 19 Nov 2018 23:41:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 24188E099C; Mon, 19 Nov 2018 23:40:26 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D9197E099C for ; Mon, 19 Nov 2018 23:40:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6880C335C94 for ; Mon, 19 Nov 2018 23:40:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D3B11476 for ; Mon, 19 Nov 2018 23:40:20 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1542670786.750c85768c0bbbd29e6db6a0d173f5b55e5a2edb.slyfox@gentoo> Subject: [gentoo-commits] proj/gcc-patches:master commit in: 4.3.6/gentoo/ X-VCS-Repository: proj/gcc-patches X-VCS-Files: 4.3.6/gentoo/93_all_libjava-ucontext.patch 4.3.6/gentoo/README.history X-VCS-Directories: 4.3.6/gentoo/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 750c85768c0bbbd29e6db6a0d173f5b55e5a2edb X-VCS-Branch: master Date: Mon, 19 Nov 2018 23:40:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 3ef5be95-730a-41a8-af5c-bd49be76497d X-Archives-Hash: e6aea9dab77c1cb0ff927aa420dcbd86 commit: 750c85768c0bbbd29e6db6a0d173f5b55e5a2edb Author: Sergei Trofimovich gentoo org> AuthorDate: Mon Nov 19 23:39:46 2018 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Nov 19 23:39:46 2018 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=750c8576 4.3.6: backport libjava-ucontext.patch: bug #671270 Reported-by: Cyp Bug: https://bugs.gentoo.org/671270 Signed-off-by: Sergei Trofimovich gentoo.org> 4.3.6/gentoo/93_all_libjava-ucontext.patch | 47 ++++++++++++++++++++++++++++++ 4.3.6/gentoo/README.history | 3 ++ 2 files changed, 50 insertions(+) diff --git a/4.3.6/gentoo/93_all_libjava-ucontext.patch b/4.3.6/gentoo/93_all_libjava-ucontext.patch new file mode 100644 index 0000000..a4b0fb4 --- /dev/null +++ b/4.3.6/gentoo/93_all_libjava-ucontext.patch @@ -0,0 +1,47 @@ +https://bugs.gentoo.org/629502 + +From 9b9287cde20ea57578cf07efb2a96ed4cc0da36f Mon Sep 17 00:00:00 2001 +From: doko +Date: Thu, 7 Sep 2017 07:22:07 +0000 +Subject: [PATCH] 2017-09-07 Matthias Klose + + * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Replace + 'struct ucontext' with ucontext_t. + * include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Likewise. + * include/s390-signal.h (HANDLE_DIVIDE_OVERFLOW): Likewise. + + +git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-5-branch@251832 138bc75d-0d04-0410-961f-82ee72b054a4 +--- + libjava/include/i386-signal.h | 2 +- + libjava/include/x86_64-signal.h | 2 +- + +diff --git a/libjava/include/i386-signal.h b/libjava/include/i386-signal.h +index c2409b0e301..ef77e7e99ae 100644 +--- a/libjava/include/i386-signal.h ++++ b/libjava/include/i386-signal.h +@@ -29,7 +29,7 @@ static void _Jv_##_name (int, siginfo_t *, \ + #define HANDLE_DIVIDE_OVERFLOW \ + do \ + { \ +- struct ucontext *_uc = (struct ucontext *)_p; \ ++ ucontext_t *_uc = (ucontext_t *)_p; \ + gregset_t &_gregs = _uc->uc_mcontext.gregs; \ + unsigned char *_eip = (unsigned char *)_gregs[REG_EIP]; \ + \ +diff --git a/libjava/include/x86_64-signal.h b/libjava/include/x86_64-signal.h +index 12383b5485a..e36c5a32a64 100644 +--- a/libjava/include/x86_64-signal.h ++++ b/libjava/include/x86_64-signal.h +@@ -28,7 +28,7 @@ static void _Jv_##_name (int, siginfo_t *, \ + #define HANDLE_DIVIDE_OVERFLOW \ + do \ + { \ +- struct ucontext *_uc = (struct ucontext *)_p; \ ++ ucontext_t *_uc = (ucontext_t *)_p; \ + gregset_t &_gregs = _uc->uc_mcontext.gregs; \ + unsigned char *_rip = (unsigned char *)_gregs[REG_RIP]; \ + \ +-- +2.15.1 + diff --git a/4.3.6/gentoo/README.history b/4.3.6/gentoo/README.history index bb0a595..4422206 100644 --- a/4.3.6/gentoo/README.history +++ b/4.3.6/gentoo/README.history @@ -1,3 +1,6 @@ +1.4 TODO + + 93_all_libjava-ucontext.patch + 1.3 23 Sep 2018 + 92_all_ucontext-to-ucontext_t.patch