Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jan 2005 16:44:33 -0500
From:      Mikhail Teterin <mi+mx@aldan.algebra.com>
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: mozilla vs. nspr
Message-ID:  <200501041644.33734.mi%2Bmx@aldan.algebra.com>
In-Reply-To: <1104777629.60878.1.camel@shumai.marcuscom.com>
References:  <200501030349.j033nMxC082033@corbulon.video-collage.com> <1104777629.60878.1.camel@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Boundary-00=_B5w2BRruWZYxk7f
Content-Type: text/plain;
  charset="koi8-u"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

> devel/nspr is up-to-date with the official external nspr released from
> Mozilla (4.4.1).  This is what is required by nss 3.9.2, and used by
> ports such as Evolution and Gaim.

For what it is worth:

	https://bugzilla.mozilla.org/show_bug.cgi?id=276891

Meanwhile, how about the attached patch for devel/nspr (be sure to remove 
patch-..::pr::src::io::prprf.c after applying)? The main part of it, the 
nspr-4.4.1-4.5.diff, is simply against then nsprpub of Mozilla-1.7.5 with 
FreeBSD-irrelevant bits removed (we could also offer *all* changes for the 
benefit of other systems).

nss and gaim build with it fine. And so should the browsers :-) Yours,

	-mi

--Boundary-00=_B5w2BRruWZYxk7f
Content-Type: text/x-diff;
  charset="koi8-u";
  name="nspr.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="nspr.diff"

Index: Makefile
===================================================================
RCS file: /meow/ncvs/ports/devel/nspr/Makefile,v
retrieving revision 1.17
diff -U2 -r1.17 Makefile
--- Makefile	19 Mar 2004 03:45:19 -0000	1.17
+++ Makefile	4 Jan 2005 21:38:44 -0000
@@ -7,9 +7,12 @@
 
 PORTNAME=	nspr
-PORTVERSION=	4.4.1
-PORTREVISION=	1
+PORTVERSION=	4.5
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_MOZILLA}
-MASTER_SITE_SUBDIR=	nspr/releases/v${PORTVERSION}/src
+MASTER_SITE_SUBDIR=	nspr/releases/v4.4.1/src
+DISTNAME=	${PORTNAME}-4.4.1
+
+PATCH_SITES=	http://virtual-estates.net/port-stuff/
+PATCHFILES=	nspr-4.4.1-4.5.diff.bz2
 
 MAINTAINER=	gnome@FreeBSD.org
@@ -37,11 +40,9 @@
 do-install:
 	${MKDIR} ${PREFIX}/include/nspr
-	${TAR} -C ${WRKSRC}/dist/include --dereference -cf - . | \
-		${TAR} -C ${PREFIX}/include -xf -
-	${TAR} -C ${WRKSRC}/dist/lib --dereference -cf - . | \
-		${TAR} -C ${PREFIX}/lib -xf -
+	${CP} -pr ${WRKSRC}/dist/include/nspr ${PREFIX}/include
+	${CP} -pr ${WRKSRC}/dist/lib/* ${PREFIX}/lib
 	${INSTALL_SCRIPT} ${WRKSRC}/config/nspr-config ${PREFIX}/bin
 .for lib in ${LIBS}
-	${LN} -sf ${lib} ${PREFIX}/lib/${lib:S/.1$//}
+	${LN} -sf ${lib} ${PREFIX}/lib/${lib:R}
 .endfor
 
Index: distinfo
===================================================================
RCS file: /meow/ncvs/ports/devel/nspr/distinfo,v
retrieving revision 1.5
diff -U2 -r1.5 distinfo
--- distinfo	18 Mar 2004 13:47:04 -0000	1.5
+++ distinfo	4 Jan 2005 21:29:45 -0000
@@ -1,2 +1,4 @@
 MD5 (nspr-4.4.1.tar.gz) = 6187ec5f2c01554ceef2db35160f84dc
 SIZE (nspr-4.4.1.tar.gz) = 1324075
+MD5 (nspr-4.4.1-4.5.diff.bz2) = db9ba6a3925099c21c30cac9f86fb967
+SIZE (nspr-4.4.1-4.5.diff.bz2) = 21404

--Boundary-00=_B5w2BRruWZYxk7f--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501041644.33734.mi%2Bmx>