pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/jwhois Compile fix for Interix. Don't bother usin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0778f5567ad5
branches:  trunk
changeset: 487754:0778f5567ad5
user:      tv <tv%pkgsrc.org@localhost>
date:      Wed Jan 19 16:40:05 2005 +0000

description:
Compile fix for Interix.  Don't bother using uintptr_t when it's not
actually necessary to do so.  (Pointers are already comparable with >=.)

diffstat:

 net/jwhois/distinfo         |   3 ++-
 net/jwhois/patches/patch-ac |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 59f62920edaf -r 0778f5567ad5 net/jwhois/distinfo
--- a/net/jwhois/distinfo       Wed Jan 19 16:39:47 2005 +0000
+++ b/net/jwhois/distinfo       Wed Jan 19 16:40:05 2005 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.20 2005/01/12 23:06:50 kleink Exp $
+$NetBSD: distinfo,v 1.21 2005/01/19 16:40:05 tv Exp $
 
 SHA1 (jwhois-3.2.2.tar.gz) = ca69b017e19d378affd7cdc3a980f2209cb1caab
 Size (jwhois-3.2.2.tar.gz) = 385390 bytes
 SHA1 (patch-aa) = 3095f3c0305268426562aabe0c821a1179dfb148
 SHA1 (patch-ab) = e2b35b66adae6caba8a778194ff0238a31006b0b
+SHA1 (patch-ac) = 1ff97afeaab96982f52597216db449e86bbd0444
diff -r 59f62920edaf -r 0778f5567ad5 net/jwhois/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/jwhois/patches/patch-ac       Wed Jan 19 16:40:05 2005 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.11 2005/01/19 16:40:05 tv Exp $
+
+--- src/regex.c.orig   2005-01-19 11:19:56.000000000 -0500
++++ src/regex.c
+@@ -3771,8 +3771,7 @@ re_match_2 (bufp, string1, size1, string
+                           regstart[r] = old_regstart[r];
+ 
+                           /* xx why this test?  */
+-                          if ((uintptr_t) old_regend[r] >=
+-                              (uintptr_t) regstart[r])
++                          if (old_regend[r] >= regstart[r])
+                             regend[r] = old_regend[r];
+                         }     
+                     }



Home | Main Index | Thread Index | Old Index