termux-packages/x11-packages/thunar/plugins-thunar-sendto-email-main.c.patch

12 lines
509 B
Diff
Raw Normal View History

--- Thunar-1.8.2/plugins/thunar-sendto-email/main.c 2018-04-09 00:41:20.000000000 +0530
+++ Thunar/plugins/thunar-sendto-email/main.c 2019-01-30 12:57:29.294188622 +0530
@@ -401,7 +401,7 @@
gint n;
/* create a temporary directory */
- tmpdir = g_strdup ("/tmp/thunar-sendto-email.XXXXXX");
+ tmpdir = g_strdup ("@TERMUX_PREFIX@/tmp/thunar-sendto-email.XXXXXX");
if (G_UNLIKELY (mkdtemp (tmpdir) == NULL))
{
/* tell the user that we failed to create a temporary directory */