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/server-php-runner.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
311 B
Diff

--- a/server/php-runner.cpp
+++ b/server/php-runner.cpp
@@ -14,6 +14,10 @@
#include <sys/time.h>
#include <unistd.h>
+#ifdef __ANDROID__
+#define valloc(size) memalign(sysconf(_SC_PAGESIZE),size)
+#endif
+
#include "common/fast-backtrace.h"
#include "common/kernel-version.h"
#include "common/kprintf.h"