external/postgresql/UnpackedTarball_postgresql.mk | 1 + external/postgresql/postgresql.exit.patch.0 | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+)
New commits: commit da045c33e7463cdb62824c58c582b439d73c8aa6 Author: Tor Lillqvist <[email protected]> AuthorDate: Tue Jun 23 01:59:05 2020 +0300 Commit: Michael Stahl <[email protected]> CommitDate: Tue Nov 10 15:25:18 2020 +0100 Fix -Werror,-Wimplicit-function-declaration in posrgresql configury Includes the "Brown paper bag fix for e69f547bce7de376a0af464c5f7af5e7d2c8784a" Change-Id: I3c2dfb94a3c9627e802956cc03cebcbdb7d498cd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96912 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <[email protected]> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105499 Reviewed-by: Michael Stahl <[email protected]> diff --git a/external/postgresql/UnpackedTarball_postgresql.mk b/external/postgresql/UnpackedTarball_postgresql.mk index a7e57ab93301..a53bbbffdb9b 100644 --- a/external/postgresql/UnpackedTarball_postgresql.mk +++ b/external/postgresql/UnpackedTarball_postgresql.mk @@ -17,6 +17,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,postgresql, \ external/postgresql/postgresql-libs-leak.patch \ external/postgresql/postgresql-9.2.1-libreoffice.patch \ external/postgresql/windows.patch.0 \ + external/postgresql/postgresql.exit.patch.0 \ )) ifeq ($(SYSTEM_ZLIB),) diff --git a/external/postgresql/postgresql.exit.patch.0 b/external/postgresql/postgresql.exit.patch.0 new file mode 100644 index 000000000000..0d167925f4a4 --- /dev/null +++ b/external/postgresql/postgresql.exit.patch.0 @@ -0,0 +1,19 @@ +# error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration] +--- configure ++++ configure +@@ -24565,6 +24565,7 @@ + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ ++#include <stdlib.h> + typedef long int ac_int64; + + /* +@@ -24702,6 +24702,7 @@ + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ ++#include <stdlib.h> + typedef long long int ac_int64; + + /* _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
