SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
23
devel/monotone/patches/patch-src_pcrewrap_cc
Normal file
23
devel/monotone/patches/patch-src_pcrewrap_cc
Normal file
|
@ -0,0 +1,23 @@
|
|||
Fix build with pcre 8.42
|
||||
|
||||
Index: src/pcrewrap.cc
|
||||
--- src/pcrewrap.cc.orig
|
||||
+++ src/pcrewrap.cc
|
||||
@@ -74,7 +74,7 @@ get_capturecount(void const * bd)
|
||||
namespace pcre
|
||||
{
|
||||
typedef map<char const *,
|
||||
- pair<struct real_pcre const *, struct pcre_extra const *> >
|
||||
+ pair<struct real_pcre8_or_16 const *, struct pcre_extra const *> >
|
||||
regex_cache;
|
||||
|
||||
class regex_cache_manager
|
||||
@@ -86,7 +86,7 @@ namespace pcre (public)
|
||||
}
|
||||
|
||||
void store(char const * pattern,
|
||||
- pair<struct real_pcre const *, struct pcre_extra const *>
|
||||
+ pair<struct real_pcre8_or_16 const *, struct pcre_extra const *>
|
||||
data)
|
||||
{
|
||||
cache[pattern] = data;
|
Loading…
Add table
Add a link
Reference in a new issue