0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-11 23:00:52 +00:00
termux-packages/packages/gnupg/common-dotlock.c.patch
2021-12-28 00:16:34 +01:00

14 lines
297 B
Diff

--- ./common/dotlock.c.orig 2021-01-11 12:55:18.000000000 +0100
+++ ./common/dotlock.c 2021-12-27 23:14:49.318866495 +0100
@@ -622,6 +622,10 @@
static int
use_hardlinks_p (const char *tname)
{
+#ifdef __ANDROID__
+ return 1;
+#endif
+
char *lname;
struct stat sb;
unsigned int nlink;