0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-24 02:36:16 +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);