summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorreed <reed>2005-08-12 20:07:35 +0000
committerreed <reed>2005-08-12 20:07:35 +0000
commit675e3b7ac1ff4f82bb89891035e371b302ebb96c (patch)
tree53ae21afd99cf12c2db1bfeb8cae1d4ab97abc8f /devel
parent93ab31870ca28575cbf8e9f8607835beb08dfa97 (diff)
downloadpkgsrc-675e3b7ac1ff4f82bb89891035e371b302ebb96c.tar.gz
Update patch-ac to add DragonFly support.
This is from maintainer's request via PR #30711. (I only tested "make configure" on different system.)
Diffstat (limited to 'devel')
-rw-r--r--devel/nspr/distinfo4
-rw-r--r--devel/nspr/patches/patch-ac37
2 files changed, 34 insertions, 7 deletions
diff --git a/devel/nspr/distinfo b/devel/nspr/distinfo
index bb2785512e1..1b9013c0e9d 100644
--- a/devel/nspr/distinfo
+++ b/devel/nspr/distinfo
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 22:24:22 agc Exp $
+$NetBSD: distinfo,v 1.4 2005/08/12 20:07:35 reed Exp $
SHA1 (nspr-4.4.1.tar.gz) = f709b7941c8f28508293541a8578ed4b625adeaf
RMD160 (nspr-4.4.1.tar.gz) = 7e07e66652c38d4567e6927f30ae26889c2c672b
Size (nspr-4.4.1.tar.gz) = 1324075 bytes
SHA1 (patch-aa) = 41cf591b7553175cd5f60a1f30fb5659bab8af8f
SHA1 (patch-ab) = 80d88458a1209f9b0fd79b1cffad168cdb6e6c71
-SHA1 (patch-ac) = aa551173541bb651dd573120dfeb516e6f28612b
+SHA1 (patch-ac) = 5fb247fac34b7aca0593ef541d983b5d7e968484
SHA1 (patch-ad) = 4945ca7de73bf3294e369607a06b59bdab00653c
SHA1 (patch-ae) = f09efe0defd526eaedf736d9c3df3bdd2a2600b8
SHA1 (patch-af) = b8b09a97b026905418b7bcd6cd6434f6665586c4
diff --git a/devel/nspr/patches/patch-ac b/devel/nspr/patches/patch-ac
index 4697a712214..2b247048e3c 100644
--- a/devel/nspr/patches/patch-ac
+++ b/devel/nspr/patches/patch-ac
@@ -1,8 +1,17 @@
-$NetBSD: patch-ac,v 1.1 2005/01/25 14:50:39 jschauma Exp $
+$NetBSD: patch-ac,v 1.2 2005/08/12 20:07:35 reed Exp $
---- ../configure.in.orig 2004-04-17 07:28:02.000000000 +0900
-+++ ../configure.in 2004-07-27 01:25:32.000000000 +0900
-@@ -933,6 +933,9 @@
+--- ../configure.in.orig 2003-11-24 16:09:04.000000000 -0800
++++ ../configure.in 2005-08-12 12:35:10.000000000 -0700
+@@ -913,7 +913,7 @@
+ PR_MD_CSRCS=dgux.c
+ ;;
+
+-*-freebsd*)
++*-freebsd* | *-dragonfly*)
+ if test -z "$USE_NSPR_THREADS"; then
+ USE_PTHREADS=1
+ fi
+@@ -932,6 +932,9 @@
DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)'
MDCPUCFG_H=_freebsd.cfg
PR_MD_CSRCS=freebsd.c
@@ -12,7 +21,7 @@ $NetBSD: patch-ac,v 1.1 2005/01/25 14:50:39 jschauma Exp $
;;
*-hpux*)
-@@ -1409,6 +1412,7 @@
+@@ -1408,6 +1411,7 @@
AC_DEFINE(XP_UNIX)
AC_DEFINE(NETBSD)
AC_DEFINE(HAVE_BSD_FLOCK)
@@ -20,3 +29,21 @@ $NetBSD: patch-ac,v 1.1 2005/01/25 14:50:39 jschauma Exp $
USE_NSPR_THREADS=1
MDCPUCFG_H=_netbsd.cfg
PR_MD_CSRCS=netbsd.c
+@@ -2165,7 +2169,7 @@
+ _PTHREAD_LDFLAGS=
+ fi
+ ;;
+- *-freebsd*)
++ *-freebsd* | *-dragonfly*)
+ AC_DEFINE(_REENTRANT)
+ AC_DEFINE(_THREAD_SAFE)
+ dnl -pthread links in -lc_r, so don't specify it explicitly.
+@@ -2236,7 +2240,7 @@
+ AC_DEFINE(_PR_NEED_PTHREAD_INIT)
+ fi
+ ;;
+-*-freebsd*)
++*-freebsd* | *-dragonfly*)
+ if test -n "$USE_NSPR_THREADS"; then
+ AC_DEFINE(_PR_LOCAL_THREADS_ONLY)
+ fi