9afab81d6a
Mozilla Firefox is a free, open-source and cross-platform web browser for Windows, Linux, MacOS X and many other operating systems. It is fast and easy to use, and offers many advantages over other web browsers, such as tabbed browsing and the ability to block pop-up windows. Firefox also offers excellent bookmark and history management, and it can be extended by developers using industry standards such as XML, CSS, JavaScript, C++, etc. Many extensions are available. This package tracks Firefox 45 ESR branch. Changelog from www/firefox 45.0.2: Fixed in Firefox ESR 45.1 2016-47 Write to invalid HashMap entry through JavaScript.watch() 2016-44 Buffer overflow in libstagefright with CENC offsets 2016-39 Miscellaneous memory safety hazards (rv:46.0 / rv:45.1 / rv:38.8)
46 lines
2 KiB
Text
46 lines
2 KiB
Text
$NetBSD: patch-build_autoconf_nss.m4,v 1.1 2016/04/27 16:36:50 ryoon Exp $
|
|
|
|
--- build/autoconf/nss.m4.orig 2015-04-29 21:11:43.000000000 +0000
|
|
+++ build/autoconf/nss.m4
|
|
@@ -22,18 +22,18 @@ AC_ARG_WITH(nss-exec-prefix,
|
|
if test -n "$nss_config_exec_prefix"; then
|
|
nss_config_args="$nss_config_args --exec-prefix=$nss_config_exec_prefix"
|
|
if test -z "$NSS_CONFIG"; then
|
|
- NSS_CONFIG=$nss_config_exec_prefix/bin/nss-config
|
|
+ NSS_CONFIG=$nss_config_exec_prefix/bin/pkg-config
|
|
fi
|
|
fi
|
|
if test -n "$nss_config_prefix"; then
|
|
nss_config_args="$nss_config_args --prefix=$nss_config_prefix"
|
|
if test -z "$NSS_CONFIG"; then
|
|
- NSS_CONFIG=$nss_config_prefix/bin/nss-config
|
|
+ NSS_CONFIG=$nss_config_prefix/bin/pkg-config
|
|
fi
|
|
fi
|
|
|
|
unset ac_cv_path_NSS_CONFIG
|
|
- AC_PATH_PROG(NSS_CONFIG, nss-config, no)
|
|
+ AC_PATH_PROG(NSS_CONFIG, pkg-config, no)
|
|
min_nss_version=ifelse([$1], ,3.0.0,$1)
|
|
AC_MSG_CHECKING(for NSS - version >= $min_nss_version)
|
|
|
|
@@ -41,14 +41,14 @@ AC_ARG_WITH(nss-exec-prefix,
|
|
if test "$NSS_CONFIG" = "no"; then
|
|
no_nss="yes"
|
|
else
|
|
- NSS_CFLAGS=`$NSS_CONFIG $nss_config_args --cflags`
|
|
- NSS_LIBS=`$NSS_CONFIG $nss_config_args --libs`
|
|
+ NSS_CFLAGS=`$NSS_CONFIG $nss_config_args nss --cflags`
|
|
+ NSS_LIBS=`$NSS_CONFIG $nss_config_args nss --libs`
|
|
|
|
- nss_config_major_version=`$NSS_CONFIG $nss_config_args --version | \
|
|
+ nss_config_major_version=`$NSS_CONFIG $nss_config_args nss --modversion | \
|
|
sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\(\.\([[0-9]]*\)\)\{0,1\}/\1/'`
|
|
- nss_config_minor_version=`$NSS_CONFIG $nss_config_args --version | \
|
|
+ nss_config_minor_version=`$NSS_CONFIG $nss_config_args nss --modversion | \
|
|
sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\(\.\([[0-9]]*\)\)\{0,1\}/\2/'`
|
|
- nss_config_micro_version=`$NSS_CONFIG $nss_config_args --version | \
|
|
+ nss_config_micro_version=`$NSS_CONFIG $nss_config_args nss --modversion | \
|
|
sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\(\.\([[0-9]]*\)\)\{0,1\}/\4/'`
|
|
if test -z "$nss_config_micro_version"; then
|
|
nss_config_micro_version="0"
|