aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflo <flo@FreeBSD.org>2012-02-21 05:46:16 +0800
committerflo <flo@FreeBSD.org>2012-02-21 05:46:16 +0800
commit6d022d21879424f13f7c37752d3844ce51aaeaea (patch)
tree2dace333ac26710d0f0b381c2c531aa06ef391cd
parentb2eef0d7b40d065825624b0d7551a0976d467b57 (diff)
downloadfreebsd-ports-gnome-6d022d21879424f13f7c37752d3844ce51aaeaea.tar.gz
freebsd-ports-gnome-6d022d21879424f13f7c37752d3844ce51aaeaea.tar.zst
freebsd-ports-gnome-6d022d21879424f13f7c37752d3844ce51aaeaea.zip
update to 4.9
-rw-r--r--devel/nspr/Makefile2
-rw-r--r--devel/nspr/distinfo4
-rw-r--r--devel/nspr/files/patch-..::configure25
-rw-r--r--devel/nspr/files/patch-bugzilla-68475811
-rw-r--r--devel/nspr/files/patch-tests9
5 files changed, 16 insertions, 35 deletions
diff --git a/devel/nspr/Makefile b/devel/nspr/Makefile
index b4124804e49e..ce1f2ae6f9ff 100644
--- a/devel/nspr/Makefile
+++ b/devel/nspr/Makefile
@@ -6,7 +6,7 @@
# $MCom: ports-experimental/devel/nspr/Makefile,v 1.6 2008/03/12 13:06:56 ahze Exp $
PORTNAME= nspr
-DISTVERSION= 4.8.9
+DISTVERSION= 4.9
CATEGORIES= devel
MASTER_SITES= MOZILLA
MASTER_SITE_SUBDIR= nspr/releases/v${PORTVERSION}/src
diff --git a/devel/nspr/distinfo b/devel/nspr/distinfo
index 444bd09189f1..3dfa2348b161 100644
--- a/devel/nspr/distinfo
+++ b/devel/nspr/distinfo
@@ -1,2 +1,2 @@
-SHA256 (nspr-4.8.9.tar.gz) = ff43c7c819e72f03bb908e7652c5d5f59a5d31ee86c333e692650207103d1cce
-SIZE (nspr-4.8.9.tar.gz) = 1235265
+SHA256 (nspr-4.9.tar.gz) = ecc632bc578c125650999776673eeff952096afa6d151f6d91f6c3a93e1e716a
+SIZE (nspr-4.9.tar.gz) = 1218528
diff --git a/devel/nspr/files/patch-..::configure b/devel/nspr/files/patch-..::configure
index 90602869ecba..f722535ee774 100644
--- a/devel/nspr/files/patch-..::configure
+++ b/devel/nspr/files/patch-..::configure
@@ -1,6 +1,6 @@
---- ../configure.orig 2009-05-08 15:12:31.000000000 +0200
-+++ ../configure 2009-06-17 09:18:56.000000000 +0200
-@@ -3508,7 +3508,7 @@
+--- ../configure.orig 2012-02-14 20:06:00.000000000 +0100
++++ ../configure 2012-02-17 17:14:27.862323726 +0100
+@@ -4062,7 +4062,7 @@
CFLAGS="$CFLAGS $(DSO_CFLAGS) -ansi -Wall"
MOZ_OBJFORMAT=`test -x /usr/bin/objformat && /usr/bin/objformat || echo elf`
if test "$MOZ_OBJFORMAT" = "elf"; then
@@ -9,7 +9,7 @@
else
DLL_SUFFIX=so.1.0
fi
-@@ -5649,11 +5649,6 @@
+@@ -6271,11 +6271,6 @@
#define _THREAD_SAFE 1
EOF
@@ -21,11 +21,12 @@
;;
*-netbsd*)
if test "$ac_cv_have_dash_pthread" = "yes"; then
-@@ -6037,6 +6032,7 @@
- config/nsprincl.mk
- config/nsprincl.sh
- config/nspr-config
-+config/nspr.pc
- lib/Makefile
- lib/ds/Makefile
- lib/libc/Makefile
+@@ -6694,6 +6689,7 @@
+ config/nsprincl.mk
+ config/nsprincl.sh
+ config/nspr-config
++ config/nspr.pc
+ lib/Makefile
+ lib/ds/Makefile
+ lib/libc/Makefile
+
diff --git a/devel/nspr/files/patch-bugzilla-684758 b/devel/nspr/files/patch-bugzilla-684758
deleted file mode 100644
index efdb0c102451..000000000000
--- a/devel/nspr/files/patch-bugzilla-684758
+++ /dev/null
@@ -1,11 +0,0 @@
---- ../pr/src/pthreads/ptio.c 2011-09-02 12:14:24.000000000 +0200
-+++ ../pr/src/pthreads/ptio.c 2011-09-02 12:14:27.000000000 +0200
-@@ -1635,7 +1635,7 @@
- PR_SetError(PR_BAD_DESCRIPTOR_ERROR, 0);
- return PR_FAILURE;
- }
-- if ((out_flags & (PR_POLL_WRITE | PR_POLL_EXCEPT | PR_POLL_ERR)) == 0)
-+ if ((out_flags & (PR_POLL_WRITE | PR_POLL_EXCEPT | PR_POLL_ERR | PR_POLL_HUP)) == 0)
- {
- PR_ASSERT(out_flags == 0);
- PR_SetError(PR_IN_PROGRESS_ERROR, 0);
diff --git a/devel/nspr/files/patch-tests b/devel/nspr/files/patch-tests
index 39450f0527fb..d33d584643ce 100644
--- a/devel/nspr/files/patch-tests
+++ b/devel/nspr/files/patch-tests
@@ -1517,15 +1517,6 @@
PR_ResumeAll();
/* Wait for all threads to exit */
-@@ -212,6 +214,8 @@
- CreateThreadsUU();
- CreateThreadsKU();
- PR_Cleanup();
-+
-+ return 0;
- }
-
- #endif /* XP_BEOS */
--- ../pr/tests/testfile.c Tue Jun 20 17:46:54 2000
+++ ../pr/tests/testfile.c Mon Jul 25 22:36:39 2005
@@ -69,4 +69,7 @@