summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2013-08-02 19:11:06 +0000
committerGeorge Shapovalov <george@gentoo.org>2013-08-02 19:11:06 +0000
commite8892bb0774160920dedbd3aa60e62984bee52c3 (patch)
treea8cd833ac6c1008480a4415c9071fe504b8eb953
parentremoving stale patches (diff)
downloadgentoo-2-e8892bb0774160920dedbd3aa60e62984bee52c3.tar.gz
gentoo-2-e8892bb0774160920dedbd3aa60e62984bee52c3.tar.bz2
gentoo-2-e8892bb0774160920dedbd3aa60e62984bee52c3.zip
added patch fixing linux-unwind.h problem - #468112. Thanks to Alexander Vershilov (qnikst) for submitted patch
(Portage version: 2.1.12.13/cvs/Linux x86_64, unsigned Manifest commit)
-rw-r--r--dev-lang/gnat-gcc/ChangeLog6
-rw-r--r--dev-lang/gnat-gcc/files/patches/4.3/01-siginfo.patch121
2 files changed, 126 insertions, 1 deletions
diff --git a/dev-lang/gnat-gcc/ChangeLog b/dev-lang/gnat-gcc/ChangeLog
index e5b3d6d02c14..6377bae9b0e2 100644
--- a/dev-lang/gnat-gcc/ChangeLog
+++ b/dev-lang/gnat-gcc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/gnat-gcc
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat-gcc/ChangeLog,v 1.59 2013/08/02 19:08:15 george Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat-gcc/ChangeLog,v 1.60 2013/08/02 19:11:06 george Exp $
+
+ 02 Aug 2013; george <george@gentoo.org> +files/patches/4.3/01-siginfo.patch:
+ added patch fixing linux-unwind.h problem - #468112. Thanks to Alexander
+ Vershilov (qnikst) for submitted patch
02 Aug 2013; george <george@gentoo.org>
-files/patches/51_all_gcc-3.4-libiberty-pic.patch,
diff --git a/dev-lang/gnat-gcc/files/patches/4.3/01-siginfo.patch b/dev-lang/gnat-gcc/files/patches/4.3/01-siginfo.patch
new file mode 100644
index 000000000000..dd12d0437f43
--- /dev/null
+++ b/dev-lang/gnat-gcc/files/patches/4.3/01-siginfo.patch
@@ -0,0 +1,121 @@
+--- gcc/config/alpha/linux-unwind.h
++++ gcc/config/alpha/linux-unwind.h
+@@ -52,7 +52,7 @@ alpha_fallback_frame_state (struct _Unwind_Context *context,
+ else if (pc[1] == 0x201f015f) /* lda $0,NR_rt_sigreturn */
+ {
+ struct rt_sigframe {
+- struct siginfo info;
++ siginfo_t info;
+ struct ucontext uc;
+ } *rt_ = context->cfa;
+ sc = &rt_->uc.uc_mcontext;
+
+--- gcc/config/bfin/linux-unwind.h
++++ gcc/config/bfin/linux-unwind.h
+@@ -52,10 +52,10 @@ bfin_fallback_frame_state (struct _Unwind_Context *context,
+ {
+ struct rt_sigframe {
+ int sig;
+- struct siginfo *pinfo;
++ siginfo_t *pinfo;
+ void *puc;
+ char retcode[8];
+- struct siginfo info;
++ siginfo_t info;
+ struct ucontext uc;
+ } *rt_ = context->cfa;
+
+--- gcc/config/i386/linux-unwind.h
++++ gcc/config/i386/linux-unwind.h
+@@ -137,9 +137,9 @@ x86_fallback_frame_state (struct _Unwind_Context *context,
+ {
+ struct rt_sigframe {
+ int sig;
+- struct siginfo *pinfo;
++ siginfo_t *pinfo;
+ void *puc;
+- struct siginfo info;
++ siginfo_t info;
+ struct ucontext uc;
+ } *rt_ = context->cfa;
+ /* The void * cast is necessary to avoid an aliasing warning.
+
+--- gcc/config/ia64/linux-unwind.h
++++ gcc/config/ia64/linux-unwind.h
+@@ -51,7 +51,7 @@ ia64_fallback_frame_state (struct _Unwind_Context *context,
+ struct sigframe {
+ char scratch[16];
+ unsigned long sig_number;
+- struct siginfo *info;
++ siginfo_t *info;
+ struct sigcontext *sc;
+ } *frame_ = (struct sigframe *)context->psp;
+ struct sigcontext *sc = frame_->sc;
+@@ -130,7 +130,7 @@ ia64_handle_unwabi (struct _Unwind_Context *context, _Unwind_FrameState *fs)
+ struct sigframe {
+ char scratch[16];
+ unsigned long sig_number;
+- struct siginfo *info;
++ siginfo_t *info;
+ struct sigcontext *sc;
+ } *frame = (struct sigframe *)context->psp;
+ struct sigcontext *sc = frame->sc;
+
+--- gcc/config/mips/linux-unwind.h
++++ gcc/config/mips/linux-unwind.h
+@@ -79,7 +79,7 @@ mips_fallback_frame_state (struct _Unwind_Context *context,
+ struct rt_sigframe {
+ u_int32_t ass[4]; /* Argument save space for o32. */
+ u_int32_t trampoline[2];
+- struct siginfo info;
++ siginfo_t info;
+ _sig_ucontext_t uc;
+ } *rt_ = context->cfa;
+ sc = &rt_->uc.uc_mcontext;
+
+--- gcc/config/pa/linux-unwind.h
++++ gcc/config/pa/linux-unwind.h
+@@ -66,7 +66,7 @@ pa32_fallback_frame_state (struct _Unwind_Context *context,
+ int i;
+ struct sigcontext *sc;
+ struct rt_sigframe {
+- struct siginfo info;
++ siginfo_t info;
+ struct ucontext uc;
+ } *frame;
+
+--- gcc/config/sh/linux-unwind.h
++++ gcc/config/sh/linux-unwind.h
+@@ -80,9 +80,9 @@ shmedia_fallback_frame_state (struct _Unwind_Context *context,
+ && (*(unsigned long *) (pc+11) == 0x6ff0fff0))
+ {
+ struct rt_sigframe {
+- struct siginfo *pinfo;
++ siginfo_t *pinfo;
+ void *puc;
+- struct siginfo info;
++ siginfo_t info;
+ struct ucontext uc;
+ } *rt_ = context->cfa;
+ /* The void * cast is necessary to avoid an aliasing warning.
+@@ -179,7 +179,7 @@ sh_fallback_frame_state (struct _Unwind_Context *context,
+ && (*(unsigned short *) (pc+14) == 0x00ad))))
+ {
+ struct rt_sigframe {
+- struct siginfo info;
++ siginfo_t info;
+ struct ucontext uc;
+ } *rt_ = context->cfa;
+ /* The void * cast is necessary to avoid an aliasing warning.
+
+--- gcc/config/xtensa/linux-unwind.h
++++ gcc/config/xtensa/linux-unwind.h
+@@ -66,7 +66,7 @@ xtensa_fallback_frame_state (struct _Unwind_Context *context,
+ struct sigcontext *sc;
+
+ struct rt_sigframe {
+- struct siginfo info;
++ siginfo_t info;
+ struct ucontext uc;
+ } *rt_;
+