pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/monotone monotone: fix build failure with pcre-8.42



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1e0367ade875
branches:  trunk
changeset: 312777:1e0367ade875
user:      gavan <gavan%pkgsrc.org@localhost>
date:      Thu Sep 13 21:14:45 2018 +0000

description:
monotone: fix build failure with pcre-8.42

Patch from:

https://bugzilla.redhat.com/attachment.cgi?id=1432584&action=diff

diffstat:

 devel/monotone/distinfo                      |   4 +++-
 devel/monotone/patches/patch-src_pcrewrap.cc |  22 ++++++++++++++++++++++
 devel/monotone/patches/patch-src_pcrewrap.hh |  22 ++++++++++++++++++++++
 3 files changed, 47 insertions(+), 1 deletions(-)

diffs (66 lines):

diff -r 9ce761205b09 -r 1e0367ade875 devel/monotone/distinfo
--- a/devel/monotone/distinfo   Thu Sep 13 19:34:33 2018 +0000
+++ b/devel/monotone/distinfo   Thu Sep 13 21:14:45 2018 +0000
@@ -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 -r 9ce761205b09 -r 1e0367ade875 devel/monotone/patches/patch-src_pcrewrap.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/monotone/patches/patch-src_pcrewrap.cc      Thu Sep 13 21:14:45 2018 +0000
@@ -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 -r 9ce761205b09 -r 1e0367ade875 devel/monotone/patches/patch-src_pcrewrap.hh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/monotone/patches/patch-src_pcrewrap.hh      Thu Sep 13 21:14:45 2018 +0000
@@ -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



Home | Main Index | Thread Index | Old Index