diff options
| author | Woodpecker CI <emmett1.2miligrams@protonmail.com> | 2026-05-24 15:40:32 +0000 |
|---|---|---|
| committer | Woodpecker CI <emmett1.2miligrams@protonmail.com> | 2026-05-24 15:40:32 +0000 |
| commit | dea2a1fa20fc8e843cd85e5920a67b9054d00b2e (patch) | |
| tree | f331ff92dc5fd26f5803b483a24a0a21fd9bb97a /repos/extra/nodejs/libc++-malloc.patch | |
| parent | ef5bfeb93345a5a681d88e99775622bf28defd8d (diff) | |
| download | alicelinux-dea2a1fa20fc8e843cd85e5920a67b9054d00b2e.tar.gz alicelinux-dea2a1fa20fc8e843cd85e5920a67b9054d00b2e.zip | |
Woodpecker CI ef5bfeb93345a5a681d88e99775622bf28defd8d [SKIP CI]
Diffstat (limited to 'repos/extra/nodejs/libc++-malloc.patch')
| -rw-r--r-- | repos/extra/nodejs/libc++-malloc.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/repos/extra/nodejs/libc++-malloc.patch b/repos/extra/nodejs/libc++-malloc.patch deleted file mode 100644 index 64ff335c..00000000 --- a/repos/extra/nodejs/libc++-malloc.patch +++ /dev/null @@ -1,28 +0,0 @@ -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..cd00164 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 -@@ -44,6 +44,7 @@ - # include <cmath> // std::signbit - # include <cstddef> // std::byte - # include <cstdint> // uint32_t -+# include <cstdlib> // std::malloc, std::free - # include <cstring> // std::memcpy - # include <limits> // std::numeric_limits - # include <new> // std::bad_alloc -@@ -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 - |