devel/nspr: update to 4.30.

Merges bits of our patch in #1674381, should still build on exotic archs.
This commit is contained in:
landry 2021-03-17 18:36:57 +00:00
parent c92de6a48f
commit f770cb9d3b
3 changed files with 8 additions and 12 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.84 2020/09/21 13:50:18 landry Exp $
# $OpenBSD: Makefile,v 1.85 2021/03/17 18:36:57 landry Exp $
COMMENT = Netscape Portable Runtime
VER= 4.29
VER= 4.30
DISTNAME= nspr-${VER}
SO_VERSION= 24.0

View File

@ -1,2 +1,2 @@
SHA256 (nspr-4.29.tar.gz) = Iihr24BZ10YyzHwoZcE55jlT7Pszv0Niq1iCfobpJYI=
SIZE (nspr-4.29.tar.gz) = 1078192
SHA256 (nspr-4.30.tar.gz) = jUzY+ECUhNxMPTHhgDVL/FBlc+zPhs1pEQah737ckTs=
SIZE (nspr-4.30.tar.gz) = 1078175

View File

@ -1,14 +1,10 @@
$OpenBSD: patch-nspr_pr_include_md__openbsd_h,v 1.3 2019/10/23 19:28:36 landry Exp $
$OpenBSD: patch-nspr_pr_include_md__openbsd_h,v 1.4 2021/03/17 18:36:57 landry Exp $
Index: nspr/pr/include/md/_openbsd.h
--- nspr/pr/include/md/_openbsd.h.orig
+++ nspr/pr/include/md/_openbsd.h
@@ -22,8 +22,14 @@
#define _PR_SI_ARCHITECTURE "powerpc"
#elif defined(__sparc__)
@@ -26,6 +26,10 @@
#define _PR_SI_ARCHITECTURE "sparc"
+#elif defined(__aarch64__)
+#define _PR_SI_ARCHITECTURE "aarch64"
#elif defined(__arm__)
#define _PR_SI_ARCHITECTURE "arm"
+#elif defined(__hppa__)
@ -18,7 +14,7 @@ Index: nspr/pr/include/md/_openbsd.h
#endif
#define PR_DLL_SUFFIX ".so"
@@ -33,7 +39,11 @@
@@ -35,7 +39,11 @@
#define _MD_DEFAULT_STACK_SIZE 65536L
#define _MD_MMAP_FLAGS MAP_PRIVATE
@ -30,7 +26,7 @@ Index: nspr/pr/include/md/_openbsd.h
#define HAVE_DLL
#define USE_DLFCN
#define _PR_HAVE_SOCKADDR_LEN
@@ -67,8 +77,10 @@
@@ -69,8 +77,10 @@
#define JB_SP_INDEX 34
#elif defined(__amd64__)
#define JB_SP_INDEX 6