As we discussed in the last meeting, we reset the ports tree and began from scratch, even though this change involves porting all the packages. Starting small and growing gradually, this approach will reduce build times and consequently lower energy consumption in a world affected by climate change. We will add new ports as users needs arise; ok h3artbl33d@
This commit is contained in:
parent
83a0aaf92c
commit
9a3af55370
59377 changed files with 98673 additions and 4712155 deletions
66
lang/node/patches/patch-deps_ada_ada_cpp
Normal file
66
lang/node/patches/patch-deps_ada_ada_cpp
Normal file
|
@ -0,0 +1,66 @@
|
|||
Index: deps/ada/ada.cpp
|
||||
--- deps/ada/ada.cpp.orig
|
||||
+++ deps/ada/ada.cpp
|
||||
@@ -10485,7 +10485,7 @@ ada_unused std::string get_state(ada::state s) {
|
||||
return "Special Authority Slashes";
|
||||
case ada::state::SPECIAL_RELATIVE_OR_AUTHORITY:
|
||||
return "Special Relative or Authority";
|
||||
- case ada::state::QUERY:
|
||||
+ case ada::state::ADAQUERY:
|
||||
return "Query";
|
||||
case ada::state::PATH:
|
||||
return "Path";
|
||||
@@ -12573,7 +12573,7 @@ result_type parse_url(std::string_view user_input,
|
||||
// state to query state.
|
||||
if ((input_position != input_size) &&
|
||||
(url_data[input_position] == '?')) {
|
||||
- state = ada::state::QUERY;
|
||||
+ state = ada::state::ADAQUERY;
|
||||
}
|
||||
// Otherwise, if c is not the EOF code point:
|
||||
else if (input_position != input_size) {
|
||||
@@ -12668,7 +12668,7 @@ result_type parse_url(std::string_view user_input,
|
||||
|
||||
break;
|
||||
}
|
||||
- case ada::state::QUERY: {
|
||||
+ case ada::state::ADAQUERY: {
|
||||
ada_log("QUERY ", helpers::substring(url_data, input_position));
|
||||
// Let queryPercentEncodeSet be the special-query percent-encode set if
|
||||
// url is special; otherwise the query percent-encode set.
|
||||
@@ -12750,7 +12750,7 @@ result_type parse_url(std::string_view user_input,
|
||||
size_t location = view.find('?');
|
||||
if (location != std::string_view::npos) {
|
||||
view.remove_suffix(view.size() - location);
|
||||
- state = ada::state::QUERY;
|
||||
+ state = ada::state::ADAQUERY;
|
||||
input_position += location + 1;
|
||||
} else {
|
||||
input_position = input_size + 1;
|
||||
@@ -12803,7 +12803,7 @@ result_type parse_url(std::string_view user_input,
|
||||
// set url's query to the empty string and state to query state.
|
||||
else if ((input_position != input_size) &&
|
||||
(url_data[input_position] == '?')) {
|
||||
- state = ada::state::QUERY;
|
||||
+ state = ada::state::ADAQUERY;
|
||||
}
|
||||
// Otherwise, if c is not the EOF code point:
|
||||
else if (input_position != input_size) {
|
||||
@@ -12827,7 +12827,7 @@ result_type parse_url(std::string_view user_input,
|
||||
// Furthermore, we can immediately locate the '?'.
|
||||
size_t locofquestionmark = view.find('?');
|
||||
if (locofquestionmark != std::string_view::npos) {
|
||||
- state = ada::state::QUERY;
|
||||
+ state = ada::state::ADAQUERY;
|
||||
view.remove_suffix(view.size() - locofquestionmark);
|
||||
input_position += locofquestionmark + 1;
|
||||
} else {
|
||||
@@ -12987,7 +12987,7 @@ result_type parse_url(std::string_view user_input,
|
||||
// If c is U+003F (?), then set url's query to the empty string and
|
||||
// state to query state.
|
||||
if (input_position != input_size && url_data[input_position] == '?') {
|
||||
- state = ada::state::QUERY;
|
||||
+ state = ada::state::ADAQUERY;
|
||||
}
|
||||
// Otherwise, if c is not the EOF code point:
|
||||
else if (input_position != input_size) {
|
Loading…
Add table
Add a link
Reference in a new issue