mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
Fix build with boost 1.71
Details: - Backport upstream change to resolve namespace lookup issue with mkvtoolnix's split function and upcoming boost release, see https://gitlab.com/mbunkus/mkvtoolnix/issues/2599 PR: 239196 Reported by: jbeich
This commit is contained in:
parent
ab2d7a05e4
commit
21b9c08992
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=508424
@ -0,0 +1,11 @@
|
||||
--- src/common/strings/editing.h.orig 2019-06-22 10:06:04 UTC
|
||||
+++ src/common/strings/editing.h
|
||||
@@ -29,7 +29,7 @@ inline std::vector<std::string>
|
||||
split(std::string const &text,
|
||||
std::string const &pattern = ",",
|
||||
size_t max = 0) {
|
||||
- return split(text, boost::regex("\\Q"s + pattern, boost::regex::perl), max);
|
||||
+ return ::split(text, boost::regex("\\Q"s + pattern, boost::regex::perl), max);
|
||||
}
|
||||
|
||||
void strip(std::string &s, bool newlines = false);
|
Loading…
Reference in New Issue
Block a user