1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/devel/monotone/files/patch-src_pcrewrap.cc
Kirill Ponomarev a532f2a7ee Fix build with pcre 8.42
PR:		220613
Submitted by:	maintainer
2018-05-19 06:54:54 +00:00

21 lines
694 B
C++

--- src/pcrewrap.cc.orig 2018-05-18 21:33:20 UTC
+++ 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;