[Midnightbsd-cvs] mports [20951] trunk/devel/nspr: nspr 4.10.9

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Feb 2 21:31:23 EST 2016


Revision: 20951
          http://svnweb.midnightbsd.org/mports/?rev=20951
Author:   laffer1
Date:     2016-02-02 21:31:22 -0500 (Tue, 02 Feb 2016)
Log Message:
-----------
nspr 4.10.9

Modified Paths:
--------------
    trunk/devel/nspr/Makefile
    trunk/devel/nspr/distinfo
    trunk/devel/nspr/files/patch-warnings

Removed Paths:
-------------
    trunk/devel/nspr/files/patch-bug1163346

Modified: trunk/devel/nspr/Makefile
===================================================================
--- trunk/devel/nspr/Makefile	2016-02-03 02:28:54 UTC (rev 20950)
+++ trunk/devel/nspr/Makefile	2016-02-03 02:31:22 UTC (rev 20951)
@@ -1,13 +1,13 @@
 # $MidnightBSD$
 
 PORTNAME=	nspr
-DISTVERSION=	4.10.8
+DISTVERSION=	4.10.9
 PORTREVISION=	0
 CATEGORIES=	devel
 MASTER_SITES=	MOZILLA/${PORTNAME}/releases/v${PORTVERSION}/src
 
 MAINTAINER=	ports at MidnightBSD.org
-COMMENT=	A platform-neutral API for system level and libc like functions
+COMMENT=	Platform-neutral API for system level and libc like functions
 
 LICENSE=	lgpl
 # lgpl, gpl2, or mpl

Modified: trunk/devel/nspr/distinfo
===================================================================
--- trunk/devel/nspr/distinfo	2016-02-03 02:28:54 UTC (rev 20950)
+++ trunk/devel/nspr/distinfo	2016-02-03 02:31:22 UTC (rev 20951)
@@ -1,2 +1,2 @@
-SHA256 (nspr-4.10.8.tar.gz) = 507ea57c525c0c524dae4857a642b4ef5c9d795518754c7f83422d22fe544a15
-SIZE (nspr-4.10.8.tar.gz) = 1131130
+SHA256 (nspr-4.10.9.tar.gz) = 4112ff6ad91d32696ca0c6c3d4abef6367b5dc0127fa172fcb3c3ab81bb2d881
+SIZE (nspr-4.10.9.tar.gz) = 1134015

