From 7a795be3ed6b29502cf5dccb5ea8294fc1ec2860 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 1 Nov 2022 09:07:00 +0000 Subject: gentoo auto-resync : 01:11:2022 - 09:06:59 --- .../files/wine-staging-7.20-unwind.patch | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 app-emulation/wine-staging/files/wine-staging-7.20-unwind.patch (limited to 'app-emulation/wine-staging/files/wine-staging-7.20-unwind.patch') diff --git a/app-emulation/wine-staging/files/wine-staging-7.20-unwind.patch b/app-emulation/wine-staging/files/wine-staging-7.20-unwind.patch new file mode 100644 index 000000000000..f130ef5c23b3 --- /dev/null +++ b/app-emulation/wine-staging/files/wine-staging-7.20-unwind.patch @@ -0,0 +1,36 @@ +Fix build with llvm-libunwind, and also fix for non-llvm libunwind +when using clang+bfd given clang doesn't have _Unwind_Find_FDE in +its rtlib and expects it from llvm-libunwind. + +The _CONFIG_H_ check is for Rip - 1), &bases ); + +@@ -760,4 +761,5 @@ + return dwarf_virtual_unwind( context->Rip, &dispatch->EstablisherFrame, context, fde, + &bases, &dispatch->LanguageHandler, &dispatch->HandlerData ); ++#endif + #ifdef HAVE_LIBUNWIND + return libunwind_virtual_unwind( context->Rip, &dispatch->EstablisherFrame, context, -- cgit v1.2.3