darwin.libffi: backport automake-1.18 fix (#428698)
This commit is contained in:
@@ -27,6 +27,8 @@ mkAppleDerivation (finalAttrs: {
|
||||
./patches/llvm-18-compatibility.patch
|
||||
# Fix a memory leak when using the trampoline dylib. See https://github.com/libffi/libffi/pull/621#discussion_r955298301.
|
||||
./patches/fix-tramponline-memory-leak.patch
|
||||
# Fix automake-18.18 compatibility, https://github.com/libffi/libffi/issues/853#issuecomment-2909994482
|
||||
./patches/automake-1.18.patch
|
||||
];
|
||||
|
||||
# Make sure libffi is using the trampolines dylib in this package not the system one.
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
The hunk is used from https://github.com/libffi/libffi/issues/853#issuecomment-2909994482
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -4,6 +4,10 @@ AUTOMAKE_OPTIONS = foreign subdir-objects
|
||||
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
+# Alias required by AX_ENABLE_BUILDDIR / config-ml
|
||||
+.PHONY: all-configured
|
||||
+all-configured: all
|
||||
+
|
||||
SUBDIRS = include testsuite man
|
||||
if BUILD_DOCS
|
||||
## This hack is needed because it doesn't seem possible to make a
|
||||
Reference in New Issue
Block a user