summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgavan <gavan@pkgsrc.org>2018-09-13 21:14:45 +0000
committergavan <gavan@pkgsrc.org>2018-09-13 21:14:45 +0000
commit20601f38b862f44f78ffd85b9030129de3c7519a (patch)
treec8e597eebdda9d294e936641d773c165eb61b150
parenta7a323a33a19d2d718bda934df7a1f4a879eb458 (diff)
downloadpkgsrc-20601f38b862f44f78ffd85b9030129de3c7519a.tar.gz
monotone: fix build failure with pcre-8.42
Patch from: https://bugzilla.redhat.com/attachment.cgi?id=1432584&action=diff
-rw-r--r--devel/monotone/distinfo4
-rw-r--r--devel/monotone/patches/patch-src_pcrewrap.cc22
-rw-r--r--devel/monotone/patches/patch-src_pcrewrap.hh22
3 files changed, 47 insertions, 1 deletions
diff --git a/devel/monotone/distinfo b/devel/monotone/distinfo
index d10f7b1e242..4519e75664e 100644
--- a/devel/monotone/distinfo
+++ b/devel/monotone/distinfo
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.52 2015/11/03 03:27:50 agc Exp $
+$NetBSD: distinfo,v 1.53 2018/09/13 21:14:45 gavan Exp $
SHA1 (monotone-1.1.tar.bz2) = 2b97559b252decaee3a374b81bf714cf33441ba3
RMD160 (monotone-1.1.tar.bz2) = c5e0f45028b806eb166b4aaecababa8e8e81b686
SHA512 (monotone-1.1.tar.bz2) = 0599e7fc004552f6a15095b62627eb60d80bfd32904608b6fef15f6c6f83db8059375833cb8ddc54fed569223a95f8ea0ba3c7008ad2969a5776faa27e5e5f3b
Size (monotone-1.1.tar.bz2) = 3428699 bytes
SHA1 (patch-src_hash__map.hh) = 3f8e83b651452aa87eb5409d6e852a49e3747db4
+SHA1 (patch-src_pcrewrap.cc) = c40693610033a899b3d14867e3228d86d2a732d4
+SHA1 (patch-src_pcrewrap.hh) = 60fae878445e2eedece85660741062b80090b043
diff --git a/devel/monotone/patches/patch-src_pcrewrap.cc b/devel/monotone/patches/patch-src_pcrewrap.cc
new file mode 100644
index 00000000000..b4e7eb9b0dc
--- /dev/null
+++ b/devel/monotone/patches/patch-src_pcrewrap.cc
@@ -0,0 +1,22 @@
+$NetBSD: patch-src_pcrewrap.cc,v 1.1 2018/09/13 21:14:45 gavan Exp $
+
+--- src/pcrewrap.cc.orig 2014-05-04 09:15:17.000000000 +0000
++++ 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 @@ 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;
diff --git a/devel/monotone/patches/patch-src_pcrewrap.hh b/devel/monotone/patches/patch-src_pcrewrap.hh
new file mode 100644
index 00000000000..87cdce769ea
--- /dev/null
+++ b/devel/monotone/patches/patch-src_pcrewrap.hh
@@ -0,0 +1,22 @@
+$NetBSD: patch-src_pcrewrap.hh,v 1.1 2018/09/13 21:14:45 gavan Exp $
+
+--- src/pcrewrap.hh.orig 2014-05-04 09:15:17.000000000 +0000
++++ src/pcrewrap.hh
+@@ -18,7 +18,7 @@
+ // definitions and so we don't actually expose it here. Unfortunately, this
+ // means we have to hope this pair of forward declarations will not change...
+
+-struct real_pcre;
++struct real_pcre8_or_16;
+ struct pcre_extra;
+
+ namespace pcre
+@@ -61,7 +61,7 @@ namespace pcre
+ regex & operator=(regex const &);
+
+ // data
+- struct real_pcre const * basedat;
++ struct real_pcre8_or_16 const * basedat;
+ struct pcre_extra const * extradat;
+
+ // used by constructors