diff options
Diffstat (limited to 'recipes/mozilla/nss-3.12/80_security_tools.dpatch')
-rw-r--r-- | recipes/mozilla/nss-3.12/80_security_tools.dpatch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes/mozilla/nss-3.12/80_security_tools.dpatch b/recipes/mozilla/nss-3.12/80_security_tools.dpatch new file mode 100644 index 0000000000..f7df38c973 --- /dev/null +++ b/recipes/mozilla/nss-3.12/80_security_tools.dpatch @@ -0,0 +1,31 @@ +Index: mozilla/security/coreconf/Linux.mk +=================================================================== +--- mozilla.orig/security/coreconf/Linux.mk 2008-07-23 20:20:28.000000000 +0200 ++++ mozilla/security/coreconf/Linux.mk 2008-07-23 20:20:33.000000000 +0200 +@@ -184,3 +184,6 @@ + # Always set CPU_TAG on Linux, OpenVMS, WINCE. + # + CPU_TAG = _$(CPU_ARCH) ++ ++USE_SYSTEM_ZLIB = 1 ++ZLIB_LIBS = -lz +Index: mozilla/security/nss/cmd/platlibs.mk +=================================================================== +--- mozilla.orig/security/nss/cmd/platlibs.mk 2008-07-23 20:20:13.000000000 +0200 ++++ mozilla/security/nss/cmd/platlibs.mk 2008-07-23 20:20:33.000000000 +0200 +@@ -38,6 +38,7 @@ + # set RPATH-type linker instructions here so they can be used in the shared + # version and in the mixed (static nss libs/shared NSPR libs) version. + ++ifdef ENABLE_RPATH + ifeq ($(OS_ARCH), SunOS) + ifeq ($(BUILD_SUN_PKG), 1) + ifeq ($(USE_64), 1) +@@ -71,6 +72,7 @@ + endif + endif + endif ++endif + + SQLITE=-lsqlite3 + |