Update to nspr 4.15, required by fx 55.0b3.

See https://groups.google.com/forum/#!topic/mozilla.dev.tech.nspr/gMvzfJxmvn8

Add a chunk to patch-nspr_configure_in to workaround #1374538.
This commit is contained in:
landry 2017-06-20 06:38:53 +00:00
parent e68ea09059
commit 12d6e7cc19
4 changed files with 22 additions and 12 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.65 2017/05/11 15:30:37 sthen Exp $
# $OpenBSD: Makefile,v 1.66 2017/06/20 06:38:53 landry Exp $
ONLY_FOR_ARCHS= aarch64 alpha amd64 arm i386 mips64 mips64el powerpc sparc64 hppa
COMMENT = Netscape Portable Runtime
VER= 4.14
VER= 4.15
DISTNAME= nspr-${VER}
SO_VERSION= 23.3

View File

@ -1,2 +1,2 @@
SHA256 (nspr-4.14.tar.gz) = ZPwYgmJXQDqRMiQKo8RRk9V3qEsI6W9+d3CpfAdNF9U=
SIZE (nspr-4.14.tar.gz) = 1136626
SHA256 (nspr-4.15.tar.gz) = J93ga8PQyIkDog1q2Ac2GpEs+2JMoKtO+xD8ULGeLYA=
SIZE (nspr-4.15.tar.gz) = 1140182

View File

@ -1,7 +1,16 @@
$OpenBSD: patch-nspr_configure_in,v 1.7 2016/03/01 21:02:30 landry Exp $
--- nspr/configure.in.orig Fri Feb 12 14:51:25 2016
+++ nspr/configure.in Tue Mar 1 21:13:55 2016
@@ -2126,9 +2126,11 @@ tools are selected during the Xcode/Developer Tools in
$OpenBSD: patch-nspr_configure_in,v 1.8 2017/06/20 06:38:53 landry Exp $
Index: nspr/configure.in
--- nspr/configure.in.orig
+++ nspr/configure.in
@@ -1389,6 +1389,7 @@ case "$target" in
changequote([,])
if test "$HOST_DARWIN_MAJOR" -ge 15 ; then
AC_DEFINE(HAS_CONNECTX)
+ fi
AS='$(CC) -x assembler-with-cpp'
CFLAGS="$CFLAGS -Wall -fno-common"
case "${target_cpu}" in
@@ -2167,9 +2168,11 @@ tools are selected during the Xcode/Developer Tools in
AC_DEFINE(OPENBSD)
AC_DEFINE(HAVE_BSD_FLOCK)
AC_DEFINE(HAVE_SOCKLEN_T)

View File

@ -1,7 +1,8 @@
$OpenBSD: patch-nspr_pr_src_misc_prnetdb_c,v 1.2 2016/03/01 21:02:30 landry Exp $
--- nspr/pr/src/misc/prnetdb.c.orig Fri Feb 12 14:51:25 2016
+++ nspr/pr/src/misc/prnetdb.c Tue Mar 1 21:13:56 2016
@@ -2043,7 +2043,9 @@ PR_IMPLEMENT(PRAddrInfo *) PR_GetAddrInfoByName(const
$OpenBSD: patch-nspr_pr_src_misc_prnetdb_c,v 1.3 2017/06/20 06:38:53 landry Exp $
Index: nspr/pr/src/misc/prnetdb.c
--- nspr/pr/src/misc/prnetdb.c.orig
+++ nspr/pr/src/misc/prnetdb.c
@@ -2031,7 +2031,9 @@ PR_IMPLEMENT(PRAddrInfo *) PR_GetAddrInfoByName(const
*/
hints.ai_socktype = SOCK_STREAM;