pinentry-gtk: fix paths (/tmp)
This commit is contained in:
parent
99c85b282f
commit
808639c2bc
@ -0,0 +1,12 @@
|
|||||||
|
diff -uNr pinentry-1.1.0/pinentry/pinentry-emacs.c pinentry-1.1.0.mod/pinentry/pinentry-emacs.c
|
||||||
|
--- pinentry-1.1.0/pinentry/pinentry-emacs.c 2017-12-03 18:13:05.000000000 +0200
|
||||||
|
+++ pinentry-1.1.0.mod/pinentry/pinentry-emacs.c 2018-10-05 23:01:47.025402891 +0300
|
||||||
|
@@ -134,7 +134,7 @@
|
||||||
|
}
|
||||||
|
else
|
||||||
|
#endif
|
||||||
|
- tmpdir = "/tmp";
|
||||||
|
+ tmpdir = "@TERMUX_PREFIX@/tmp";
|
||||||
|
}
|
||||||
|
|
||||||
|
socket_name_storage = malloc (strlen (tmpdir)
|
@ -0,0 +1,14 @@
|
|||||||
|
diff -uNr pinentry-1.1.0/pinentry/pinentry.c pinentry-1.1.0.mod/pinentry/pinentry.c
|
||||||
|
--- pinentry-1.1.0/pinentry/pinentry.c 2017-12-03 18:13:15.000000000 +0200
|
||||||
|
+++ pinentry-1.1.0.mod/pinentry/pinentry.c 2018-10-05 23:01:15.445377981 +0300
|
||||||
|
@@ -258,8 +258,10 @@
|
||||||
|
{
|
||||||
|
if (! lc_ctype_unknown_warning)
|
||||||
|
{
|
||||||
|
+#ifndef __ANDROID__
|
||||||
|
fprintf (stderr, "%s: no LC_CTYPE known - assuming UTF-8\n",
|
||||||
|
this_pgmname);
|
||||||
|
+#endif
|
||||||
|
lc_ctype_unknown_warning = 1;
|
||||||
|
}
|
||||||
|
return strdup (text);
|
@ -1,14 +0,0 @@
|
|||||||
diff -u -r ../pinentry-0.9.7/pinentry/pinentry.c ./pinentry/pinentry.c
|
|
||||||
--- ../pinentry-0.9.7/pinentry/pinentry.c 2015-09-16 14:47:52.000000000 -0400
|
|
||||||
+++ ./pinentry/pinentry.c 2016-01-20 16:28:14.364196578 -0500
|
|
||||||
@@ -213,8 +213,10 @@
|
|
||||||
{
|
|
||||||
if (! lc_ctype_unknown_warning)
|
|
||||||
{
|
|
||||||
+#ifndef __ANDROID__
|
|
||||||
fprintf (stderr, "%s: no LC_CTYPE known - assuming UTF-8\n",
|
|
||||||
this_pgmname);
|
|
||||||
+#endif
|
|
||||||
lc_ctype_unknown_warning = 1;
|
|
||||||
}
|
|
||||||
return strdup (text);
|
|
Loading…
Reference in New Issue
Block a user