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/runtime-files.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
239 B
Diff

--- a/runtime/files.cpp
+++ b/runtime/files.cpp
@@ -10,6 +10,10 @@
#include <sys/utsname.h>
#include <unistd.h>
+#ifdef __ANDROID__
+#define __xpg_basename __posix_basename
+#endif
+
#undef basename
#include "common/macos-ports.h"