summaryrefslogtreecommitdiff
path: root/net/jwhois
diff options
context:
space:
mode:
authortv <tv>2005-01-19 16:40:05 +0000
committertv <tv>2005-01-19 16:40:05 +0000
commit703f748bbaa0e646210defbdc828d6e6d5783a1c (patch)
tree3513873d70bc6c4a9bad8452780f49b8fd346a39 /net/jwhois
parent5a5034990e44cb47fe956832a0d3a868f8bdf16f (diff)
downloadpkgsrc-703f748bbaa0e646210defbdc828d6e6d5783a1c.tar.gz
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 (limited to 'net/jwhois')
-rw-r--r--net/jwhois/distinfo3
-rw-r--r--net/jwhois/patches/patch-ac14
2 files changed, 16 insertions, 1 deletions
diff --git a/net/jwhois/distinfo b/net/jwhois/distinfo
index 50f082ebd56..2a13c8aa279 100644
--- a/net/jwhois/distinfo
+++ b/net/jwhois/distinfo
@@ -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 --git a/net/jwhois/patches/patch-ac b/net/jwhois/patches/patch-ac
new file mode 100644
index 00000000000..d0a38ac8af9
--- /dev/null
+++ b/net/jwhois/patches/patch-ac
@@ -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];
+ }
+ }