Initial commit
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
diff --git a/deps/LIEF/third-party/spdlog/include/spdlog/fmt/bundled/format.h b/deps/LIEF/third-party/spdlog/include/spdlog/fmt/bundled/format.h
|
||||
index 50e5714..36268ce 100644
|
||||
--- a/deps/LIEF/third-party/spdlog/include/spdlog/fmt/bundled/format.h
|
||||
+++ b/deps/LIEF/third-party/spdlog/include/spdlog/fmt/bundled/format.h
|
||||
@@ -42,6 +42,7 @@
|
||||
|
||||
#ifndef FMT_MODULE
|
||||
# include <cmath> // std::signbit
|
||||
+# include <cstdlib> // std::malloc, std::free
|
||||
# include <cstddef> // std::byte
|
||||
# include <cstdint> // uint32_t
|
||||
# include <cstring> // std::memcpy
|
||||
@@ -744,12 +745,12 @@ template <typename T> struct allocator {
|
||||
|
||||
T* allocate(size_t n) {
|
||||
FMT_ASSERT(n <= max_value<size_t>() / sizeof(T), "");
|
||||
- T* p = static_cast<T*>(malloc(n * sizeof(T)));
|
||||
+ T* p = static_cast<T*>(std::malloc(n * sizeof(T)));
|
||||
if (!p) FMT_THROW(std::bad_alloc());
|
||||
return p;
|
||||
}
|
||||
|
||||
- void deallocate(T* p, size_t) { free(p); }
|
||||
+ void deallocate(T* p, size_t) { std::free(p); }
|
||||
};
|
||||
|
||||
} // namespace detail
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,75 @@
|
||||
[alternatives]
|
||||
provides = ["npm"]
|
||||
|
||||
[build]
|
||||
type = "autotools"
|
||||
|
||||
[build.flags]
|
||||
configure = [
|
||||
"--ninja",
|
||||
"--with-intl=system-icu",
|
||||
"--shared-brotli",
|
||||
"--shared-cares",
|
||||
"--shared-libuv",
|
||||
"--shared-nghttp2",
|
||||
"--shared-nghttp3",
|
||||
"--shared-ngtcp2",
|
||||
"--shared-openssl",
|
||||
"--shared-simdjson",
|
||||
"--shared-zlib",
|
||||
"--shared-zstd",
|
||||
]
|
||||
post_compile = [
|
||||
"rm test/parallel/test-http-outgoing-end-cork.js",
|
||||
"rm test/parallel/test-http2-client-set-priority.js",
|
||||
"rm test/parallel/test-http2-client-unescaped-path.js",
|
||||
"rm test/parallel/test-http2-max-invalid-frames.js",
|
||||
"rm test/parallel/test-http2-misbehaving-flow-control.js",
|
||||
"rm test/parallel/test-http2-misbehaving-flow-control-paused.js",
|
||||
"rm test/parallel/test-http2-multi-content-length.js",
|
||||
"rm test/parallel/test-http2-priority-event.js",
|
||||
"rm test/parallel/test-http2-reset-flood.js",
|
||||
"rm test/parallel/test-tls-ocsp-callback.js",
|
||||
]
|
||||
use_lto = false
|
||||
make-test-target = "test-only"
|
||||
replace_cflags = [ "_FORTIFY_SOURCE=3=>_FORTIFY_SOURCE=2" ]
|
||||
replace_cxxflags = [ "_FORTIFY_SOURCE=3=>_FORTIFY_SOURCE=2" ]
|
||||
skip-tests = true
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"ninja",
|
||||
"python",
|
||||
"procps-ng",
|
||||
]
|
||||
runtime = [
|
||||
"brotli",
|
||||
"c-ares",
|
||||
"icu78",
|
||||
"libnghttp2",
|
||||
"libnghttp3",
|
||||
"libngtcp2",
|
||||
"libuv",
|
||||
"openssl",
|
||||
"simdjson",
|
||||
"zlib-ng",
|
||||
"zstd",
|
||||
"libatomic-chimera"
|
||||
]
|
||||
|
||||
[package]
|
||||
description = 'Evented I/O for V8 javascript ("Current" release)'
|
||||
homepage = "https://nodejs.org"
|
||||
license = "MIT"
|
||||
name = "nodejs"
|
||||
version = "25.8.1"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
url = "https://nodejs.org/dist/v$version/node-v$version.tar.gz"
|
||||
sha256 = "b2:eab6eb9c19906b47961425f6ad0c7a5314fbd276e94982b4e4ebe4cc83dffb5aab07b313e376488bf2451f2b2399ece1d976acbb06f6e7512a1f7d7991457d1b"
|
||||
patches = [ "node-v25.8.1-posixify.patch", "node-v25.8.1-libcxx-fmt-malloc.patch" ]
|
||||
|
||||
[[manual_sources]]
|
||||
files = [ "node-v25.8.1-posixify.patch", "node-v25.8.1-libcxx-fmt-malloc.patch" ]
|
||||
Reference in New Issue
Block a user