Kaydet (Commit) d4e26ea8 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror=implicit-function-declaration

...when building --without-system-zlib on Linux.

Change-Id: I9bcb355ec75291609b28397c16068acf293ba6eb
üst 309402a8
...@@ -48,7 +48,10 @@ VER_PATCH=5 ...@@ -48,7 +48,10 @@ VER_PATCH=5
TARFILE_NAME=nss-$(VER_MAJOR).$(VER_MINOR).$(VER_PATCH)-with-nspr-4.9.1 TARFILE_NAME=nss-$(VER_MAJOR).$(VER_MINOR).$(VER_PATCH)-with-nspr-4.9.1
TARFILE_MD5=a0a861f539f0e7a91d05e6b9457e4db1 TARFILE_MD5=a0a861f539f0e7a91d05e6b9457e4db1
TARFILE_ROOTDIR=nss-$(VER_MAJOR).$(VER_MINOR).$(VER_PATCH) 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" .IF "$(OS)"=="MACOSX"
PATCH_FILES+=nss_macosx.patch PATCH_FILES+=nss_macosx.patch
......
--- 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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment