[Libreoffice-commits] .: Branch 'libreoffice-3-6' - nss/makefile.mk nss/nss-3.13.5-zlib-werror.patch

Fridrich Strba fridrich at kemper.freedesktop.org
Tue Jul 17 00:05:16 PDT 2012


 nss/makefile.mk                  |    5 ++++-
 nss/nss-3.13.5-zlib-werror.patch |   10 ++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)

New commits:
commit 496f38a551df6b73a1b3f258f4904b73c11a13d9
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Jul 17 08:57:52 2012 +0200

    -Werror=implicit-function-declaration
    
    ...when building --without-system-zlib on Linux.
    
    Change-Id: I9bcb355ec75291609b28397c16068acf293ba6eb
    Signed-off-by: Fridrich Å trba <fridrich.strba at bluewin.ch>

diff --git a/nss/makefile.mk b/nss/makefile.mk
index 40b01ca..5c27c2d 100644
--- a/nss/makefile.mk
+++ b/nss/makefile.mk
@@ -48,7 +48,10 @@ VER_PATCH=5
 TARFILE_NAME=nss-$(VER_MAJOR).$(VER_MINOR).$(VER_PATCH)-with-nspr-4.9.1
 TARFILE_MD5=a0a861f539f0e7a91d05e6b9457e4db1
 TARFILE_ROOTDIR=nss-$(VER_MAJOR).$(VER_MINOR).$(VER_PATCH)
-PATCH_FILES=nss.patch nss.aix.patch nss-config.patch
+PATCH_FILES=nss.patch nss.aix.patch nss-config.patch \
+    nss-3.13.5-zlib-werror.patch
+# nss-3.13.5-zlib-werror.patch: avoid -Werror=implicit-function-declaration for
+# lseek, read, write
 
 .IF "$(OS)"=="MACOSX"
 PATCH_FILES+=nss_macosx.patch
diff --git a/nss/nss-3.13.5-zlib-werror.patch b/nss/nss-3.13.5-zlib-werror.patch
new file mode 100644
index 0000000..390dd1f
--- /dev/null
+++ b/nss/nss-3.13.5-zlib-werror.patch
@@ -0,0 +1,10 @@
+--- misc/nss-3.13.5/mozilla/security/nss/lib/zlib/gzguts.h	2010-08-22 03:07:03.000000000 +0200
++++ misc/build/nss-3.13.5/mozilla/security/nss/lib/zlib/gzguts.h	2012-07-17 08:52:14.821552788 +0200
+@@ -26,6 +26,7 @@
+ #  include <limits.h>
+ #endif
+ #include <fcntl.h>
++#include <unistd.h>
+ 
+ #ifdef NO_DEFLATE       /* for compatibility with old definition */
+ #  define NO_GZCOMPRESS


More information about the Libreoffice-commits mailing list