From 154f4cc02a22a1d09ec335e026ea2659c3c86752 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Perdreau?= Date: Fri, 25 Sep 2026 12:48:44 +0200 Subject: [PATCH] firebird: use GNU find for API headers on Windows The native Windows find.exe may be selected by GNU Make for $(shell find ...) during the Firebird build, causing NEW_INCLUDES_SRC to be empty and firebird/Interface.h to not be generated. Use /usr/bin/find explicitly for the Windows build. Change-Id: Iab95bdfad2e7e2b64046da61edd55c1b9c7291cb --- external/firebird/UnpackedTarball_firebird.mk | 1 + external/firebird/firebird-windows-gnu-find.patch.1 | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 external/firebird/firebird-windows-gnu-find.patch.1 diff --git a/external/firebird/UnpackedTarball_firebird.mk b/external/firebird/UnpackedTarball_firebird.mk index 46364a2e8ec7..8c55123370cc 100644 --- a/external/firebird/UnpackedTarball_firebird.mk +++ b/external/firebird/UnpackedTarball_firebird.mk @@ -57,6 +57,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,firebird,\ ifeq ($(OS),WNT) $(eval $(call gb_UnpackedTarball_add_patches,firebird,\ + external/firebird/firebird-windows-gnu-find.patch.1 \ external/firebird/firebird-cygwin-msvc.patch \ external/firebird/firebird-cygwin-msvc-warnings.patch \ )) diff --git a/external/firebird/firebird-windows-gnu-find.patch.1 b/external/firebird/firebird-windows-gnu-find.patch.1 new file mode 100644 index 000000000000..afdb8b3f8cd6 --- /dev/null +++ b/external/firebird/firebird-windows-gnu-find.patch.1 @@ -0,0 +1,10 @@ +--- firebird.org/builds/posix/Makefile.in ++++ firebird/builds/posix/Makefile.in +@@ -619,6 +619,6 @@ + INCLUDE_DEST= $(FB_BUILD)/include + +-NEW_INCLUDES_SRC = $(shell find $(SRC_ROOT)/include/firebird -type f) ++NEW_INCLUDES_SRC = $(shell /usr/bin/find $(SRC_ROOT)/include/firebird -type f) + NEW_INCLUDES_DEST = $(patsubst $(SRC_ROOT)/include/firebird/%, $(INCLUDE_DEST)/firebird/%, $(NEW_INCLUDES_SRC)) + + include_generic: $(INCLUDE_DEST)/ib_util.h \