emacs: Patch emacsclient to avoid /tmp
This commit is contained in:
parent
8fcc9d9680
commit
cef4acf0da
packages/emacs
@ -1,7 +1,7 @@
|
||||
TERMUX_PKG_HOMEPAGE=http://www.gnu.org/software/emacs/
|
||||
TERMUX_PKG_DESCRIPTION="Extensible, customizable text editor-and more"
|
||||
TERMUX_PKG_VERSION=25.0.92
|
||||
TERMUX_PKG_BUILD_REVISION=2
|
||||
TERMUX_PKG_BUILD_REVISION=3
|
||||
TERMUX_PKG_SRCURL=ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-${TERMUX_PKG_VERSION}.tar.xz
|
||||
TERMUX_PKG_DEPENDS="ncurses"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--without-x --with-xpm=no --with-jpeg=no --with-png=no --with-gif=no --with-tiff=no --without-gconf --without-gsettings --without-all"
|
||||
|
12
packages/emacs/lib-src-emacsclient.c.patch
Normal file
12
packages/emacs/lib-src-emacsclient.c.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -u -r ../emacs-25.0.92/lib-src/emacsclient.c ./lib-src/emacsclient.c
|
||||
--- ../emacs-25.0.92/lib-src/emacsclient.c 2016-03-02 05:21:42.000000000 -0500
|
||||
+++ ./lib-src/emacsclient.c 2016-04-09 01:28:10.881760020 -0400
|
||||
@@ -1210,7 +1210,7 @@
|
||||
}
|
||||
else
|
||||
#endif
|
||||
- tmpdir = "/tmp";
|
||||
+ tmpdir = "@TERMUX_PREFIX@/tmp";
|
||||
}
|
||||
socket_name_storage =
|
||||
xmalloc (strlen (tmpdir) + strlen (server_name) + EXTRA_SPACE);
|
Loading…
x
Reference in New Issue
Block a user