diff options
author | Christian Hesse | 2022-02-10 15:16:17 +0100 |
---|---|---|
committer | Christian Hesse | 2022-02-10 15:16:17 +0100 |
commit | d2e4796f2f1e9caf9f275efb6ce705dac9fad51a (patch) | |
tree | 92ce2b3ae37957d23c897735c2170e22e70bc2d1 /gcc-3.4.6-ucontext.patch | |
download | aur-d2e4796f2f1e9caf9f275efb6ce705dac9fad51a.tar.gz |
initial commit to AUR, dropping from [extra]
Diffstat (limited to 'gcc-3.4.6-ucontext.patch')
-rw-r--r-- | gcc-3.4.6-ucontext.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gcc-3.4.6-ucontext.patch b/gcc-3.4.6-ucontext.patch new file mode 100644 index 000000000000..536186d169f4 --- /dev/null +++ b/gcc-3.4.6-ucontext.patch @@ -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; \ + } \ + |