summaryrefslogtreecommitdiff
path: root/net/libupnp
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-06-12 21:59:32 +0000
committerjoerg <joerg@pkgsrc.org>2007-06-12 21:59:32 +0000
commite102af86aa0554eb20d36e82f3225c1c6722b578 (patch)
tree703776d0790f84b2d16d4b0dfb1768724dee1223 /net/libupnp
parent9b4630baf125eb2e1cc4f9aeff79c6551441cc1f (diff)
downloadpkgsrc-e102af86aa0554eb20d36e82f3225c1c6722b578.tar.gz
PTHREAD_MUTEX_RECURSIVE on DragonFly is an enum, adjust.
Diffstat (limited to 'net/libupnp')
-rw-r--r--net/libupnp/distinfo3
-rw-r--r--net/libupnp/patches/patch-ah13
2 files changed, 15 insertions, 1 deletions
diff --git a/net/libupnp/distinfo b/net/libupnp/distinfo
index 5ffb3fb9558..47b8ee1c38e 100644
--- a/net/libupnp/distinfo
+++ b/net/libupnp/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2007/06/07 08:08:16 rh Exp $
+$NetBSD: distinfo,v 1.4 2007/06/12 21:59:32 joerg Exp $
SHA1 (libupnp-1.4.6.tar.bz2) = eb7d8c725f9813bcaff0eb6a8bc18e43f3c4bc77
RMD160 (libupnp-1.4.6.tar.bz2) = 022f867a7f4466dcaf1954a4643b7a32c4a7a95e
@@ -10,3 +10,4 @@ SHA1 (patch-ad) = 48cf5476743acd415996dc3b065cc7d3cf9b4dbb
SHA1 (patch-ae) = e60148122ddd01f8c1020235c58ec7fa3cf7b179
SHA1 (patch-af) = 323bf256f9c7e0949897e07860dfa890ed5b60f3
SHA1 (patch-ag) = e13203b590bb671ddf98564cefdb260cccb6bcb9
+SHA1 (patch-ah) = bfe8b269cd7e8ee0f7e4ab0685fe70524960a365
diff --git a/net/libupnp/patches/patch-ah b/net/libupnp/patches/patch-ah
new file mode 100644
index 00000000000..a8c95fd8023
--- /dev/null
+++ b/net/libupnp/patches/patch-ah
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.1 2007/06/12 21:59:32 joerg Exp $
+
+--- threadutil/inc/ithread.h.orig 2007-06-12 21:46:07.000000000 +0000
++++ threadutil/inc/ithread.h
+@@ -51,7 +51,7 @@ extern "C" {
+ #define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE
+ #endif
+
+-#ifdef PTHREAD_MUTEX_RECURSIVE
++#if defined(PTHREAD_MUTEX_RECURSIVE) || defined(__DragonFly__)
+ /* This system has SuS2-compliant mutex attributes.
+ * E.g. on Cygwin, where we don't have the old nonportable (NP) symbols
+ */