$NetBSD: patch-ab,v 1.5 2010/07/31 21:37:25 dholland Exp $

don't let it roll its own uintptr_t, because it gets it wrong. 

--- src/regex.c.orig	2002-04-08 08:19:50.000000000 +0000
+++ src/regex.c
@@ -298,7 +298,7 @@ init_syntax_once ()
 
 /* Integer type for pointers.  */
 # if !defined _LIBC
-typedef unsigned long int uintptr_t;
+# include <stdint.h>
 # endif
 
 /* Should we use malloc or alloca?  If REG2EX2_MALLOC is not defined, we
