From 22b4e2ee9c8011b75d7c030d6129a7487494aeba Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 13 Dec 2023 05:39:05 +0000 Subject: gentoo auto-resync : 13:12:2023 - 05:39:04 --- dev-libs/libffi/files/libffi-3.4.4-lld-17.patch | 34 +++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 dev-libs/libffi/files/libffi-3.4.4-lld-17.patch (limited to 'dev-libs/libffi/files') diff --git a/dev-libs/libffi/files/libffi-3.4.4-lld-17.patch b/dev-libs/libffi/files/libffi-3.4.4-lld-17.patch new file mode 100644 index 000000000000..8e87814b23bf --- /dev/null +++ b/dev-libs/libffi/files/libffi-3.4.4-lld-17.patch @@ -0,0 +1,34 @@ +https://bugs.gentoo.org/915086 +https://github.com/libffi/libffi/pull/800 + +From 65f6869fd74630a9252ef89971b725b921f17061 Mon Sep 17 00:00:00 2001 +From: Alfred Wingate +Date: Tue, 10 Oct 2023 06:32:02 +0300 +Subject: [PATCH] Put optional symbols behind ifdefs + +Signed-off-by: Alfred Wingate +--- a/libffi.map.in ++++ b/libffi.map.in +@@ -33,7 +33,10 @@ LIBFFI_BASE_8.0 { + ffi_raw_to_ptrarray; + ffi_raw_size; + ++#if !FFI_NATIVE_RAW_API + ffi_java_raw_call; ++#endif ++ + ffi_java_ptrarray_to_raw; + ffi_java_raw_to_ptrarray; + ffi_java_raw_size; +@@ -62,8 +65,10 @@ LIBFFI_CLOSURE_8.0 { + ffi_prep_closure_loc; + ffi_prep_raw_closure; + ffi_prep_raw_closure_loc; ++#if !FFI_NATIVE_RAW_API + ffi_prep_java_raw_closure; + ffi_prep_java_raw_closure_loc; ++#endif + } LIBFFI_BASE_8.0; + #endif + + -- cgit v1.2.3