pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/nspr Fix build under FreeBSD 6.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/867856e009d9
branches:  trunk
changeset: 534326:867856e009d9
user:      tonio <tonio%pkgsrc.org@localhost>
date:      Tue Oct 16 20:28:46 2007 +0000

description:
Fix build under FreeBSD 6.1

diffstat:

 devel/nspr/distinfo         |   3 ++-
 devel/nspr/patches/patch-an |  21 +++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletions(-)

diffs (39 lines):

diff -r 25c87000cebc -r 867856e009d9 devel/nspr/distinfo
--- a/devel/nspr/distinfo       Tue Oct 16 18:12:56 2007 +0000
+++ b/devel/nspr/distinfo       Tue Oct 16 20:28:46 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2007/10/04 14:18:21 joerg Exp $
+$NetBSD: distinfo,v 1.11 2007/10/16 20:28:46 tonio Exp $
 
 SHA1 (nspr-4.6.7.tar.gz) = cf45319d02285ec5479445a1e9adfb9e94f55a6a
 RMD160 (nspr-4.6.7.tar.gz) = 11a0d8b14ebdd441f6899c464b77144704ab638e
@@ -14,3 +14,4 @@
 SHA1 (patch-ak) = b090f571d539cd15f3ebad7c671bb71531e0f817
 SHA1 (patch-al) = 80d75bfcebc271dc222cef982a887cd1735e7692
 SHA1 (patch-am) = 4b4737524d76d32a45e20041b0fc7a3fc2f8f1c9
+SHA1 (patch-an) = c4e2a633479f1385c56b7cec0e5ead21135b7ccb
diff -r 25c87000cebc -r 867856e009d9 devel/nspr/patches/patch-an
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/nspr/patches/patch-an       Tue Oct 16 20:28:46 2007 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-an,v 1.1 2007/10/16 20:28:46 tonio Exp $
+
+--- mozilla/nsprpub/pr/include/md/_freebsd.h.orig      Mon Nov 22 22:24:53 2004
++++ mozilla/nsprpub/pr/include/md/_freebsd.h
+@@ -106,6 +106,16 @@
+ #define _PR_IPV6_V6ONLY_PROBE
+ #endif
+ 
++#if (__FreeBSD_version >= 700016) || (__FreeBSD_version < 700000 && __FreeBSD_version >= 601103)
++#if defined(_PR_PTHREADS)
++#define _PR_HAVE_GETPROTO_R
++#define _PR_HAVE_5_ARG_GETPROTO_R
++#define _PR_HAVE_GETHOST_R
++#define _PR_HAVE_GETHOST_R_INT
++#define _PR_HAVE_THREADSAFE_GETHOST
++#endif
++#endif
++
+ #define USE_SETJMP
+ 
+ #ifndef _PR_PTHREADS



Home | Main Index | Thread Index | Old Index