download.lst | 8 ++++---- external/libgpg-error/ExternalPackage_libgpg-error.mk | 2 +- external/zlib/UnpackedTarball_zlib.mk | 1 + external/zlib/missinginclude.patch | 2 +- external/zlib/werror-undef.patch | 16 ++++++++++++++++ 5 files changed, 23 insertions(+), 6 deletions(-)
New commits: commit 1f4d017208f3cf73a48684820be52c6763d0134f Author: Xisco Fauli <[email protected]> AuthorDate: Wed Feb 18 14:35:29 2026 +0100 Commit: Christian Lohmaier <[email protected]> CommitDate: Fri Feb 20 11:42:11 2026 +0100 libgpg-error: upgrade to 1.59 Downloaded from https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.59.tar.bz2 Change-Id: I654fa6bcbcdbcd570afea6af161ac13ed3cad954 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199625 Tested-by: Jenkins Reviewed-by: Xisco Fauli <[email protected]> (cherry picked from commit 00a5bc11203a58bc36bc397e99816d1253c7eb37) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199716 Reviewed-by: Christian Lohmaier <[email protected]> Tested-by: Christian Lohmaier <[email protected]> Reviewed-by: Michael Weghorn <[email protected]> diff --git a/download.lst b/download.lst index 27946ba37a63..ea026a2ef2fe 100644 --- a/download.lst +++ b/download.lst @@ -430,8 +430,8 @@ LIBFFI_TARBALL := libffi-3.5.2.tar.gz # three static lines # so that git cherry-pick # will not run into conflicts -LIBGPGERROR_SHA256SUM := f943aea9a830a8bd938e5124b579efaece24a3225ff4c3d27611a80ce1260c27 -LIBGPGERROR_TARBALL := libgpg-error-1.58.tar.bz2 +LIBGPGERROR_SHA256SUM := a19bc5087fd97026d93cb4b45d51638d1a25202a5e1fbc3905799f424cfa6134 +LIBGPGERROR_TARBALL := libgpg-error-1.59.tar.bz2 # three static lines # so that git cherry-pick # will not run into conflicts diff --git a/external/libgpg-error/ExternalPackage_libgpg-error.mk b/external/libgpg-error/ExternalPackage_libgpg-error.mk index dd571ff61b76..9ac9b2e61ae0 100644 --- a/external/libgpg-error/ExternalPackage_libgpg-error.mk +++ b/external/libgpg-error/ExternalPackage_libgpg-error.mk @@ -15,7 +15,7 @@ ifneq ($(DISABLE_DYNLOADING),TRUE) ifeq ($(OS),LINUX) -$(eval $(call gb_ExternalPackage_add_file,libgpg-error,$(LIBO_LIB_FOLDER)/libgpg-error-lo.so.0,src/.libs/libgpg-error-lo.so.0.41.1)) +$(eval $(call gb_ExternalPackage_add_file,libgpg-error,$(LIBO_LIB_FOLDER)/libgpg-error-lo.so.0,src/.libs/libgpg-error-lo.so.0.41.2)) else ifeq ($(OS),MACOSX) commit f0ce3d5bd8fb7dd508400cfd6473025d6e0d03d2 Author: Xisco Fauli <[email protected]> AuthorDate: Wed Feb 18 12:45:07 2026 +0100 Commit: Christian Lohmaier <[email protected]> CommitDate: Fri Feb 20 11:41:59 2026 +0100 zlib: upgrade to 1.3.2 * werror-undef.patch partially reverts https://github.com/madler/zlib/commit/7108497fda9d4536a1afade7f42266e06dca4488 so the build doesn't fail with In file included from /mnt/4d311c06-5193-4f61-a3f6-53ca4d9ea1e1/libreoffice/workdir/UnpackedTarball/zlib/zlib.h:37, from /mnt/4d311c06-5193-4f61-a3f6-53ca4d9ea1e1/libreoffice/sal/rtl/crc.cxx:24: /mnt/4d311c06-5193-4f61-a3f6-53ca4d9ea1e1/libreoffice/workdir/UnpackedTarball/zlib/zconf.h:446:5: error: "HAVE_UNISTD_H" is not defined, evaluates to 0 [-Werror=undef] 446 | #if HAVE_UNISTD_H /* may be set to #if 1 by ./configure */ | ^~~~~~~~~~~~~ /mnt/4d311c06-5193-4f61-a3f6-53ca4d9ea1e1/libreoffice/workdir/UnpackedTarball/zlib/zconf.h:450:5: error: "HAVE_STDARG_H" is not defined, evaluates to 0 [-Werror=undef] 450 | #if HAVE_STDARG_H /* may be set to #if 1 by ./configure */ | ^~~~~~~~~~~~~ cc1plus: all warnings being treated as errors Change-Id: I8f1dbaf627a573b9a5ff8c9f20061ec482b87c8d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199616 Reviewed-by: Xisco Fauli <[email protected]> Tested-by: Jenkins (cherry picked from commit 47edd83c63fee752404623553400a4754307bc30) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199629 Reviewed-by: Christian Lohmaier <[email protected]> Reviewed-by: Michael Weghorn <[email protected]> Tested-by: Christian Lohmaier <[email protected]> diff --git a/download.lst b/download.lst index 1cc382fb2cb3..27946ba37a63 100644 --- a/download.lst +++ b/download.lst @@ -711,8 +711,8 @@ YRS_TARBALL := y-crdt-0.23.5.tar.gz # three static lines # so that git cherry-pick # will not run into conflicts -ZLIB_SHA256SUM := 38ef96b8dfe510d42707d9c781877914792541133e1870841463bfa73f883e32 -ZLIB_TARBALL := zlib-1.3.1.tar.xz +ZLIB_SHA256SUM := d7a0654783a4da529d1bb793b7ad9c3318020af77667bcae35f95d0e42a792f3 +ZLIB_TARBALL := zlib-1.3.2.tar.xz # three static lines # so that git cherry-pick # will not run into conflicts diff --git a/external/zlib/UnpackedTarball_zlib.mk b/external/zlib/UnpackedTarball_zlib.mk index 5bad9e311233..90f815d20126 100644 --- a/external/zlib/UnpackedTarball_zlib.mk +++ b/external/zlib/UnpackedTarball_zlib.mk @@ -20,6 +20,7 @@ $(eval $(call gb_UnpackedTarball_set_patchlevel,zlib,0)) $(eval $(call gb_UnpackedTarball_add_patches,zlib, \ external/zlib/missinginclude.patch \ + external/zlib/werror-undef.patch \ )) # cannot use post_action since $(file ..) would be run when the recipe is parsed, i.e. would always diff --git a/external/zlib/missinginclude.patch b/external/zlib/missinginclude.patch index 91a63288bbf1..a9719d379870 100644 --- a/external/zlib/missinginclude.patch +++ b/external/zlib/missinginclude.patch @@ -9,7 +9,7 @@ +#endif #include "gzguts.h" - #if defined(_WIN32) && !defined(__BORLANDC__) + #if defined(__DJGPP__) --- gzread.c +++ gzread.c @@ -3,6 +3,9 @@ diff --git a/external/zlib/werror-undef.patch b/external/zlib/werror-undef.patch new file mode 100644 index 000000000000..7ca81cd60b66 --- /dev/null +++ b/external/zlib/werror-undef.patch @@ -0,0 +1,16 @@ +--- zconf.h 2026-02-18 12:26:44.923467968 +0100 ++++ zconf.h 2026-02-18 12:27:35.631302082 +0100 +@@ -443,11 +443,11 @@ + typedef unsigned long z_crc_t; + #endif + +-#if HAVE_UNISTD_H-0 /* may be set to #if 1 by ./configure */ ++#ifdef HAVE_UNISTD_H /* may be set to #if 1 by ./configure */ + # define Z_HAVE_UNISTD_H + #endif + +-#if HAVE_STDARG_H-0 /* may be set to #if 1 by ./configure */ ++#ifdef HAVE_STDARG_H /* may be set to #if 1 by ./configure */ + # define Z_HAVE_STDARG_H + #endif +
