From ec423d627d7b780c04fe2db327895e55393bc525 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Wed, 7 Aug 2019 17:56:22 +0200 Subject: extra/libstdc++: patched ucontext as for 64-bit --- extra/libstdc++5/gcc-3.3.6-ucontext-32bit.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 extra/libstdc++5/gcc-3.3.6-ucontext-32bit.patch (limited to 'extra/libstdc++5/gcc-3.3.6-ucontext-32bit.patch') diff --git a/extra/libstdc++5/gcc-3.3.6-ucontext-32bit.patch b/extra/libstdc++5/gcc-3.3.6-ucontext-32bit.patch new file mode 100644 index 00000000..81ab4c60 --- /dev/null +++ b/extra/libstdc++5/gcc-3.3.6-ucontext-32bit.patch @@ -0,0 +1,12 @@ +diff -rauN gcc-3.3.6/gcc/config/i386/linux.h gcc-3.3.6-patch/gcc/config/i386/linux.h +--- gcc-3.3.6/gcc/config/i386/linux.h 2019-08-07 17:42:49.368565918 +0200 ++++ gcc-3.3.6-patch/gcc/config/i386/linux.h 2019-08-07 17:44:14.256537234 +0200 +@@ -260,7 +260,7 @@ + siginfo_t *pinfo; \ + void *puc; \ + siginfo_t info; \ +- struct ucontext uc; \ ++ ucontext_t uc; \ + } *rt_ = (CONTEXT)->cfa; \ + sc_ = (struct sigcontext *) &rt_->uc.uc_mcontext; \ + } \ -- cgit v1.2.3-70-g09d2