From 9095c27b20928c91b075a6767f6ccdde5a2df2d1 Mon Sep 17 00:00:00 2001 From: marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> Date: Sun, 9 Sep 2007 22:38:08 +0000 Subject: Fix build with pcre-7.3. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9547 df743ca5-7f9a-e211-a948-0013205c9059 --- devel/glib20/files/patch-glib_gregex.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 devel/glib20/files/patch-glib_gregex.c (limited to 'devel/glib20') 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: -- cgit v1.2.3