git: 18e0fb34ecf0 - main - x11/sddm: Point to correct accountsservice directory.

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=18e0fb34ecf0b23ee8213179f2f10deb4a8b78eb

commit 18e0fb34ecf0b23ee8213179f2f10deb4a8b78eb
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:30:28 +0000

    x11/sddm: Point to correct accountsservice directory.
    
    This fixes avatar display in the SDDM greeter screen.
    
    Sponsored by:   Serenity Cybersecurity, LLC
---
 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.