1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-13 00:46:38 +00:00
termux-packages/disabled-packages/kphp/common-server-signals.cpp.patch
Tee KOBAYASHI 1bbe66e98a kphp: Disabled
Incompatible with latest libuber-h3. A whole bunch of patches are quite
unmaintainable.

kphp-timelib is also disabled as only kphp depends on it.
2022-11-17 18:08:03 +00:00

14 lines
271 B
Diff

--- a/common/server/signals.cpp
+++ b/common/server/signals.cpp
@@ -224,6 +224,10 @@
}
+#ifdef __ANDROID__
+#define valloc(size) memalign(sysconf(_SC_PAGESIZE),size)
+#endif
+
void set_debug_handlers() {
stack_t stack;
int res = sigaltstack(nullptr, &stack);