external/libffi/UnpackedTarball_libffi.mk | 6 ++++++ external/libffi/implicit-function-declaration.patch | 11 +++++++++++ 2 files changed, 17 insertions(+)
New commits: commit fab52afe822d08fdb9aa06668e02967bc85ae2c1 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Sun Oct 15 21:29:15 2023 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Sun Oct 15 23:22:44 2023 +0200 -Wimplicit-function-declaration Change-Id: Id78f5378566b35da6212bd2ff71d988956e682f7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157994 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/external/libffi/UnpackedTarball_libffi.mk b/external/libffi/UnpackedTarball_libffi.mk index 5d0582329ac5..26436b33012e 100644 --- a/external/libffi/UnpackedTarball_libffi.mk +++ b/external/libffi/UnpackedTarball_libffi.mk @@ -11,4 +11,10 @@ $(eval $(call gb_UnpackedTarball_UnpackedTarball,libffi)) $(eval $(call gb_UnpackedTarball_set_tarball,libffi,$(LIBFFI_TARBALL))) +$(eval $(call gb_UnpackedTarball_set_patchlevel,libffi,0)) + +$(eval $(call gb_UnpackedTarball_add_patches,libffi, \ + external/libffi/implicit-function-declaration.patch \ +)) \ + # vim: set noet sw=4 ts=4: diff --git a/external/libffi/implicit-function-declaration.patch b/external/libffi/implicit-function-declaration.patch new file mode 100644 index 000000000000..294a5eff64a3 --- /dev/null +++ b/external/libffi/implicit-function-declaration.patch @@ -0,0 +1,11 @@ +--- src/tramp.c ++++ src/tramp.c +@@ -55,6 +55,8 @@ + #include <limits.h> + #endif + #endif ++ ++int open_temp_exec_file (void); + + /* + * Each architecture defines static code for a trampoline code table. The