diff options
Diffstat (limited to 'textproc/gsed/patches/patch-regcomp')
-rw-r--r-- | textproc/gsed/patches/patch-regcomp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/textproc/gsed/patches/patch-regcomp b/textproc/gsed/patches/patch-regcomp deleted file mode 100644 index 402550b85a0..00000000000 --- a/textproc/gsed/patches/patch-regcomp +++ /dev/null @@ -1,25 +0,0 @@ -$NetBSD: patch-regcomp,v 1.2 2007/12/19 13:27:20 rillig Exp $ - -The [ from ... to ] designator is gcc-specific. - ---- lib/regcomp.c.orig 2005-12-06 09:46:51.000000000 +0100 -+++ lib/regcomp.c 2007-12-19 00:52:02.864945000 +0100 -@@ -558,7 +558,17 @@ weak_alias (__regerror, regerror) - static const bitset_t utf8_sb_map = - { - /* Set the first 128 bits. */ -- [0 ... 0x80 / BITSET_WORD_BITS - 1] = BITSET_WORD_MAX -+#if BITSET_WORD_MAX == 0xffffffffULL -+ [0] = BITSET_WORD_MAX, -+ [1] = BITSET_WORD_MAX, -+ [2] = BITSET_WORD_MAX, -+ [3] = BITSET_WORD_MAX -+#elif BITSET_WORD_MAX == 0xffffffffffffffffULL -+ [0] = BITSET_WORD_MAX, -+ [1] = BITSET_WORD_MAX -+#else -+#error "Unknown value for BITSET_WORD_MAX" -+#endif - }; - #endif - |