termux-packages/packages/gnupg/common-dotlock.c.patch

14 lines
297 B
Diff
Raw Normal View History

2021-12-27 23:29:37 +01:00
--- ./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;
2021-01-07 13:49:44 +01:00
+#endif
+
char *lname;
struct stat sb;
unsigned int nlink;