summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/accountsservice/Makefile3
-rw-r--r--sysutils/accountsservice/files/patch-src_daemon.c5
2 files changed, 4 insertions, 4 deletions
diff --git a/sysutils/accountsservice/Makefile b/sysutils/accountsservice/Makefile
index 2f795675c..625767510 100644
--- a/sysutils/accountsservice/Makefile
+++ b/sysutils/accountsservice/Makefile
@@ -1,9 +1,10 @@
# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$
-# $MCom$
+# $MCom: ports/sysutils/accountsservice/Makefile,v 1.10 2012/09/19 21:50:44 kwm Exp $
PORTNAME= accountsservice
PORTVERSION= 0.6.24
+PORTREVISION= 1
CATEGORIES= sysutils devel
MASTER_SITES= http://www.freedesktop.org/software/${PORTNAME}/
diff --git a/sysutils/accountsservice/files/patch-src_daemon.c b/sysutils/accountsservice/files/patch-src_daemon.c
index f211d4d46..995df3de9 100644
--- a/sysutils/accountsservice/files/patch-src_daemon.c
+++ b/sysutils/accountsservice/files/patch-src_daemon.c
@@ -1,5 +1,5 @@
--- src/daemon.c.orig 2012-08-16 19:03:51.000000000 +0000
-+++ src/daemon.c 2012-09-19 22:31:43.000000000 +0000
++++ src/daemon.c 2012-10-08 09:18:14.000000000 +0000
@@ -68,6 +68,7 @@
"nobody4",
"noaccess",
@@ -16,14 +16,13 @@
NULL
};
-@@ -304,7 +306,12 @@
+@@ -304,7 +306,11 @@
/* Every iteration */
fp = *state;
+#ifdef HAVE_FGETPWENT
pwent = fgetpwent (fp);
+#else
-+ setpwent();
+ pwent = getpwent ();
+#endif
if (pwent != NULL) {