Deleted: trunk/devel/nspr/files/patch-bug1163346
===================================================================
--- trunk/devel/nspr/files/patch-bug1163346	2016-02-03 02:28:54 UTC (rev 20950)
+++ trunk/devel/nspr/files/patch-bug1163346	2016-02-03 02:31:22 UTC (rev 20951)
@@ -1,124 +0,0 @@
---- ../pr/include/md/_freebsd.cfg.orig	2015-01-22 20:44:59 UTC
-+++ ../pr/include/md/_freebsd.cfg
-@@ -392,6 +392,108 @@
- #define PR_BYTES_PER_WORD_LOG2   2
- #define PR_BYTES_PER_DWORD_LOG2  3
- 
-+#elif defined(__mips64__)
-+
-+#if defined(__MIPSEB__) || defined(_MIPSEB)
-+#undef  IS_LITTLE_ENDIAN
-+#define IS_BIG_ENDIAN    1
-+#else
-+#undef  IS_BIG_ENDIAN
-+#define IS_LITTLE_ENDIAN 1
-+#endif
-+
-+#define IS_64
-+
-+#define PR_BYTES_PER_BYTE   1
-+#define PR_BYTES_PER_SHORT  2
-+#define PR_BYTES_PER_INT    4
-+#define PR_BYTES_PER_INT64  8
-+#define PR_BYTES_PER_LONG   8
-+#define PR_BYTES_PER_FLOAT  4
-+#define PR_BYTES_PER_DOUBLE 8
-+#define PR_BYTES_PER_WORD   8
-+#define PR_BYTES_PER_DWORD  8
-+
-+#define PR_BITS_PER_BYTE    8
-+#define PR_BITS_PER_SHORT   16
-+#define PR_BITS_PER_INT     32
-+#define PR_BITS_PER_INT64   64
-+#define PR_BITS_PER_LONG    64
-+#define PR_BITS_PER_FLOAT   32
-+#define PR_BITS_PER_DOUBLE  64
-+#define PR_BITS_PER_WORD    64
-+
-+#define PR_BITS_PER_BYTE_LOG2   3
-+#define PR_BITS_PER_SHORT_LOG2  4
-+#define PR_BITS_PER_INT_LOG2    5
-+#define PR_BITS_PER_INT64_LOG2  6
-+#define PR_BITS_PER_LONG_LOG2   6
-+#define PR_BITS_PER_FLOAT_LOG2  5
-+#define PR_BITS_PER_DOUBLE_LOG2 6
-+#define PR_BITS_PER_WORD_LOG2   6
-+
-+#define PR_ALIGN_OF_SHORT   2
-+#define PR_ALIGN_OF_INT     4
-+#define PR_ALIGN_OF_LONG    8
-+#define PR_ALIGN_OF_INT64   8
-+#define PR_ALIGN_OF_FLOAT   4
-+#define PR_ALIGN_OF_DOUBLE  8
-+#define PR_ALIGN_OF_POINTER 8
-+#define PR_ALIGN_OF_WORD    8
-+
-+#define PR_BYTES_PER_WORD_LOG2   3
-+#define PR_BYTES_PER_DWORD_LOG2  3
-+
-+#elif defined(__mips__)
-+
-+#if defined(__MIPSEB__) || defined(_MIPSEB)
-+#undef  IS_LITTLE_ENDIAN
-+#define IS_BIG_ENDIAN    1
-+#else
-+#undef  IS_BIG_ENDIAN
-+#define IS_LITTLE_ENDIAN 1
-+#endif
-+
-+#define PR_BYTES_PER_BYTE   1
-+#define PR_BYTES_PER_SHORT  2
-+#define PR_BYTES_PER_INT    4
-+#define PR_BYTES_PER_INT64  8
-+#define PR_BYTES_PER_LONG   4
-+#define PR_BYTES_PER_FLOAT  4
-+#define PR_BYTES_PER_DOUBLE 8
-+#define PR_BYTES_PER_WORD   4
-+#define PR_BYTES_PER_DWORD  8
-+
-+#define PR_BITS_PER_BYTE    8
-+#define PR_BITS_PER_SHORT   16
-+#define PR_BITS_PER_INT     32
-+#define PR_BITS_PER_INT64   64
-+#define PR_BITS_PER_LONG    32
-+#define PR_BITS_PER_FLOAT   32
-+#define PR_BITS_PER_DOUBLE  64
-+#define PR_BITS_PER_WORD    32
-+
-+#define PR_BITS_PER_BYTE_LOG2   3
-+#define PR_BITS_PER_SHORT_LOG2  4
-+#define PR_BITS_PER_INT_LOG2    5
-+#define PR_BITS_PER_INT64_LOG2  6
-+#define PR_BITS_PER_LONG_LOG2   5
-+#define PR_BITS_PER_FLOAT_LOG2  5
-+#define PR_BITS_PER_DOUBLE_LOG2 6
-+#define PR_BITS_PER_WORD_LOG2   5
-+
-+#define PR_ALIGN_OF_SHORT   2
-+#define PR_ALIGN_OF_INT     4
-+#define PR_ALIGN_OF_LONG    4
-+#define PR_ALIGN_OF_INT64   8
-+#define PR_ALIGN_OF_FLOAT   4
-+#define PR_ALIGN_OF_DOUBLE  8
-+#define PR_ALIGN_OF_POINTER 4
-+#define PR_ALIGN_OF_WORD    4
-+
-+#define PR_BYTES_PER_WORD_LOG2   2
-+#define PR_BYTES_PER_DWORD_LOG2  3
-+
- #else
- 
- #error "Unknown CPU architecture"
---- ../pr/include/md/_freebsd.h.orig	2015-01-22 20:44:59 UTC
-+++ ../pr/include/md/_freebsd.h
-@@ -31,6 +31,10 @@
- #define _PR_SI_ARCHITECTURE "powerpc"
- #elif defined(__arm__)
- #define _PR_SI_ARCHITECTURE "arm"
-+#elif defined(__mips64__)
-+#define _PR_SI_ARCHITECTURE "mips64"
-+#elif defined(__mips__)
-+#define _PR_SI_ARCHITECTURE "mips"
- #else
- #error "Unknown CPU architecture"
- #endif

