Update slim-unicode
This commit is contained in:
parent
fe08f6843e
commit
9dda00fdcb
|
@ -35,7 +35,8 @@ source=(https://sourceforge.net/projects/slim.berlios/files/slim-1.3.6.tar.gz/do
|
|||
service.patch
|
||||
99-drm.rules
|
||||
slimlock.patch
|
||||
keymap.patch)
|
||||
keymap.patch
|
||||
auth.patch)
|
||||
|
||||
sha256sums=('21defeed175418c46d71af71fd493cd0cbffd693f9d43c2151529125859810df'
|
||||
'3dfa697f8c058390c7e02e7aba769475057ef8ddde945dc43b8cb7f9724dbda0'
|
||||
|
@ -52,6 +53,7 @@ sha256sums=('21defeed175418c46d71af71fd493cd0cbffd693f9d43c2151529125859810df'
|
|||
SKIP
|
||||
SKIP
|
||||
SKIP
|
||||
SKIP
|
||||
SKIP)
|
||||
|
||||
prepare() {
|
||||
|
@ -75,6 +77,7 @@ prepare() {
|
|||
|
||||
patch -p1 -i "$srcdir/slimlock.patch"
|
||||
patch -p1 -i "$srcdir/keymap.patch"
|
||||
patch -p1 -i "$srcdir/auth.patch"
|
||||
}
|
||||
|
||||
build() {
|
||||
|
|
38
slim-unicode/auth.patch
Normal file
38
slim-unicode/auth.patch
Normal file
|
@ -0,0 +1,38 @@
|
|||
*** a/switchuser.cpp 2013-10-02 02:38:05.000000000 +0400
|
||||
--- b/switchuser.cpp 2024-04-30 00:06:23.650436213 +0300
|
||||
***************
|
||||
*** 52,58 ****
|
||||
|
||||
void SwitchUser::SetClientAuth(const char* mcookie) {
|
||||
string home = string(Pw->pw_dir);
|
||||
! string authfile = home + "/.Xauthority";
|
||||
remove(authfile.c_str());
|
||||
Util::add_mcookie(mcookie, ":0", cfg->getOption("xauth_path"),
|
||||
authfile);
|
||||
--- 52,58 ----
|
||||
|
||||
void SwitchUser::SetClientAuth(const char* mcookie) {
|
||||
string home = string(Pw->pw_dir);
|
||||
! string authfile = home + "/.config/X11/Xauthority";
|
||||
remove(authfile.c_str());
|
||||
Util::add_mcookie(mcookie, ":0", cfg->getOption("xauth_path"),
|
||||
authfile);
|
||||
*** a/app.cpp 2013-10-02 02:38:05.000000000 +0400
|
||||
--- b/app.cpp 2024-04-30 00:09:19.680445045 +0300
|
||||
***************
|
||||
*** 546,552 ****
|
||||
maildir.append("/");
|
||||
maildir.append(pw->pw_name);
|
||||
string xauthority = pw->pw_dir;
|
||||
! xauthority.append("/.Xauthority");
|
||||
|
||||
#ifdef USE_PAM
|
||||
/* Setup the PAM environment */
|
||||
--- 546,552 ----
|
||||
maildir.append("/");
|
||||
maildir.append(pw->pw_name);
|
||||
string xauthority = pw->pw_dir;
|
||||
! xauthority.append("/.config/X11/Xauthority");
|
||||
|
||||
#ifdef USE_PAM
|
||||
/* Setup the PAM environment */
|
Loading…
Reference in a new issue