mirror of
https://github.com/termux/termux-packages
synced 2024-06-18 19:37:07 +00:00
oathtool: Fix for strerror_r
%ci:no-build
This commit is contained in:
parent
be328e5f74
commit
adaf95cc47
|
@ -9,4 +9,3 @@ TERMUX_PKG_DEPENDS="xmlsec, zlib"
|
|||
TERMUX_PKG_BREAKS="oathtool-dev"
|
||||
TERMUX_PKG_REPLACES="oathtool-dev"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-pam"
|
||||
TERMUX_PKG_ENABLE_CLANG16_PORTING=false
|
||||
|
|
14
packages/oathtool/liboath-gl-tests-strerror_r.c.patch
Normal file
14
packages/oathtool/liboath-gl-tests-strerror_r.c.patch
Normal file
|
@ -0,0 +1,14 @@
|
|||
https://github.com/termux/termux-packages/issues/15852
|
||||
|
||||
--- a/liboath/gl/tests/strerror_r.c
|
||||
+++ b/liboath/gl/tests/strerror_r.c
|
||||
@@ -23,6 +23,9 @@
|
||||
#define _NETBSD_SOURCE 1
|
||||
|
||||
/* Specification. */
|
||||
+#ifdef __ANDROID__
|
||||
+#undef _GNU_SOURCE
|
||||
+#endif
|
||||
#include <string.h>
|
||||
|
||||
#include <errno.h>
|
Loading…
Reference in New Issue
Block a user