external/firebird/UnpackedTarball_firebird.mk | 2 +- external/firebird/configure-c99.patch | 13 +++++++++---- external/firebird/firebird-cygwin-msvc.patch | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-)
New commits: commit 7e1ff1cee5dd203df679d584512930fb21b97f6e Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Sat May 7 21:23:06 2022 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Sun May 8 16:45:13 2022 +0200 external/firebird: Implicit int in configure check ...so that with Clang 15 trunk after <https://github.com/llvm/llvm-project/commit/2cb2cd242ca08d0bbd2a51a41f1317442e5414fc> "Change the behavior of implicit int diagnostics" the check now failed to compile with > configure:21471: checking alignment of long [...] > conftest.c:166:2: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] with consequences the same as in f6be6cd82bd84f13d2a597ceb62181111ae0eb80 "external/firebird: Missing include in configure check" (so rename the existing configure-include.patch, as it now covers various kinds of C99 violations) Change-Id: I64e7c13945a3ede3900cc6a84da575e35bdce953 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133994 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/external/firebird/UnpackedTarball_firebird.mk b/external/firebird/UnpackedTarball_firebird.mk index e86276e6744a..0233ce24dbf4 100644 --- a/external/firebird/UnpackedTarball_firebird.mk +++ b/external/firebird/UnpackedTarball_firebird.mk @@ -49,7 +49,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,firebird,\ external/firebird/msvc.patch \ external/firebird/wnt-per-process-trace-storage.patch.1 \ external/firebird/0001-extern-cloop-Missing-dependencies-of-compilations-on.patch.1 \ - external/firebird/configure-include.patch \ + external/firebird/configure-c99.patch \ )) ifeq ($(OS),WNT) diff --git a/external/firebird/configure-include.patch b/external/firebird/configure-c99.patch similarity index 63% rename from external/firebird/configure-include.patch rename to external/firebird/configure-c99.patch index fe2935f139d7..f582d383e5f0 100644 --- a/external/firebird/configure-include.patch +++ b/external/firebird/configure-c99.patch @@ -1,18 +1,23 @@ --- configure +++ configure -@@ -21478,6 +21478,7 @@ +@@ -21478,8 +21478,9 @@ else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ +#include <stdlib.h> #include <semaphore.h> - main () { +-main () { ++int main () { struct s { -@@ -21514,6 +21515,7 @@ + char a; + union { long long x; sem_t y; } b; +@@ -21514,7 +21515,8 @@ else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ +-main () { +#include <stdlib.h> - main () { ++int main () { struct s { char a; + double b; diff --git a/external/firebird/firebird-cygwin-msvc.patch b/external/firebird/firebird-cygwin-msvc.patch index a19a2798f405..c59c614ba5da 100644 --- a/external/firebird/firebird-cygwin-msvc.patch +++ b/external/firebird/firebird-cygwin-msvc.patch @@ -34,7 +34,7 @@ /* end confdefs.h. */ #include <stdlib.h> -#include <semaphore.h> - main () { + int main () { struct s { char a; - union { long long x; sem_t y; } b;