summaryrefslogtreecommitdiff
path: root/www/htdig-devel
diff options
context:
space:
mode:
authorhasso <hasso@pkgsrc.org>2009-05-30 04:25:34 +0000
committerhasso <hasso@pkgsrc.org>2009-05-30 04:25:34 +0000
commit7585915e875a71259598b05abf1ac46f16a731fd (patch)
treec52504c190e4d882fede41faf8fc922b31a1eba0 /www/htdig-devel
parentbe46b45f8db30329b039d810b7cc9c33ecc0719c (diff)
downloadpkgsrc-7585915e875a71259598b05abf1ac46f16a731fd.tar.gz
Fix build on systems not having ETIME.
Diffstat (limited to 'www/htdig-devel')
-rw-r--r--www/htdig-devel/distinfo3
-rw-r--r--www/htdig-devel/patches/patch-ac17
2 files changed, 19 insertions, 1 deletions
diff --git a/www/htdig-devel/distinfo b/www/htdig-devel/distinfo
index 42a3c8d86ef..b0d0ced1bf6 100644
--- a/www/htdig-devel/distinfo
+++ b/www/htdig-devel/distinfo
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.6 2009/01/17 09:13:10 adam Exp $
+$NetBSD: distinfo,v 1.7 2009/05/30 04:25:34 hasso Exp $
SHA1 (htdig-3.2.0b6.tar.bz2) = 0b28134386e78fe724c56583fbc61b280551122a
RMD160 (htdig-3.2.0b6.tar.bz2) = 1e0900e11618ffe3d43a6fc26163e3ed926a1012
Size (htdig-3.2.0b6.tar.bz2) = 2498246 bytes
SHA1 (patch-aa) = 6f4d22f84fe8caa809c1062e210200d9cea1a555
SHA1 (patch-ab) = 864655d311c2a9fe1f5de8b150587f3625a7c8c7
+SHA1 (patch-ac) = 7c1239444519c2eeb56b83d4b41a947ace51c389
SHA1 (patch-af) = 17b6f2f18c805cab76bd3b399057e035af16c70d
SHA1 (patch-ag) = 6105b1526f31bb7b757c3ceeae286c7f2c0aa007
SHA1 (patch-ah) = e6e87151c7bd0a44d138d431bdcc7ce7f950d1ee
diff --git a/www/htdig-devel/patches/patch-ac b/www/htdig-devel/patches/patch-ac
new file mode 100644
index 00000000000..81f1acba5f7
--- /dev/null
+++ b/www/htdig-devel/patches/patch-ac
@@ -0,0 +1,17 @@
+$NetBSD: patch-ac,v 1.1 2009/05/30 04:25:34 hasso Exp $
+
+--- db/mut_pthread.c.orig 2009-05-28 12:54:31 +0300
++++ db/mut_pthread.c 2009-05-28 12:55:30 +0300
+@@ -201,7 +201,11 @@ CDB___db_pthread_mutex_lock(mutexp)
+ * call, and Solaris delivers the signal to the wrong
+ * LWP.
+ */
+- if (ret != 0 && ret != ETIME && ret != ETIMEDOUT)
++ if (ret != 0 &&
++#ifdef ETIME
++ ret != ETIME &&
++#endif
++ ret != ETIMEDOUT)
+ return (ret);
+ }
+