diff options
Diffstat (limited to 'devel/pcre/files/patch-pcrecpp.cc')
-rw-r--r-- | devel/pcre/files/patch-pcrecpp.cc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/pcre/files/patch-pcrecpp.cc b/devel/pcre/files/patch-pcrecpp.cc new file mode 100644 index 000000000000..176e32c82274 --- /dev/null +++ b/devel/pcre/files/patch-pcrecpp.cc @@ -0,0 +1,19 @@ +--- pcrecpp.cc.orig Wed Jun 22 12:40:52 2005 ++++ pcrecpp.cc Wed Jul 27 17:14:34 2005 +@@ -36,6 +36,7 @@ + #include <assert.h> + #include <errno.h> + #include <string> ++#include <algorithm> + #include "config.h" + // We need this to compile the proper dll on windows/msys. This is copied + // from pcre_internal.h. It would probably be better just to include that. +@@ -378,7 +379,7 @@ + int matches = TryMatch(text, 0, UNANCHORED, vec, kVecSize); + if (matches == 0) + return false; +- out->clear(); ++ out->erase(); + return Rewrite(out, rewrite, text, vec, matches); + } + |