diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-09-10 06:38:08 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-09-10 06:38:08 +0800 |
commit | 9095c27b20928c91b075a6767f6ccdde5a2df2d1 (patch) | |
tree | 7bfbdd00db0a37d86d54c650f2547427db500618 /devel/glib20 | |
parent | f236b5f0d3b52110d670e9a52ce0e8a9bf18ff4e (diff) | |
download | marcuscom-ports-9095c27b20928c91b075a6767f6ccdde5a2df2d1.tar marcuscom-ports-9095c27b20928c91b075a6767f6ccdde5a2df2d1.tar.gz marcuscom-ports-9095c27b20928c91b075a6767f6ccdde5a2df2d1.tar.bz2 marcuscom-ports-9095c27b20928c91b075a6767f6ccdde5a2df2d1.tar.lz marcuscom-ports-9095c27b20928c91b075a6767f6ccdde5a2df2d1.tar.xz marcuscom-ports-9095c27b20928c91b075a6767f6ccdde5a2df2d1.tar.zst marcuscom-ports-9095c27b20928c91b075a6767f6ccdde5a2df2d1.zip |
Fix build with pcre-7.3.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9547 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/glib20')
-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: |