python/cmd2: update to 2.5.6
[oi-userland.git] / components / runtime / node22 / patches / 02-madvise.patch
blobcb3b9cd6543d8a18b60cd564e815114983f58437
1 --- node-v18.0.0/deps/v8/src/base/platform/platform-posix.cc.orig 2022-04-19 01:22:37.000000000 +0000
2 +++ node-v18.0.0/deps/v8/src/base/platform/platform-posix.cc 2022-04-22 20:48:24.264841344 +0000
3 @@ -74,7 +74,7 @@
5 #if defined(V8_OS_SOLARIS)
6 #if (defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE > 2) || defined(__EXTENSIONS__)
7 -extern "C" int madvise(caddr_t, size_t, int);
8 +extern "C" int madvise(void *, size_t, int);
9 #else
10 extern int madvise(caddr_t, size_t, int);
11 #endif