Files
termux-packages/packages/gcal/lib-strerror_r.c.patch
termux-pacman-bot ab6cc7e4f5 gcal: Fix configure and build for Clang 16
%ci:no-build
2023-04-11 08:32:02 +00:00

15 lines
262 B
Diff

https://github.com/termux/termux-packages/issues/15852
--- a/lib/strerror_r.c
+++ b/lib/strerror_r.c
@@ -23,6 +23,9 @@
#define _NETBSD_SOURCE 1
/* Specification. */
+#ifdef __ANDROID__
+#undef _GNU_SOURCE
+#endif
#include <string.h>
#include <errno.h>