diff --git a/sysutils/accountsservice/Makefile b/sysutils/accountsservice/Makefile index bc5b7fe5b0e..2a52d0739b2 100644 --- a/sysutils/accountsservice/Makefile +++ b/sysutils/accountsservice/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.62 2015/08/15 11:13:42 ajacoutot Exp $ +# $OpenBSD: Makefile,v 1.63 2015/11/19 10:07:45 ajacoutot Exp $ # XXX fix change password (gnome-cc run-passwd.c: argv[0]) @@ -6,7 +6,7 @@ COMMENT= D-Bus interface for user account query and manipulation DISTNAME= accountsservice-0.6.40 EXTRACT_SUFX= .tar.xz -REVISION= 1 +REVISION= 2 SHARED_LIBS += accountsservice 0.0 # 0.0 diff --git a/sysutils/accountsservice/patches/patch-src_user_c b/sysutils/accountsservice/patches/patch-src_user_c index e1cfad7bb3e..ba6478a60f8 100644 --- a/sysutils/accountsservice/patches/patch-src_user_c +++ b/sysutils/accountsservice/patches/patch-src_user_c @@ -1,4 +1,4 @@ -$OpenBSD: patch-src_user_c,v 1.27 2014/03/30 12:50:52 ajacoutot Exp $ +$OpenBSD: patch-src_user_c,v 1.28 2015/11/19 10:07:45 ajacoutot Exp $ --- src/user.c.orig Thu Mar 20 19:16:44 2014 +++ src/user.c Sun Mar 30 14:47:24 2014 @@ -123,7 +123,12 @@ account_type_from_pwent (struct passwd *pwent) @@ -57,7 +57,7 @@ $OpenBSD: patch-src_user_c,v 1.27 2014/03/30 12:50:52 ajacoutot Exp $ #endif +#ifdef __OpenBSD__ -+ pw = getpwnam (pwent->pw_name); ++ pw = getpwnam_shadow (pwent->pw_name); + if (pw) + passwd = pw->pw_passwd; + if (g_strcmp0(passwd, "skey") == 0)