summaryrefslogtreecommitdiff
path: root/net/jwhois/patches
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-01-19 16:40:05 +0000
committertv <tv@pkgsrc.org>2005-01-19 16:40:05 +0000
commit0a960654d0c8f8c90244f2a2b4d0e1ba56c44df4 (patch)
tree3513873d70bc6c4a9bad8452780f49b8fd346a39 /net/jwhois/patches
parent6412b63256a4f8b604ad529c5e0947ec9c49fa0d (diff)
downloadpkgsrc-0a960654d0c8f8c90244f2a2b4d0e1ba56c44df4.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/patches')
-rw-r--r--net/jwhois/patches/patch-ac14
1 files changed, 14 insertions, 0 deletions
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];
+ }
+ }