git: 9ab027e897c6 - 2023Q1 - x11/sddm: Point to correct accountsservice directory.

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Thu, 02 Mar 2023 11:40:59 UTC
The branch 2023Q1 has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9ab027e897c60c2aed5f506836fdea30b0839993

commit 9ab027e897c60c2aed5f506836fdea30b0839993
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2023-03-02 11:29:09 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2023-03-02 11:40:42 +0000

    x11/sddm: Point to correct accountsservice directory.
    
    This fixes avatar display in the SDDM greeter screen.
    
    Sponsored by:   Serenity Cybersecurity, LLC
    
    (cherry picked from commit 18e0fb34ecf0b23ee8213179f2f10deb4a8b78eb)
---
 x11/sddm/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/x11/sddm/Makefile b/x11/sddm/Makefile
index 2f9c9c8465b5..94f46a1fc1c4 100644
--- a/x11/sddm/Makefile
+++ b/x11/sddm/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	sddm
 PORTVERSION=	0.19.0
 DISTVERSIONPREFIX=	v
-PORTREVISION=	7
+PORTREVISION=	8
 CATEGORIES=	x11
 
 PATCH_SITES=	https://github.com/sddm/sddm/commit/
@@ -53,6 +53,8 @@ post-patch:
 		-e 's#/usr/share/#${LOCALBASE}/share/#' \
 		${WRKSRC}/data/scripts/Xsession \
 		${WRKSRC}/src/common/Configuration.h
+	@${REINPLACE_CMD} -e 's|/var/lib/AccountsService|/var/db/AccountsService|' \
+		${WRKSRC}/src/greeter/UserModel.cpp
 
 post-install:
 # Install xsession.desktop to launch .xinitrc via sddm.