Update to 4.9.1

This commit is contained in:
Florian Smeets 2012-06-04 21:17:59 +00:00
parent 42c98f4045
commit 39add7b2ef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=298397
4 changed files with 17 additions and 35 deletions

View File

@ -6,7 +6,7 @@
# $MCom: ports-experimental/devel/nspr/Makefile,v 1.6 2008/03/12 13:06:56 ahze Exp $ # $MCom: ports-experimental/devel/nspr/Makefile,v 1.6 2008/03/12 13:06:56 ahze Exp $
PORTNAME= nspr PORTNAME= nspr
DISTVERSION= 4.9 DISTVERSION= 4.9.1
CATEGORIES= devel CATEGORIES= devel
MASTER_SITES= MOZILLA MASTER_SITES= MOZILLA
MASTER_SITE_SUBDIR= nspr/releases/v${PORTVERSION}/src MASTER_SITE_SUBDIR= nspr/releases/v${PORTVERSION}/src

View File

@ -1,2 +1,2 @@
SHA256 (nspr-4.9.tar.gz) = ecc632bc578c125650999776673eeff952096afa6d151f6d91f6c3a93e1e716a SHA256 (nspr-4.9.1.tar.gz) = 5b696b80a3254aa0e5c7f0614b6bb9b14c483df46af66c792993e3d853568d17
SIZE (nspr-4.9.tar.gz) = 1218528 SIZE (nspr-4.9.1.tar.gz) = 1172951

View File

@ -21,12 +21,4 @@
;; ;;
*-netbsd*) *-netbsd*)
if test "$ac_cv_have_dash_pthread" = "yes"; then if test "$ac_cv_have_dash_pthread" = "yes"; then
@@ -6694,6 +6689,7 @@
config/nsprincl.mk
config/nsprincl.sh
config/nspr-config
+ config/nspr.pc
lib/Makefile
lib/ds/Makefile
lib/libc/Makefile

View File

