pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/nspr Update to 4.18
details: https://anonhg.NetBSD.org/pkgsrc/rev/08fd6d42f361
branches: trunk
changeset: 374511:08fd6d42f361
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Wed Jan 24 16:21:42 2018 +0000
description:
Update to 4.18
Changelog:
NSPR 4.18 contains the following changes:
- removed HP-UX DCE threads support
- improvements for the Windows implementation of PR_SetCurrentThreadName
- fixes for the Windows implementation of TCP Fast Open
diffstat:
devel/nspr/Makefile | 7 +-
devel/nspr/distinfo | 14 ++--
devel/nspr/patches/patch-az | 21 --------
devel/nspr/patches/patch-nspr_pr_include_md___pth.h | 39 ++++++++++++++++
devel/nspr/patches/patch-nspr_pr_src_pthreads_ptthread.c | 13 +++++
devel/nspr/patches/patch-nsprpub_pr_include_md__pth.h | 30 ------------
6 files changed, 63 insertions(+), 61 deletions(-)
diffs (170 lines):
diff -r da529802eaf3 -r 08fd6d42f361 devel/nspr/Makefile
--- a/devel/nspr/Makefile Wed Jan 24 15:16:49 2018 +0000
+++ b/devel/nspr/Makefile Wed Jan 24 16:21:42 2018 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.93 2017/10/04 12:52:43 jperkin Exp $
+# $NetBSD: Makefile,v 1.94 2018/01/24 16:21:42 ryoon Exp $
DISTNAME= nspr-${NSPR_RELEASE:S/.0$//}
-PKGREVISION= 1
-NSPR_RELEASE= 4.17.0
+NSPR_RELEASE= 4.18.0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_MOZILLA_ALL:=nspr/releases/v${NSPR_RELEASE:S/.0$//}/src/}
@@ -32,6 +31,8 @@
.include "../../mk/bsd.prefs.mk"
+BUILDLINK_TRANSFORM+= rm:-Wall
+
SUBST_CLASSES+= nspr-config
SUBST_STAGE.nspr-config= pre-configure
SUBST_MESSAGE.nspr-config= Fixing nspr-config run path
diff -r da529802eaf3 -r 08fd6d42f361 devel/nspr/distinfo
--- a/devel/nspr/distinfo Wed Jan 24 15:16:49 2018 +0000
+++ b/devel/nspr/distinfo Wed Jan 24 16:21:42 2018 +0000
@@ -1,17 +1,17 @@
-$NetBSD: distinfo,v 1.47 2017/10/04 12:52:43 jperkin Exp $
+$NetBSD: distinfo,v 1.48 2018/01/24 16:21:42 ryoon Exp $
-SHA1 (nspr-4.17.tar.gz) = 5262abb243191d5fa3dcd72857d7d7f8ec47ad01
-RMD160 (nspr-4.17.tar.gz) = 9ab5741d361d8c381a08deb93c945e2bc4e5881c
-SHA512 (nspr-4.17.tar.gz) = 3589f533b88d7dbbdee078c2a836bf7f7cb48466cb8861b6a42b05f12a5c6ce49426aa8fb3b153d548acd1c9ccf0376feea5649b48e3d72f3da1af5df3bed882
-Size (nspr-4.17.tar.gz) = 1141300 bytes
+SHA1 (nspr-4.18.tar.gz) = 3d6af705576c53aa9b126925d984419869070120
+RMD160 (nspr-4.18.tar.gz) = 161096a3d182b172114e14587b8969e2379638e9
+SHA512 (nspr-4.18.tar.gz) = 4ee9eb561f9c09f78681f8d262ffc3b3ec3395e181ce7b7c5d6c565885283180e5989b142d64799f9392ddf28bdc6a38d3ed6ca079fa107691fd5c758d4f7078
+Size (nspr-4.18.tar.gz) = 1139663 bytes
SHA1 (patch-ab) = d93c055bbb12bd9edf5f21138a93898d6b3b3c73
SHA1 (patch-ac) = a3d2cef788393b84e833d9e33bdf40b10d8efbd0
SHA1 (patch-ae) = c6cf30927792140d867bb4dc3adf19786f6cdbe0
SHA1 (patch-ag) = 653d4bc8cc4eced8f628cfb738c5d99cc1a6cf24
-SHA1 (patch-az) = 8961cde8e657176e9e18098ab8e8e4d59723ceca
SHA1 (patch-ba) = 141b354b9ec0423a9c671d5eaca05cf16daac312
+SHA1 (patch-nspr_pr_include_md___pth.h) = f2c122b0af7635bea14e8cb60fad106e79b62f24
+SHA1 (patch-nspr_pr_src_pthreads_ptthread.c) = 1aaa1048399cc7a82a67b98ea2368033cb597ac6
SHA1 (patch-nsprpub_pr_include_md__dragonfly.cfg) = 54d3fbd4c515290395b66f6b9e736a01a8318244
-SHA1 (patch-nsprpub_pr_include_md__pth.h) = 1745efd2354199897fc0f180b1a0e2557d0db25f
SHA1 (patch-nsprpub_pr_include_md_prosdep.h) = dd90cda6251aeeb10f02ef594c02484237195155
SHA1 (patch-nsprpub_pr_src_md_unix_uxrng.c) = 1d0f4ef5560ccdd7bf7097e987a06a34fc49621c
SHA1 (patch-nsprpub_pr_src_pthreads_ptio.c) = f83cc645a7114bf122adf62fd69808ad00bb989a
diff -r da529802eaf3 -r 08fd6d42f361 devel/nspr/patches/patch-az
--- a/devel/nspr/patches/patch-az Wed Jan 24 15:16:49 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-$NetBSD: patch-az,v 1.4 2016/02/17 21:58:26 ryoon Exp $
-
-https://bugzilla.mozilla.org/show_bug.cgi?id=782111
-
---- nsprpub/pr/src/pthreads/ptthread.c.orig 2012-06-22 01:36:02.000000000 +0000
-+++ nspr/pr/src/pthreads/ptthread.c
-@@ -1041,12 +1045,12 @@ PR_IMPLEMENT(void) PR_ProcessExit(PRIntn
- _exit(status);
- }
-
--PR_IMPLEMENT(PRUint32) PR_GetThreadID(PRThread *thred)
-+PR_IMPLEMENT(pthread_t) PR_GetThreadID(PRThread *thred)
- {
- #if defined(_PR_DCETHREADS)
- return (PRUint32)&thred->id; /* this is really a sham! */
- #else
-- return (PRUint32)thred->id; /* and I don't know what they will do with it */
-+ return thred->id; /* and I don't know what they will do with it */
- #endif
- }
-
diff -r da529802eaf3 -r 08fd6d42f361 devel/nspr/patches/patch-nspr_pr_include_md___pth.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/nspr/patches/patch-nspr_pr_include_md___pth.h Wed Jan 24 16:21:42 2018 +0000
@@ -0,0 +1,39 @@
+$NetBSD: patch-nspr_pr_include_md___pth.h,v 1.1 2018/01/24 16:21:42 ryoon Exp $
+
+--- nspr/pr/include/md/_pth.h.orig 2018-01-18 12:37:14.000000000 +0000
++++ nspr/pr/include/md/_pth.h
+@@ -86,7 +86,7 @@
+ */
+ #if defined(IRIX) || defined(OSF1) || defined(AIX) || defined(SOLARIS) \
+ || defined(LINUX) || defined(__GNU__) || defined(__GLIBC__) \
+- || defined(HPUX) || defined(FREEBSD) \
++ || defined(HPUX) || defined(FREEBSD) || defined(__DragonFly__) \
+ || defined(NETBSD) || defined(OPENBSD) || defined(BSDI) \
+ || defined(NTO) || defined(DARWIN) \
+ || defined(UNIXWARE) || defined(RISCOS) || defined(SYMBIAN)
+@@ -115,7 +115,7 @@
+ #if (defined(AIX) && !defined(AIX4_3_PLUS)) \
+ || defined(LINUX) || defined(__GNU__)|| defined(__GLIBC__) \
+ || defined(FREEBSD) || defined(NETBSD) || defined(OPENBSD) \
+- || defined(BSDI) || defined(UNIXWARE) \
++ || defined(BSDI) || defined(UNIXWARE) || defined(__DragonFly__)\
+ || defined(DARWIN) || defined(SYMBIAN)
+ #define PT_NO_SIGTIMEDWAIT
+ #endif
+@@ -140,7 +140,7 @@
+ #define PT_PRIO_MIN sched_get_priority_min(SCHED_OTHER)
+ #define PT_PRIO_MAX sched_get_priority_max(SCHED_OTHER)
+ #elif defined(LINUX) || defined(__GNU__) || defined(__GLIBC__) \
+- || defined(FREEBSD) || defined(SYMBIAN)
++ || defined(FREEBSD) || defined(SYMBIAN) || defined(__DragonFly__)
+ #define PT_PRIO_MIN sched_get_priority_min(SCHED_OTHER)
+ #define PT_PRIO_MAX sched_get_priority_max(SCHED_OTHER)
+ #elif defined(NTO)
+@@ -197,6 +197,7 @@ extern int (*_PT_aix_yield_fcn)();
+ #elif defined(HPUX) || defined(SOLARIS) \
+ || defined(LINUX) || defined(__GNU__) || defined(__GLIBC__) \
+ || defined(FREEBSD) || defined(NETBSD) || defined(OPENBSD) \
++ || defined(__DragonFly__) \
+ || defined(BSDI) || defined(NTO) || defined(DARWIN) \
+ || defined(UNIXWARE) || defined(RISCOS) || defined(SYMBIAN)
+ #define _PT_PTHREAD_YIELD() sched_yield()
diff -r da529802eaf3 -r 08fd6d42f361 devel/nspr/patches/patch-nspr_pr_src_pthreads_ptthread.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/nspr/patches/patch-nspr_pr_src_pthreads_ptthread.c Wed Jan 24 16:21:42 2018 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-nspr_pr_src_pthreads_ptthread.c,v 1.1 2018/01/24 16:21:42 ryoon Exp $
+
+--- nspr/pr/src/pthreads/ptthread.c.orig 2018-01-18 12:37:14.000000000 +0000
++++ nspr/pr/src/pthreads/ptthread.c
+@@ -1122,7 +1122,7 @@ PR_IMPLEMENT(void) PR_ProcessExit(PRIntn
+ _exit(status);
+ }
+
+-PR_IMPLEMENT(PRUint32) PR_GetThreadID(PRThread *thred)
++PR_IMPLEMENT(pthread_t) PR_GetThreadID(PRThread *thred)
+ {
+ return (PRUint32)thred->id; /* and I don't know what they will do with it */
+ }
diff -r da529802eaf3 -r 08fd6d42f361 devel/nspr/patches/patch-nsprpub_pr_include_md__pth.h
--- a/devel/nspr/patches/patch-nsprpub_pr_include_md__pth.h Wed Jan 24 15:16:49 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-$NetBSD: patch-nsprpub_pr_include_md__pth.h,v 1.3 2013/07/20 08:57:20 ryoon Exp $
-
---- nsprpub/pr/include/md/_pth.h.orig 2012-05-18 21:55:29.000000000 +0000
-+++ nspr/pr/include/md/_pth.h
-@@ -114,7 +114,7 @@
- #define _PT_PTHREAD_COPY_THR_HANDLE(st, dt) (dt) = (st)
- #elif defined(IRIX) || defined(OSF1) || defined(AIX) || defined(SOLARIS) \
- || defined(LINUX) || defined(__GNU__) || defined(__GLIBC__) \
-- || defined(HPUX) || defined(FREEBSD) \
-+ || defined(HPUX) || defined(FREEBSD) || defined(__DragonFly__) \
- || defined(NETBSD) || defined(OPENBSD) || defined(BSDI) \
- || defined(NTO) || defined(DARWIN) \
- || defined(UNIXWARE) || defined(RISCOS) || defined(SYMBIAN)
-@@ -201,7 +201,7 @@
- #endif /* defined(_PR_DCETHREADS) */
-
- #elif defined(LINUX) || defined(__GNU__) || defined(__GLIBC__) \
-- || defined(FREEBSD) || defined(SYMBIAN)
-+ || defined(FREEBSD) || defined(SYMBIAN) || defined(__DragonFly__)
- #define PT_PRIO_MIN sched_get_priority_min(SCHED_OTHER)
- #define PT_PRIO_MAX sched_get_priority_max(SCHED_OTHER)
- #elif defined(NTO)
-@@ -260,6 +260,7 @@ extern int (*_PT_aix_yield_fcn)();
- #elif defined(HPUX) || defined(SOLARIS) \
- || defined(LINUX) || defined(__GNU__) || defined(__GLIBC__) \
- || defined(FREEBSD) || defined(NETBSD) || defined(OPENBSD) \
-+ || defined(__DragonFly__) \
- || defined(BSDI) || defined(NTO) || defined(DARWIN) \
- || defined(UNIXWARE) || defined(RISCOS) || defined(SYMBIAN)
- #define _PT_PTHREAD_YIELD() sched_yield()
Home |
Main Index |
Thread Index |
Old Index