···27 ./patches/llvm-18-compatibility.patch
28 # Fix a memory leak when using the trampoline dylib. See https://github.com/libffi/libffi/pull/621#discussion_r955298301.
29 ./patches/fix-tramponline-memory-leak.patch
0030 ];
3132 # Make sure libffi is using the trampolines dylib in this package not the system one.
···27 ./patches/llvm-18-compatibility.patch
28 # Fix a memory leak when using the trampoline dylib. See https://github.com/libffi/libffi/pull/621#discussion_r955298301.
29 ./patches/fix-tramponline-memory-leak.patch
30+ # Fix automake-18.18 compatibility, https://github.com/libffi/libffi/issues/853#issuecomment-2909994482
31+ ./patches/automake-1.18.patch
32 ];
3334 # Make sure libffi is using the trampolines dylib in this package not the system one.
···1+The hunk is used from https://github.com/libffi/libffi/issues/853#issuecomment-2909994482
2+--- a/Makefile.am
3++++ b/Makefile.am
4+@@ -4,6 +4,10 @@ AUTOMAKE_OPTIONS = foreign subdir-objects
5+6+ ACLOCAL_AMFLAGS = -I m4
7+8++# Alias required by AX_ENABLE_BUILDDIR / config-ml
9++.PHONY: all-configured
10++all-configured: all
11++
12+ SUBDIRS = include testsuite man
13+ if BUILD_DOCS
14+ ## This hack is needed because it doesn't seem possible to make a