@ -148,24 +148,6 @@
+ (long)retVal, (long)PR_GetError()); + (long)retVal, (long)PR_GetError());
exit(1); exit(1);
} }
--- ../pr/tests/op_noacc.c Sun Apr 25 11:01:02 2004
+++ ../pr/tests/op_noacc.c Tue Jul 12 01:40:22 2005
@@ -82,5 +82,5 @@
PR_STDIO_INIT();
err01 = PR_Open("err01.tmp", PR_CREATE_FILE | PR_RDWR, 0);
- if (err01 == NULL)
+ if (err01 == NULL) {
if (PR_GetError() == PR_NO_ACCESS_RIGHTS_ERROR) {
printf ("error code is %d\n",PR_GetError());
@@ -92,3 +92,7 @@
return 1;
}
-}
+ } else {
+ perror("err01.tmp");
+ return 2;
+ }
+}
--- ../pr/tests/peek.c Sun Apr 25 11:01:02 2004 --- ../pr/tests/peek.c Sun Apr 25 11:01:02 2004
+++ ../pr/tests/peek.c Tue Jul 12 01:41:44 2005 +++ ../pr/tests/peek.c Tue Jul 12 01:41:44 2005
@@ -168,5 +168,5 @@ @@ -168,5 +168,5 @@
@ -1841,36 +1823,44 @@
+ (void*)(intptr_t)PR_SecondsToInterval(secs), PR_PRIORITY_NORMAL, + (void*)(intptr_t)PR_SecondsToInterval(secs), PR_PRIORITY_NORMAL,
threadScopes[i], PR_JOINABLE_THREAD, 0); threadScopes[i], PR_JOINABLE_THREAD, 0);
if (threads[idx] == NULL) { if (threads[idx] == NULL) {
--- ../pr/tests/zerolen.c Sun Apr 25 11:01:02 2004 --- ../pr/tests/zerolen.c.orig 2012-03-06 14:14:33.000000000 +0100
+++ ../pr/tests/zerolen.c Mon Jul 25 23:04:19 2005 +++ ../pr/tests/zerolen.c 2012-06-04 13:39:40.000000000 +0200
@@ -78,5 +78,5 @@ @@ -45,7 +45,7 @@
{
PRFileDesc *sock; PRFileDesc *sock;
PRNetAddr addr; PRNetAddr addr;
- PRUint16 port = (PRUint16) arg; - PRUint16 port = (PRUint16) arg;
+ PRUint16 port = (PRUint16)(uintptr_t)arg; + PRUint16 port = (PRUint16)(uintptr_t)arg;
char buf[1024]; char buf[1024];
PRInt32 nbytes; PRInt32 nbytes;
@@ -157,5 +157,5 @@
@@ -127,7 +127,7 @@
* First test PR_Writev.
*/ */
clientThread = PR_CreateThread(PR_USER_THREAD, clientThread = PR_CreateThread(PR_USER_THREAD,
- ClientThread, (void *) PR_ntohs(PR_NetAddrInetPort(&addr)), - ClientThread, (void *) PR_ntohs(PR_NetAddrInetPort(&addr)),
+ ClientThread, (void *)(uintptr_t)PR_ntohs(PR_NetAddrInetPort(&addr)), + ClientThread, (void *)(uintptr_t)PR_ntohs(PR_NetAddrInetPort(&addr)),
PR_PRIORITY_NORMAL, PR_GLOBAL_THREAD, PR_JOINABLE_THREAD, 0); PR_PRIORITY_NORMAL, PR_GLOBAL_THREAD, PR_JOINABLE_THREAD, 0);
if (NULL == clientThread) { if (NULL == clientThread) {
@@ -198,5 +198,5 @@ fprintf(stderr, "PR_CreateThread failed\n");
@@ -171,7 +171,7 @@
* Then test PR_Write.
*/ */
clientThread = PR_CreateThread(PR_USER_THREAD, clientThread = PR_CreateThread(PR_USER_THREAD,
- ClientThread, (void *) PR_ntohs(PR_NetAddrInetPort(&addr)), - ClientThread, (void *) PR_ntohs(PR_NetAddrInetPort(&addr)),
+ ClientThread, (void *)(uintptr_t)PR_ntohs(PR_NetAddrInetPort(&addr)), + ClientThread, (void *)(uintptr_t)PR_ntohs(PR_NetAddrInetPort(&addr)),
PR_PRIORITY_NORMAL, PR_GLOBAL_THREAD, PR_JOINABLE_THREAD, 0); PR_PRIORITY_NORMAL, PR_GLOBAL_THREAD, PR_JOINABLE_THREAD, 0);
if (NULL == clientThread) { if (NULL == clientThread) {
@@ -237,5 +237,5 @@ fprintf(stderr, "PR_CreateThread failed\n");
@@ -216,7 +216,7 @@
* Finally test PR_Send.
*/ */
clientThread = PR_CreateThread(PR_USER_THREAD, clientThread = PR_CreateThread(PR_USER_THREAD,
- ClientThread, (void *) PR_ntohs(PR_NetAddrInetPort(&addr)), - ClientThread, (void *) PR_ntohs(PR_NetAddrInetPort(&addr)),
+ ClientThread, (void *)(uintptr_t)PR_ntohs(PR_NetAddrInetPort(&addr)), + ClientThread, (void *)(uintptr_t)PR_ntohs(PR_NetAddrInetPort(&addr)),
PR_PRIORITY_NORMAL, PR_GLOBAL_THREAD, PR_JOINABLE_THREAD, 0); PR_PRIORITY_NORMAL, PR_GLOBAL_THREAD, PR_JOINABLE_THREAD, 0);
if (NULL == clientThread) { if (NULL == clientThread) {
fprintf(stderr, "PR_CreateThread failed\n");
--- ../pr/tests/runtests.sh Sun Apr 25 11:01:02 2004 --- ../pr/tests/runtests.sh Sun Apr 25 11:01:02 2004
+++ ../pr/tests/runtests.sh Tue Jul 26 00:01:35 2005 +++ ../pr/tests/runtests.sh Tue Jul 26 00:01:35 2005
@@ -85,7 +85,4 @@ @@ -85,7 +85,4 @@