Files
termux-packages/packages/wasmedge/lib-system-allocator.cpp.patch
termux-pacman-bot a3efccf280 bump(main/wasmedge): 0.16.0
- Fixes https://github.com/termux/termux-packages/issues/27808

- Progress on https://github.com/termux/termux-packages/issues/23492

- Rebase `lib-system-allocator.cpp.patch`

- Apply `-Wno-invalid-specialization`
  - Normally I would not do this, but in this case, upstream has become aware of the error, and [explicitly stated that disabling this error and proceeding is fine](https://github.com/WasmEdge/WasmEdge/issues/4071#issuecomment-2763100292)
2026-01-03 08:06:42 +00:00

13 lines
590 B
Diff

diff -uNr WasmEdge-0.13.3/lib/system/allocator.cpp WasmEdge-0.13.3.mod/lib/system/allocator.cpp
--- WasmEdge-0.13.3/lib/system/allocator.cpp 2023-07-25 18:13:24.000000000 +0800
+++ WasmEdge-0.13.3.mod/lib/system/allocator.cpp 2023-09-02 11:04:52.146376442 +0800
@@ -11,7 +11,7 @@
#include "system/winapi.h"
#elif defined(HAVE_MMAP) && defined(__x86_64__) || defined(__aarch64__) || \
defined(__arm__) || (defined(__riscv) && __riscv_xlen == 64) || \
- defined(__s390x__)
+ defined(__s390x__) || defined(__i386__)
#include <sys/mman.h>
#else
#include <cctype>