dev-libs/libffi: sync live

* Enable exec-static-trampoline by default. Was planning on doing this
  a while ago, see 3ac8657f39,
  dc2a79fe4e, and 7edad73b87,
  and now feels like the right time with a new release.

  See https://github.com/libffi/libffi/issues/869 too.

  Meant to explain this in 913b9ae633 and forgot.

* Add revert patch here too for bug #949051.

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-02-09 03:37:35 +00:00
parent 0bc0d455f3
commit 9fb8015bf1
+5 -1
View File
@@ -27,11 +27,15 @@ LICENSE="MIT"
# Please use preserve-libs.eclass in pkg_{pre,post}inst to cover users
# with FEATURES="-preserved-libs" or another package manager if SONAME changes.
SLOT="0/8" # SONAME=libffi.so.8
IUSE="debug exec-static-trampoline pax-kernel static-libs test"
IUSE="debug +exec-static-trampoline pax-kernel static-libs test"
RESTRICT="!test? ( test )"
BDEPEND="test? ( dev-util/dejagnu )"
PATCHES=(
"${FILESDIR}"/${PN}-3.4.7-Revert-Fix-x86-ffi64-calls-with-6-gp-and-some-sse-re.patch
)
src_prepare() {
default