mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-12 12:50:51 +00:00
- 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)
13 lines
590 B
Diff
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>
|