Modified: trunk/devel/nspr/files/patch-warnings
===================================================================
--- trunk/devel/nspr/files/patch-warnings	2016-02-03 02:28:54 UTC (rev 20950)
+++ trunk/devel/nspr/files/patch-warnings	2016-02-03 02:31:22 UTC (rev 20951)
@@ -26,38 +26,6 @@
 +#if defined(FREEBSD) && (defined(DEBUG) || defined(FORCE_PR_ASSERT))
  /*
   * On older versions of FreeBSD, pthread_mutex_trylock returns EDEADLK.
-@@ -343,5 +343,8 @@
-     if (cv != NULL)
-     {
--        int rv = _PT_PTHREAD_COND_INIT(cv->cv, _pt_cvar_attr); 
-+#if defined(DEBUG) || defined(FORCE_PR_ASSERT)
-+        int rv =
-+#endif
-+	    _PT_PTHREAD_COND_INIT(cv->cv, _pt_cvar_attr); 
-         PR_ASSERT(0 == rv);
-         cv->lock = lock;
-@@ -358,5 +361,9 @@
-     if (0 > PR_AtomicDecrement(&cvar->notify_pending))
-     {
--        PRIntn rv = pthread_cond_destroy(&cvar->cv); PR_ASSERT(0 == rv);
-+#if defined(DEBUG) || defined(FORCE_PR_ASSERT)
-+        PRIntn rv =
-+#endif
-+	    pthread_cond_destroy(&cvar->cv);
-+	PR_ASSERT(0 == rv);
- #if defined(DEBUG)
-         memset(cvar, 0xaf, sizeof(PRCondVar));
-@@ -1080,6 +1087,9 @@
-     if (cv != NULL)
-     {
-+#if defined(DEBUG) || defined(FORCE_PR_ASSERT)
-         int rv;
--        rv = _PT_PTHREAD_COND_INIT(cv->cv, _pt_cvar_attr); 
-+        rv =
-+#endif
-+	    _PT_PTHREAD_COND_INIT(cv->cv, _pt_cvar_attr); 
-         PR_ASSERT(0 == rv);
-         cv->lock = _PR_NAKED_CV_LOCK;
 --- ../pr/include/prcountr.h	Sun Apr 25 11:00:47 2004
 +++ ../pr/include/prcountr.h	Mon Jul 25 20:43:03 2005
 @@ -427,5 +427,5 @@
@@ -117,20 +85,6 @@
 +	int bbits, b2, b5, be, dig, i, ieps, ilim = -1, ilim0, ilim1 = -1,
  		j, j1, k, k0, k_check, leftright, m2, m5, s2, s5,
  		spec_case, try_quick;
---- ../pr/src/misc/prenv.c	2009-05-06 01:40:37.000000000 -0400
-+++ ../pr/src/misc/prenv.c	2009-11-04 15:02:32.000000000 -0500
-@@ -94,5 +94,10 @@
- 
-     _PR_LOCK_ENV();
--    result = _PR_MD_PUT_ENV(string);
-+    /*
-+     * putenv() does not modify the contents, but allows
-+     * the caller to modify it later. So, it is Ok to
-+     * drop the const-ness here...
-+     */
-+    result = _PR_MD_PUT_ENV((char *)string);
-     _PR_UNLOCK_ENV();
-     return (result)? PR_FAILURE : PR_SUCCESS;
 --- ../pr/src/misc/prtpool.c	2005-04-28 18:37:25.000000000 -0400
 +++ ../pr/src/misc/prtpool.c	2009-11-04 15:08:05.000000000 -0500
 @@ -314,6 +314,6 @@



More information about the Midnightbsd-cvs mailing list