pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/htdig-devel Fix build on systems not having ETIME.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2a7febf62cbf
branches:  trunk
changeset: 559790:2a7febf62cbf
user:      hasso <hasso%pkgsrc.org@localhost>
date:      Sat May 30 04:25:34 2009 +0000

description:
Fix build on systems not having ETIME.

diffstat:

 www/htdig-devel/distinfo         |   3 ++-
 www/htdig-devel/patches/patch-ac |  17 +++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (37 lines):

diff -r 497e64c6cb64 -r 2a7febf62cbf www/htdig-devel/distinfo
--- a/www/htdig-devel/distinfo  Sat May 30 03:14:57 2009 +0000
+++ b/www/htdig-devel/distinfo  Sat May 30 04:25:34 2009 +0000
@@ -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 -r 497e64c6cb64 -r 2a7febf62cbf www/htdig-devel/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/htdig-devel/patches/patch-ac  Sat May 30 04:25:34 2009 +0000
@@ -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);
+               }
+ 



Home | Main Index | Thread Index | Old Index