bump nss to 3.25
Change-Id: If99ee77bea40796cc56944724291a83068ff8198
This commit is contained in:
@@ -109,7 +109,7 @@ export MWAW_TARBALL := libmwaw-0.3.$(MWAW_VERSION_MICRO).tar.bz2
|
|||||||
export MYSQLCPPCONN_TARBALL := 7239a4430efd4d0189c4f24df67f08e5-mysql-connector-c++-1.1.4.tar.gz
|
export MYSQLCPPCONN_TARBALL := 7239a4430efd4d0189c4f24df67f08e5-mysql-connector-c++-1.1.4.tar.gz
|
||||||
export MYTHES_TARBALL := a8c2c5b8f09e7ede322d5c602ff6a4b6-mythes-1.2.4.tar.gz
|
export MYTHES_TARBALL := a8c2c5b8f09e7ede322d5c602ff6a4b6-mythes-1.2.4.tar.gz
|
||||||
export NEON_TARBALL := 231adebe5c2f78fded3e3df6e958878e-neon-0.30.1.tar.gz
|
export NEON_TARBALL := 231adebe5c2f78fded3e3df6e958878e-neon-0.30.1.tar.gz
|
||||||
export NSS_TARBALL := 6b254cf2f8cb4b27a3f0b8b7b9966ea7-nss-3.22.2-with-nspr-4.12.tar.gz
|
export NSS_TARBALL := 4ec9a36c0f7c9360b149491c013b8d50-nss-3.25-with-nspr-4.12.tar.gz
|
||||||
export ODFGEN_MD5SUM := 32572ea48d9021bbd6fa317ddb697abc
|
export ODFGEN_MD5SUM := 32572ea48d9021bbd6fa317ddb697abc
|
||||||
export ODFGEN_VERSION_MICRO := 6
|
export ODFGEN_VERSION_MICRO := 6
|
||||||
export ODFGEN_TARBALL := libodfgen-0.1.$(ODFGEN_VERSION_MICRO).tar.bz2
|
export ODFGEN_TARBALL := libodfgen-0.1.$(ODFGEN_VERSION_MICRO).tar.bz2
|
||||||
|
5
external/nss/nss-winXP-sdk.patch.1
vendored
5
external/nss/nss-winXP-sdk.patch.1
vendored
@@ -1,9 +1,12 @@
|
|||||||
diff -ur nss.org/nss/coreconf/config.mk nss/nss/coreconf/config.mk
|
diff -ur nss.org/nss/coreconf/config.mk nss/nss/coreconf/config.mk
|
||||||
--- nss.org/nss/coreconf/config.mk 2016-03-15 14:52:19.706093300 +0100
|
--- nss.org/nss/coreconf/config.mk 2016-03-15 14:52:19.706093300 +0100
|
||||||
+++ nss/nss/coreconf/config.mk 2016-03-15 14:56:51.549914800 +0100
|
+++ nss/nss/coreconf/config.mk 2016-03-15 14:56:51.549914800 +0100
|
||||||
@@ -188,3 +188,5 @@
|
@@ -203,6 +203,8 @@
|
||||||
|
|
||||||
# Hide old, deprecated, TLS cipher suite names when building NSS
|
# Hide old, deprecated, TLS cipher suite names when building NSS
|
||||||
DEFINES += -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES
|
DEFINES += -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES
|
||||||
+# build with 7.1A SDK for winXP compatibility
|
+# build with 7.1A SDK for winXP compatibility
|
||||||
+DEFINES += -D_USING_V110_SDK71_
|
+DEFINES += -D_USING_V110_SDK71_
|
||||||
|
|
||||||
|
# Mozilla's mozilla/modules/zlib/src/zconf.h adds the MOZ_Z_ prefix to zlib
|
||||||
|
# exported symbols, which causes problem when NSS is built as part of Mozilla.
|
||||||
|
8
external/nss/nss.nowerror.patch
vendored
8
external/nss/nss.nowerror.patch
vendored
@@ -1,14 +1,12 @@
|
|||||||
diff -ur nss.org/nss/coreconf/WIN32.mk nss/nss/coreconf/WIN32.mk
|
diff -ur nss.org/nss/coreconf/WIN32.mk nss/nss/coreconf/WIN32.mk
|
||||||
--- a/nss.org/nss/coreconf/WIN32.mk 2016-04-13 11:33:09.322294523 +0200
|
--- a/nss.org/nss/coreconf/WIN32.mk 2016-04-13 11:33:09.322294523 +0200
|
||||||
+++ b/nss/nss/coreconf/WIN32.mk 2016-04-13 11:33:27.744323969 +0200
|
+++ b/nss/nss/coreconf/WIN32.mk 2016-04-13 11:33:27.744323969 +0200
|
||||||
@@ -126,9 +126,9 @@
|
@@ -127,7 +127,7 @@
|
||||||
OS_CFLAGS += -W3 -nologo -D_CRT_SECURE_NO_WARNINGS \
|
-D_CRT_NONSTDC_NO_WARNINGS
|
||||||
-D_CRT_NONSTDC_NO_WARNINGS
|
|
||||||
OS_DLLFLAGS += -nologo -DLL -SUBSYSTEM:WINDOWS
|
OS_DLLFLAGS += -nologo -DLL -SUBSYSTEM:WINDOWS
|
||||||
ifndef NSS_ENABLE_WERROR
|
ifndef NSS_ENABLE_WERROR
|
||||||
- NSS_ENABLE_WERROR = 1
|
- NSS_ENABLE_WERROR = 1
|
||||||
+ NSS_ENABLE_WERROR = 0
|
+ NSS_ENABLE_WERROR = 0
|
||||||
endif
|
endif
|
||||||
ifeq ($(NSS_ENABLE_WERROR),1)
|
ifeq ($(NSS_ENABLE_WERROR),1)
|
||||||
OS_CFLAGS += -WX
|
WARNING_CFLAGS += -WX
|
||||||
endif
|
|
||||||
|
26
external/nss/nss.patch
vendored
26
external/nss/nss.patch
vendored
@@ -110,16 +110,16 @@ diff -ru a/nss/coreconf/Linux.mk b/nss/coreconf/Linux.mk
|
|||||||
RANLIB = ranlib
|
RANLIB = ranlib
|
||||||
|
|
||||||
DEFAULT_COMPILER = gcc
|
DEFAULT_COMPILER = gcc
|
||||||
@@ -145,7 +148,7 @@
|
@@ -157,7 +160,7 @@
|
||||||
# incorrectly reports undefined references in the libraries we link with, so
|
# against the libsanitizer runtime built into the main executable.
|
||||||
# we don't use -z defs there.
|
|
||||||
ZDEFS_FLAG = -Wl,-z,defs
|
ZDEFS_FLAG = -Wl,-z,defs
|
||||||
|
ifneq ($(USE_ASAN),1)
|
||||||
-DSO_LDOPTS += $(if $(findstring 2.11.90.0.8,$(shell ld -v)),,$(ZDEFS_FLAG))
|
-DSO_LDOPTS += $(if $(findstring 2.11.90.0.8,$(shell ld -v)),,$(ZDEFS_FLAG))
|
||||||
+DSO_LDOPTS += $(if $(findstring 2.11.90.0.8,$(shell ld -v)),,$(ZDEFS_FLAG)) -Wl,-z,origin '-Wl,-rpath,$$ORIGIN'
|
+DSO_LDOPTS += $(if $(findstring 2.11.90.0.8,$(shell ld -v)),,$(ZDEFS_FLAG)) -Wl,-z,origin '-Wl,-rpath,$$ORIGIN'
|
||||||
|
endif
|
||||||
LDFLAGS += $(ARCHFLAG)
|
LDFLAGS += $(ARCHFLAG)
|
||||||
|
|
||||||
# On Maemo, we need to use the -rpath-link flag for even the standard system
|
@@ -189,8 +192,13 @@
|
||||||
@@ -176,8 +179,13 @@
|
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@@ -175,13 +175,13 @@ diff -ru a/nss/Makefile b/nss/Makefile
|
|||||||
diff -ru nss.orig/nss/coreconf/Werror.mk nss/nss/coreconf/Werror.mk
|
diff -ru nss.orig/nss/coreconf/Werror.mk nss/nss/coreconf/Werror.mk
|
||||||
--- a/nss.orig/nss/coreconf/Werror.mk 2016-02-12 15:36:18.000000000 +0100
|
--- a/nss.orig/nss/coreconf/Werror.mk 2016-02-12 15:36:18.000000000 +0100
|
||||||
+++ b/nss/nss/coreconf/Werror.mk 2016-02-23 23:58:15.119584046 +0100
|
+++ b/nss/nss/coreconf/Werror.mk 2016-02-23 23:58:15.119584046 +0100
|
||||||
@@ -60,7 +60,8 @@
|
@@ -94,7 +94,8 @@
|
||||||
endif #ndef NSS_ENABLE_WERROR
|
endif #ndef NSS_ENABLE_WERROR
|
||||||
|
|
||||||
ifeq ($(NSS_ENABLE_WERROR),1)
|
ifeq ($(NSS_ENABLE_WERROR),1)
|
||||||
- WARNING_CFLAGS += -Werror
|
- WARNING_CFLAGS += -Werror
|
||||||
+# We do not treat warnings as errors.
|
+# We do not treat warnings as errors.
|
||||||
+# WARNING_CFLAGS += -Werror
|
+# WARNING_CFLAGS += -Werror
|
||||||
else
|
else
|
||||||
# Old versions of gcc (< 4.8) don't support #pragma diagnostic in functions.
|
# Old versions of gcc (< 4.8) don't support #pragma diagnostic in functions.
|
||||||
# Use this to disable use of that #pragma and the warnings it suppresses.
|
# Use this to disable use of that #pragma and the warnings it suppresses.
|
||||||
|
10
external/nss/nss_macosx.patch
vendored
10
external/nss/nss_macosx.patch
vendored
@@ -13,7 +13,7 @@ diff -ru a/nspr/configure b/nspr/configure
|
|||||||
diff -ru a/nss/coreconf/Darwin.mk b/nss/coreconf/Darwin.mk
|
diff -ru a/nss/coreconf/Darwin.mk b/nss/coreconf/Darwin.mk
|
||||||
--- a/a/nss/coreconf/Darwin.mk 2014-09-29 16:50:22.992304799 +0100
|
--- a/a/nss/coreconf/Darwin.mk 2014-09-29 16:50:22.992304799 +0100
|
||||||
+++ b/b/nss/coreconf/Darwin.mk 2014-09-29 16:51:59.214931953 +0100
|
+++ b/b/nss/coreconf/Darwin.mk 2014-09-29 16:51:59.214931953 +0100
|
||||||
@@ -7,8 +7,12 @@
|
@@ -8,8 +8,12 @@
|
||||||
|
|
||||||
DEFAULT_COMPILER = gcc
|
DEFAULT_COMPILER = gcc
|
||||||
|
|
||||||
@@ -28,23 +28,25 @@ diff -ru a/nss/coreconf/Darwin.mk b/nss/coreconf/Darwin.mk
|
|||||||
RANLIB = ranlib
|
RANLIB = ranlib
|
||||||
|
|
||||||
ifndef CPU_ARCH
|
ifndef CPU_ARCH
|
||||||
@@ -19,11 +23,15 @@
|
@@ -20,13 +24,17 @@
|
||||||
|
|
||||||
ifeq (,$(filter-out i%86,$(CPU_ARCH)))
|
ifeq (,$(filter-out i%86,$(CPU_ARCH)))
|
||||||
ifdef USE_64
|
ifdef USE_64
|
||||||
+ifeq (,$(findstring -arch ,$(CC)))
|
+ifeq (,$(findstring -arch ,$(CC)))
|
||||||
CC += -arch x86_64
|
CC += -arch x86_64
|
||||||
|
CCC += -arch x86_64
|
||||||
+endif
|
+endif
|
||||||
override CPU_ARCH = x86_64
|
override CPU_ARCH = x86_64
|
||||||
else
|
else
|
||||||
OS_REL_CFLAGS = -Di386
|
OS_REL_CFLAGS = -Di386
|
||||||
+ifeq (,$(findstring -arch ,$(CC)))
|
+ifeq (,$(findstring -arch ,$(CC)))
|
||||||
CC += -arch i386
|
CC += -arch i386
|
||||||
|
CCC += -arch i386
|
||||||
+endif
|
+endif
|
||||||
override CPU_ARCH = x86
|
override CPU_ARCH = x86
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
@@ -31,12 +39,16 @@
|
@@ -40,12 +48,16 @@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(MACOS_SDK_DIR))
|
ifneq (,$(MACOS_SDK_DIR))
|
||||||
@@ -62,7 +64,7 @@ diff -ru a/nss/coreconf/Darwin.mk b/nss/coreconf/Darwin.mk
|
|||||||
# GCC <= 3
|
# GCC <= 3
|
||||||
DARWIN_SDK_FRAMEWORKS = -F$(MACOS_SDK_DIR)/System/Library/Frameworks
|
DARWIN_SDK_FRAMEWORKS = -F$(MACOS_SDK_DIR)/System/Library/Frameworks
|
||||||
ifneq (,$(shell find $(MACOS_SDK_DIR)/Library/Frameworks -maxdepth 0))
|
ifneq (,$(shell find $(MACOS_SDK_DIR)/Library/Frameworks -maxdepth 0))
|
||||||
@@ -104,7 +115,7 @@
|
@@ -108,7 +120,7 @@
|
||||||
# May override this with different compatibility and current version numbers.
|
# May override this with different compatibility and current version numbers.
|
||||||
DARWIN_DYLIB_VERSIONS = -compatibility_version 1 -current_version 1
|
DARWIN_DYLIB_VERSIONS = -compatibility_version 1 -current_version 1
|
||||||
# May override this with -bundle to create a loadable module.
|
# May override this with -bundle to create a loadable module.
|
||||||
|
Reference in New Issue
Block a user