diff options
author | Dmitry Sivachenko <demon@FreeBSD.org> | 2006-01-24 10:53:39 +0000 |
---|---|---|
committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2006-01-24 10:53:39 +0000 |
commit | 78ca7d964a38c00ce21cc12b0c05eac245beba2a (patch) | |
tree | 5dce05a64f647830d60fcca3ce87405259016570 /www/links | |
parent | - inlcude aspell suppret by default (diff) |
Fix build on FreeBSD 4.x.
PR: 92242
Submitted by: Tod McQuillin <devin@spamcop.net>
Diffstat (limited to 'www/links')
-rw-r--r-- | www/links/files/patch-regexp.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/www/links/files/patch-regexp.c b/www/links/files/patch-regexp.c new file mode 100644 index 000000000000..37e75006e285 --- /dev/null +++ b/www/links/files/patch-regexp.c @@ -0,0 +1,19 @@ +--- regexp.c~ Fri Nov 25 02:38:35 2005 ++++ regexp.c Tue Jan 24 12:39:04 2006 +@@ -148,6 +148,7 @@ + #ifdef HAVE_PCRE + const char *er_ptr; + int erroffset; ++ pcre *ppat; + #else + regmatch_t pmat[MAXCAPTURE/3]; + regex_t ppat_data; +@@ -197,7 +198,7 @@ + #endif /* REGEX_DEBUG */ + + #ifdef HAVE_PCRE +- pcre *ppat = pcre_compile(pom, 0/*PCRE_ANCHORED*/, &er_ptr, &erroffset, NULL); ++ ppat = pcre_compile(pom, 0/*PCRE_ANCHORED*/, &er_ptr, &erroffset, NULL); + pcre_free(pom); + #else /* HAVE_PCRE */ + ppat = &ppat_data; |