mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2025-12-23 12:10:15 +00:00
packages/vim-python&&packages/vim
This commit is contained in:
22
packages/vim-python/src-os_unix.h.patch
Normal file
22
packages/vim-python/src-os_unix.h.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
--- a/src/os_unix.h
|
||||
+++ b/src/os_unix.h
|
||||
@@ -138,6 +138,10 @@
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
+#ifdef __ANDROID__
|
||||
+#undef SIGTSTP
|
||||
+#endif
|
||||
+
|
||||
#if defined(DIRSIZ) && !defined(MAXNAMLEN)
|
||||
# define MAXNAMLEN DIRSIZ
|
||||
#endif
|
||||
@@ -356,7 +360,7 @@
|
||||
# ifdef VMS
|
||||
# define DFLT_DIR "./,sys$login:,tmp:"
|
||||
# else
|
||||
-# define DFLT_DIR ".,~/tmp,/var/tmp,/tmp" // default for 'directory'
|
||||
+# define DFLT_DIR ".,~/tmp,@TERMUX_PREFIX@/tmp,@TERMUX_PREFIX@/var/tmp" // default for 'directory'
|
||||
# endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user