termux-packages/x11-packages/vim-gtk/option.c.patch
Leonid Pliushch ec2a584277
new package: vim-gtk
Initial release.
Likely with problems & missing stuff.

Requested in https://github.com/termux/x11-packages/issues/79.
2022-04-18 14:35:52 +05:30

13 lines
356 B
Diff

diff -u -r ../vim-8.0.1750/src/option.c ./src/option.c
--- ../vim-8.0.1750/src/option.c 2018-04-23 21:29:48.000000000 +0200
+++ ./src/option.c 2018-04-26 22:18:46.227593576 +0200
@@ -3413,7 +3413,7 @@
# ifdef MACOS_X
p = (char_u *)"/private/tmp";
# else
- p = (char_u *)"/tmp";
+ p = (char_u *)"@TERMUX_PREFIX@/tmp";
# endif
else
# endif