tmux: Update to 3.3
This commit is contained in:
parent
f19c4e7962
commit
8b10c8e3ec
@ -1,8 +1,8 @@
|
||||
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
|
||||
|
||||
pkgname=tmux
|
||||
_base_ver=3.2
|
||||
_bugfix=.a
|
||||
_base_ver=3.3
|
||||
_bugfix=
|
||||
pkgver=${_base_ver}${_bugfix}
|
||||
pkgrel=1
|
||||
pkgdesc='A terminal multiplexer'
|
||||
@ -18,9 +18,9 @@ source=(${pkgname}-${pkgver}.tar.gz::https://github.com/tmux/tmux/archive/${_bas
|
||||
'no-check-dirs-permission.patch'
|
||||
'inherit-msystem-var.patch')
|
||||
|
||||
sha256sums=('497bc4ee16f10b53b161bf0253b6f9e20cd0f86c5d0104f149212cb0778ae13a'
|
||||
sha256sums=('967044a34cf69197355f18f2f66e7300b29799576f91fbe04200ab71e5ef6913'
|
||||
'cf7e0f642d43fc97f7c55be41c693cceab5c891f81fcee687e918075e55cd533'
|
||||
'8f1938c9bcb99fba5441e11379a193c17eee582a03c04f1bde8089d58a84f44f'
|
||||
'31f3c9f1b98a97788edca46fb7a0ba2b5328758f014d445096561c8466540c5d'
|
||||
'aeaea034eeefe9598a56ebfabdf21cb991b2ac39d62dca9f857d24e5bc375366')
|
||||
|
||||
prepare() {
|
||||
|
||||
@ -1,16 +1,14 @@
|
||||
diff --git tmux.c tmux.c
|
||||
index 62f8a80..d8ed280 100644
|
||||
--- tmux.c
|
||||
+++ tmux.c
|
||||
@@ -149,7 +149,11 @@ makesocketpath(const char *label)
|
||||
errno = ENOTDIR;
|
||||
return (NULL);
|
||||
--- tmux.c.orig 2022-06-01 17:37:46.135702500 +0900
|
||||
+++ tmux.c 2022-06-01 17:43:45.993181000 +0900
|
||||
@@ -222,7 +222,11 @@
|
||||
xasprintf(cause, "%s is not a directory", base);
|
||||
goto fail;
|
||||
}
|
||||
+#ifdef __MSYS__
|
||||
+ if (sb.st_uid != uid) {
|
||||
+#else /* __MSYS__ */
|
||||
if (sb.st_uid != uid || (sb.st_mode & S_IRWXO) != 0) {
|
||||
+#endif /* __MSYS__ */
|
||||
errno = EACCES;
|
||||
return (NULL);
|
||||
xasprintf(cause, "directory %s has unsafe permissions", base);
|
||||
goto fail;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user