diff options
author | demon <demon@FreeBSD.org> | 2006-01-24 18:53:39 +0800 |
---|---|---|
committer | demon <demon@FreeBSD.org> | 2006-01-24 18:53:39 +0800 |
commit | fe99954df9a5ee8f21819903e1e17ae787fe45a9 (patch) | |
tree | 98cdd3e2153b3a7cb326220c06c4f6782e8a6e12 /www | |
parent | 0af7f19aea623cf73e6fb8cf65f24fb43682befe (diff) | |
download | freebsd-ports-gnome-fe99954df9a5ee8f21819903e1e17ae787fe45a9.tar.gz freebsd-ports-gnome-fe99954df9a5ee8f21819903e1e17ae787fe45a9.tar.zst freebsd-ports-gnome-fe99954df9a5ee8f21819903e1e17ae787fe45a9.zip |
Fix build on FreeBSD 4.x.
PR: 92242
Submitted by: Tod McQuillin <devin@spamcop.net>
Diffstat (limited to 'www')
-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; |