Files
Xisco Fauli 47edd83c63 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 <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-02-18 15:31:22 +01:00

17 lines
500 B
Diff

--- 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