diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:51:28 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:51:28 +0000 |
commit | 940b4d1848e8c70ab7642901a68594e8016caffc (patch) | |
tree | eb72f344ee6c3d9b80a7ecc079ea79e9fba8676d /external/nss/nss-3.13.5-zlib-werror.patch | |
parent | Initial commit. (diff) | |
download | libreoffice-upstream.tar.xz libreoffice-upstream.zip |
Adding upstream version 1:7.0.4.upstream/1%7.0.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'external/nss/nss-3.13.5-zlib-werror.patch')
-rw-r--r-- | external/nss/nss-3.13.5-zlib-werror.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/external/nss/nss-3.13.5-zlib-werror.patch b/external/nss/nss-3.13.5-zlib-werror.patch new file mode 100644 index 000000000..0cdbf7808 --- /dev/null +++ b/external/nss/nss-3.13.5-zlib-werror.patch @@ -0,0 +1,13 @@ +--- a/a/nss/lib/zlib/gzguts.h 2010-08-22 03:07:03.000000000 +0200 ++++ b/b/nss/lib/zlib/gzguts.h 2012-07-17 08:52:14.821552788 +0200 +@@ -26,6 +26,10 @@ + # define write _write + # define close _close + #endif ++ ++#ifndef _WIN32 ++#include <unistd.h> ++#endif + + #ifdef NO_DEFLATE /* for compatibility with old definition */ + # define NO_GZCOMPRESS |