summaryrefslogtreecommitdiff
path: root/dev-cpp/libodb-sqlite/files
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-03-27 13:40:48 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-03-27 13:40:48 +0000
commitbd5dc062d7c244574bc1e5dd438a2155f3f81812 (patch)
tree6b745e4d1d34e63e324847c0c8898beebef8cac6 /dev-cpp/libodb-sqlite/files
parent266b5240d0c338340d28b757b02e6b9ff286bb13 (diff)
downloadsrcux-bd5dc062d7c244574bc1e5dd438a2155f3f81812.tar.gz
srcux-bd5dc062d7c244574bc1e5dd438a2155f3f81812.tar.xz
srcux-bd5dc062d7c244574bc1e5dd438a2155f3f81812.zip
Adding metadata
Diffstat (limited to 'dev-cpp/libodb-sqlite/files')
-rw-r--r--dev-cpp/libodb-sqlite/files/build2-0.13.0-libcpp-undefined-symol-vtable-for-match_any_but_newline-exec.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-cpp/libodb-sqlite/files/build2-0.13.0-libcpp-undefined-symol-vtable-for-match_any_but_newline-exec.patch b/dev-cpp/libodb-sqlite/files/build2-0.13.0-libcpp-undefined-symol-vtable-for-match_any_but_newline-exec.patch
new file mode 100644
index 000000000000..00b685600c8e
--- /dev/null
+++ b/dev-cpp/libodb-sqlite/files/build2-0.13.0-libcpp-undefined-symol-vtable-for-match_any_but_newline-exec.patch
@@ -0,0 +1,38 @@
+--- build2-toolchain-0.13.0-orig/build2/libbuild2/script/regex.cxx 2020-06-10 19:25:37.000000000 +1000
++++ build2-toolchain-0.13.0/build2/libbuild2/script/regex.cxx 2020-08-10 14:00:05.698012838 +1000
+@@ -5,6 +5,35 @@
+
+ #include <libbuild2/script/regex.hxx>
+
++#if defined(_LIBCPP_VERSION)
++template <>
++void
++std::__1::__match_any_but_newline<build2::script::regex::line_char>::__exec(__state& __s) const
++{
++ if (__s.__current_ != __s.__last_)
++ {
++ switch (*__s.__current_)
++ {
++ case '\r':
++ case '\n':
++ __s.__do_ = __state::__reject;
++ __s.__node_ = nullptr;
++ break;
++ default:
++ __s.__do_ = __state::__accept_and_consume;
++ ++__s.__current_;
++ __s.__node_ = this->first();
++ break;
++ }
++ }
++ else
++ {
++ __s.__do_ = __state::__reject;
++ __s.__node_ = nullptr;
++ }
++}
++#endif
++
+ using namespace std;
+
+ namespace build2