darwin.libffi: backport automake-1.18 fix (#428698)

+16
+2
pkgs/os-specific/darwin/apple-source-releases/libffi/package.nix
··· 27 27 ./patches/llvm-18-compatibility.patch 28 28 # Fix a memory leak when using the trampoline dylib. See https://github.com/libffi/libffi/pull/621#discussion_r955298301. 29 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 30 32 ]; 31 33 32 34 # Make sure libffi is using the trampolines dylib in this package not the system one.
+14
pkgs/os-specific/darwin/apple-source-releases/libffi/patches/automake-1.18.patch
··· 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