pkgsrc/devel/prcs/patches/patch-ab
2011-11-14 04:19:29 +00:00

15 lines
437 B
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

$NetBSD: patch-ab,v 1.6 2011/11/14 04:19:30 sbd 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