On Thu, Jul 06, 2023 at 08:47:59AM +0100, Matthew Vernon wrote:
> Hi,
> 
> On 06/07/2023 06:33, Vasyl Gello wrote:
> 
> > Yes I definitely see the bug. However, Kodi extensively uses pcrecpp and
> > the only replacement I see for pcre2 is jpcre2 [1]
> > There is an ITP bug about it since 2017 but no package.
> > 
> > Matthew, from your experience, is jpcre2 the only C++ wrapper for pcre2
> > or there is something more recommended / maintainable?
> > I did the search but found only jpcre2.
> 
> I should say that I'm not C++ expert; jpcre2 is the only wrapper I find by
> web-searching. I think, though, that it should be possible to use the pcre2
> libraries from C++ in the usual way that you can call C libraries from C++
> (and the headers have the usual extern "C" magic)...

Another option would be to use the vendored copy of PCRE until upstream 
supports PCRE2.

Using a vendored copy of a library is usually not an RC bug.

We do have a package that added and builds a copy of Python 2.7 before 
building itself after to the Python2 removal, so that would be a rather
minor vendoring in comparison.

> Regards,
> 
> Matthew

cu
Adrian

Reply via email to