Date: Thursday, September 13, 2018 @ 23:22:47
  Author: eworm
Revision: 380753

... and the missing file

Added:
  lib32-libstdc++5/trunk/gcc-3.4.6-ucontext.patch

--------------------------+
 gcc-3.4.6-ucontext.patch |   21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

Added: gcc-3.4.6-ucontext.patch
===================================================================
--- gcc-3.4.6-ucontext.patch                            (rev 0)
+++ gcc-3.4.6-ucontext.patch    2018-09-13 23:22:47 UTC (rev 380753)
@@ -0,0 +1,21 @@
+--- gcc-3.4.6/gcc/config/i386/linux64.h
++++ gcc-3.4.6/gcc/config/i386/linux64.h
+@@ -90,7 +90,7 @@
+     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                                                              \
+@@ -160,7 +160,7 @@
+         struct siginfo *pinfo;                                        \
+         void *puc;                                                    \
+         struct siginfo info;                                          \
+-        struct ucontext uc;                                           \
++        ucontext_t uc;                                                \
+       } *rt_ = (CONTEXT)->cfa;                                        \
+       sc_ = (struct sigcontext *) &rt_->uc.uc_mcontext;               \
+       }                                                                       
\
+

Reply via email to