summaryrefslogtreecommitdiff
path: root/dev-cpp/libodb/files
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/libodb/files')
-rw-r--r--dev-cpp/libodb/files/build2-0.13.0-libcpp-undefined-symol-vtable-for-match_any_but_newline-exec.patch38
-rw-r--r--dev-cpp/libodb/files/build2-0.13.0_alpha0_pre20200710-nousrlocal.patch52
2 files changed, 0 insertions, 90 deletions
diff --git a/dev-cpp/libodb/files/build2-0.13.0-libcpp-undefined-symol-vtable-for-match_any_but_newline-exec.patch b/dev-cpp/libodb/files/build2-0.13.0-libcpp-undefined-symol-vtable-for-match_any_but_newline-exec.patch
deleted file mode 100644
index 00b685600c8e..000000000000
--- a/dev-cpp/libodb/files/build2-0.13.0-libcpp-undefined-symol-vtable-for-match_any_but_newline-exec.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- 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
diff --git a/dev-cpp/libodb/files/build2-0.13.0_alpha0_pre20200710-nousrlocal.patch b/dev-cpp/libodb/files/build2-0.13.0_alpha0_pre20200710-nousrlocal.patch
deleted file mode 100644
index c3717856b6b7..000000000000
--- a/dev-cpp/libodb/files/build2-0.13.0_alpha0_pre20200710-nousrlocal.patch
+++ /dev/null
@@ -1,52 +0,0 @@
---- build2-toolchain-e135a3112b15c88f0601583ca068f8adea7b605d-orig/build2/libbuild2/cc/module.cxx 2020-07-10 20:12:57.000000000 +1000
-+++ build2-toolchain-e135a3112b15c88f0601583ca068f8adea7b605d/build2/libbuild2/cc/module.cxx 2020-07-14 14:33:58.939950579 +1000
-@@ -323,8 +323,6 @@
-
- #ifndef _WIN32
- static const dir_path usr_inc ("/usr/include");
-- static const dir_path usr_loc_lib ("/usr/local/lib");
-- static const dir_path usr_loc_inc ("/usr/local/include");
- # ifdef __APPLE__
- static const dir_path a_usr_inc (
- "/Library/Developer/CommandLineTools/SDKs/MacOSX*.sdk/usr/include");
-@@ -486,7 +484,6 @@
- auto& ls (lib_dirs.first);
-
- bool ui (find (is.begin (), is.end (), usr_inc) != is.end ());
-- bool uli (find (is.begin (), is.end (), usr_loc_inc) != is.end ());
-
- #ifdef __APPLE__
- // On Mac OS starting from 10.14 there is no longer /usr/include.
-@@ -509,7 +506,7 @@
- //
- // Is Apple's /usr/include.
- //
-- if (!ui && !uli)
-+ if (!ui)
- {
- for (const dir_path& d: is)
- {
-@@ -521,22 +518,16 @@
- }
- }
- #endif
-- if (ui || uli)
-+ if (ui)
- {
-- bool ull (find (ls.begin (), ls.end (), usr_loc_lib) != ls.end ());
--
- // Many platforms don't search in /usr/local/lib by default (but do
- // for headers in /usr/local/include). So add it as the last option.
- //
-- if (!ull && exists (usr_loc_lib, true /* ignore_error */))
-- ls.push_back (usr_loc_lib);
-
- // FreeBSD is at least consistent: it searches in neither. Quoting
- // its wiki: "FreeBSD can't even find libraries that it installed."
- // So let's help it a bit.
- //
-- if (!uli && exists (usr_loc_inc, true /* ignore_error */))
-- is.push_back (usr_loc_inc);
- }
- }
- #endif