diff options
Diffstat (limited to 'devel/glib20/files/patch-glib_gregex.c')
-rw-r--r-- | devel/glib20/files/patch-glib_gregex.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/glib20/files/patch-glib_gregex.c b/devel/glib20/files/patch-glib_gregex.c new file mode 100644 index 000000000..ef7f0a87b --- /dev/null +++ b/devel/glib20/files/patch-glib_gregex.c @@ -0,0 +1,13 @@ +--- glib/gregex.c.orig 2007-09-09 18:35:32.000000000 -0400 ++++ glib/gregex.c 2007-09-09 18:36:05.000000000 -0400 +@@ -164,8 +164,10 @@ match_error (gint errcode) + case PCRE_ERROR_DFA_RECURSE: + case PCRE_ERROR_RECURSIONLIMIT: + return _("recursion limit reached"); ++#ifdef PCRE_ERROR_NULLWSLIMIT + case PCRE_ERROR_NULLWSLIMIT: + return _("workspace limit for empty substrings reached"); ++#endif + case PCRE_ERROR_BADNEWLINE: + return _("invalid combination of newline flags"); + default: |