public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gcc-patches:master commit in: 3.4.6/gentoo/
Date: Sun, 16 Sep 2018 16:10:26 +0000 (UTC)	[thread overview]
Message-ID: <1537114210.275e55387083d6dd25fea40962ac5ede7c9a1e95.slyfox@gentoo> (raw)

commit:     275e55387083d6dd25fea40962ac5ede7c9a1e95
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 16 16:10:10 2018 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Sep 16 16:10:10 2018 +0000
URL:        https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=275e5538

3.4.6: backport 'struct ucontext' to 'ucontext_t' rename in glibc

Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 3.4.6/gentoo/91_all_ucontext-to-ucontext_t.patch | 44 ++++++++++++++++++++++++
 3.4.6/gentoo/README.history                      |  1 +
 2 files changed, 45 insertions(+)

diff --git a/3.4.6/gentoo/91_all_ucontext-to-ucontext_t.patch b/3.4.6/gentoo/91_all_ucontext-to-ucontext_t.patch
new file mode 100644
index 0000000..00ea653
--- /dev/null
+++ b/3.4.6/gentoo/91_all_ucontext-to-ucontext_t.patch
@@ -0,0 +1,44 @@
+https://bugs.gentoo.org/664486
+
+--- a/gcc/config/alpha/linux.h
++++ b/gcc/config/alpha/linux.h
+@@ -89,7 +89,7 @@ Boston, MA 02111-1307, USA.  */
+       {									\
+ 	struct rt_sigframe {						\
+ 	  siginfo_t info;						\
+-	  struct ucontext uc;						\
++	  ucontext_t uc;						\
+ 	} *rt_ = (CONTEXT)->cfa;					\
+ 	sc_ = &rt_->uc.uc_mcontext;					\
+       }									\
+--- a/gcc/config/i386/linux.h
++++ b/gcc/config/i386/linux.h
+@@ -260,7 +260,7 @@ Boston, MA 02111-1307, USA.  */
+ 	  siginfo_t *pinfo;						\
+ 	  void *puc;							\
+ 	  siginfo_t info;						\
+-	  struct ucontext uc;						\
++	  ucontext_t uc;						\
+ 	} *rt_ = (CONTEXT)->cfa;					\
+ 	sc_ = (struct sigcontext *) &rt_->uc.uc_mcontext;		\
+       }									\
+--- a/gcc/config/i386/linux64.h
++++ b/gcc/config/i386/linux64.h
+@@ -112,7 +112,7 @@ Boston, MA 02111-1307, USA.  */
+     if (*(unsigned char *)(pc_+0) == 0x48				\
+ 	&& *(unsigned long *)(pc_+1) == 0x050f0000000fc0c7)		\
+       {									\
+-	struct ucontext *uc_ = (CONTEXT)->cfa;				\
++	ucontext_t *uc_ = (CONTEXT)->cfa;				\
+ 	sc_ = (struct sigcontext *) &uc_->uc_mcontext;			\
+       }									\
+     else								\
+@@ -182,7 +182,7 @@ Boston, MA 02111-1307, USA.  */
+ 	  siginfo_t *pinfo;						\
+ 	  void *puc;							\
+ 	  siginfo_t info;						\
+-	  struct ucontext uc;						\
++	  ucontext_t uc;						\
+ 	} *rt_ = (CONTEXT)->cfa;					\
+ 	sc_ = (struct sigcontext *) &rt_->uc.uc_mcontext;		\
+       }									\

diff --git a/3.4.6/gentoo/README.history b/3.4.6/gentoo/README.history
index da425fb..a2e067e 100644
--- a/3.4.6/gentoo/README.history
+++ b/3.4.6/gentoo/README.history
@@ -1,5 +1,6 @@
 1.9		[pending]
 	- 00_all_gcc-trampolinewarn.patch
+	+ 91_all_ucontext-to-ucontext_t.patch
 
 1.8		06 Apr 2015
 	+ 10_all_gcc-3.4.6-c-parse-bison-3.patch


             reply	other threads:[~2018-09-16 16:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-16 16:10 Sergei Trofimovich [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-09-29 20:31 [gentoo-commits] proj/gcc-patches:master commit in: 3.4.6/gentoo/ Sergei Trofimovich
2018-09-30 12:27 Sergei Trofimovich
2018-11-30  7:37 Sergei Trofimovich
2019-06-01 10:01 Sergei Trofimovich
2019-06-12 21:30 Sergei Trofimovich
2019-06-15 19:01 Sergei Trofimovich
2019-06-15 19:11 Sergei Trofimovich
2019-10-21 22:16 Sergei Trofimovich
2019-10-27 19:45 Sergei Trofimovich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1537114210.275e55387083d6dd25fea40962ac5ede7c9a1e95.slyfox@gentoo \
    --to=slyfox@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox