summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--configure.ac5
-rw-r--r--openbsd-compat/bsd-misc.h6
3 files changed, 12 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 50054ef01..ef4dc7050 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
1 20130529
2 - (dtucker) [configure.ac openbsd-compat/bsd-misc.h] bz#2087: Add a null
3 implementation of endgrent for platforms that don't have it (eg Android).
4 Loosely based on a patch from Nathan Osman, ok djm
1 20130517 5 20130517
2 - (dtucker) OpenBSD CVS Sync 6 - (dtucker) OpenBSD CVS Sync
3 - djm@cvs.openbsd.org 2013/03/07 00:20:34 7 - djm@cvs.openbsd.org 2013/03/07 00:20:34
diff --git a/configure.ac b/configure.ac
index 7d8adfcbc..13c055849 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
1# $Id: configure.ac,v 1.524 2013/05/16 10:47:32 dtucker Exp $ 1# $Id: configure.ac,v 1.525 2013/05/29 22:29:09 dtucker Exp $
2# 2#
3# Copyright (c) 1999-2004 Damien Miller 3# Copyright (c) 1999-2004 Damien Miller
4# 4#
@@ -15,7 +15,7 @@
15# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 16
17AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org]) 17AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org])
18AC_REVISION($Revision: 1.524 $) 18AC_REVISION($Revision: 1.525 $)
19AC_CONFIG_SRCDIR([ssh.c]) 19AC_CONFIG_SRCDIR([ssh.c])
20AC_LANG([C]) 20AC_LANG([C])
21 21
@@ -1531,6 +1531,7 @@ AC_CHECK_FUNCS([ \
1531 clock \ 1531 clock \
1532 closefrom \ 1532 closefrom \
1533 dirfd \ 1533 dirfd \
1534 endgrent \
1534 fchmod \ 1535 fchmod \
1535 fchown \ 1536 fchown \
1536 freeaddrinfo \ 1537 freeaddrinfo \
diff --git a/openbsd-compat/bsd-misc.h b/openbsd-compat/bsd-misc.h
index 430066376..9ebd83c3a 100644
--- a/openbsd-compat/bsd-misc.h
+++ b/openbsd-compat/bsd-misc.h
@@ -1,4 +1,4 @@
1/* $Id: bsd-misc.h,v 1.23 2013/03/14 23:34:27 djm Exp $ */ 1/* $Id: bsd-misc.h,v 1.24 2013/05/29 22:29:09 dtucker Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1999-2004 Damien Miller <djm@mindrot.org> 4 * Copyright (c) 1999-2004 Damien Miller <djm@mindrot.org>
@@ -110,4 +110,8 @@ int isblank(int);
110pid_t getpgid(pid_t); 110pid_t getpgid(pid_t);
111#endif 111#endif
112 112
113#ifndef HAVE_ENDGRENT
114# define endgrent() {}
115#endif
116
113#endif /* _BSD_MISC_H */ 117#endif /* _BSD_MISC_H */