forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-cpp/libodb: Move config.install.chroot="${D}" to src_install.
Closes: https://bugs.gentoo.org/836043 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Mark Wright <[email protected]>
- Loading branch information
1 parent
bdb4a7a
commit 3d03e75
Showing
2 changed files
with
42 additions
and
3 deletions.
There are no files selected for viewing
38 changes: 38 additions & 0 deletions
38
...db/files/build2-0.13.0-libcpp-undefined-symol-vtable-for-match_any_but_newline-exec.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters