emacs: fix typo in patch
This commit is contained in:
parent
501ce516cd
commit
cb5683d31c
@ -2,6 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/emacs/
|
||||
TERMUX_PKG_DESCRIPTION="Extensible, customizable text editor-and more"
|
||||
TERMUX_PKG_LICENSE="GPL-3.0"
|
||||
TERMUX_PKG_VERSION=27.1
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_SRCURL=https://ftp.gnu.org/gnu/emacs/emacs-${TERMUX_PKG_VERSION}.tar.xz
|
||||
TERMUX_PKG_SHA256=4a4c128f915fc937d61edfc273c98106711b540c9be3cd5d2e2b9b5b2f172e41
|
||||
TERMUX_PKG_DEPENDS="ncurses, gnutls, libxml2"
|
||||
|
@ -14,7 +14,7 @@
|
||||
char sockdirname[socknamesize];
|
||||
int sockdirnamelen = snprintf (sockdirname, sizeof sockdirname,
|
||||
- "/run/user/%"PRIuMAX, id);
|
||||
+ "@TERMUX_PREFIX/var@/run/user/%"PRIuMAX, id);
|
||||
+ "@TERMUX_PREFIX@/var/run/user/%"PRIuMAX, id);
|
||||
if (0 <= sockdirnamelen && sockdirnamelen < sizeof sockdirname
|
||||
&& faccessat (AT_FDCWD, sockdirname, X_OK, AT_EACCESS) == 0)
|
||||
message
|
||||
|
Loading…
Reference in New Issue
Block a user