View | Details | Raw Unified | Return to bug 659
Collapse All | Expand All

(-)configure.ac.orig (-1 / +20 lines)
Lines 198-203 Link Here
198
	AC_DEFINE(WITH_IRIX_AUDIT)
178
	AC_DEFINE(WITH_IRIX_AUDIT)
199
	AC_CHECK_FUNC(jlimit_startjob, [AC_DEFINE(WITH_IRIX_JOBS)])
179
	AC_CHECK_FUNC(jlimit_startjob, [AC_DEFINE(WITH_IRIX_JOBS)])
200
	AC_DEFINE(BROKEN_INET_NTOA)
180
	AC_DEFINE(BROKEN_INET_NTOA)
181
	AC_DEFINE(BROKEN_GETADDRINFO)
182
	AC_DEFINE(SETEUID_BREAKS_SETUID)
183
	AC_DEFINE(BROKEN_SETREUID)
184
	AC_DEFINE(BROKEN_SETREGID)
201
	AC_DEFINE(WITH_ABBREV_NO_TTY)
185
	AC_DEFINE(WITH_ABBREV_NO_TTY)
202
	AC_DEFINE(LOCKED_PASSWD_STRING, "*LK*")
186
	AC_DEFINE(LOCKED_PASSWD_STRING, "*LK*")
203
	;;
187
	;;
Lines 714-720 Link Here
714
AC_CHECK_FUNCS(\
699
AC_CHECK_FUNCS(\
715
	arc4random __b64_ntop b64_ntop __b64_pton b64_pton basename \
700
	arc4random __b64_ntop b64_ntop __b64_pton b64_pton basename \
716
	bcopy bindresvport_sa clock fchmod fchown freeaddrinfo futimes \
701
	bcopy bindresvport_sa clock fchmod fchown freeaddrinfo futimes \
717
	gai_strerror getaddrinfo getcwd getgrouplist getnameinfo getopt \
702
	getaddrinfo getcwd getgrouplist getnameinfo getopt \
718
	getpeereid _getpty getrlimit getttyent glob inet_aton \
703
	getpeereid _getpty getrlimit getttyent glob inet_aton \
719
	inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove \
704
	inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove \
720
	mkdtemp mmap ngetaddrinfo nsleep ogetaddrinfo openlog_r openpty \
705
	mkdtemp mmap ngetaddrinfo nsleep ogetaddrinfo openlog_r openpty \
Lines 725-730 Link Here
725
	strlcat strlcpy strmode strnvis sysconf tcgetpgrp \
710
	strlcat strlcpy strmode strnvis sysconf tcgetpgrp \
726
	truncate utimes vhangup vsnprintf waitpid \
711
	truncate utimes vhangup vsnprintf waitpid \
727
)
712
)
713
714
# IRIX has a const char return value for gai_strerror()
715
AC_CHECK_FUNCS(gai_strerror,[
716
	AC_DEFINE(HAVE_GAI_STRERROR)
717
	AC_TRY_COMPILE([
718
#include <sys/types.h>
719
#include <sys/socket.h>
720
#include <netdb.h>
721
722
const char *gai_strerror(int);],[
723
char *str;
724
725
str = gai_strerror(0);],[
726
		AC_DEFINE(HAVE_CONST_GAI_STRERROR_PROTO, 1,
727
		[Define if gai_strerror() returns const char *])])])
728
728
729
AC_SEARCH_LIBS(nanosleep, rt posix4, AC_DEFINE(HAVE_NANOSLEEP))
729
AC_SEARCH_LIBS(nanosleep, rt posix4, AC_DEFINE(HAVE_NANOSLEEP))
730
730
(-)openbsd-compat/fake-rfc2553.h.orig (-1 / +1 lines)
Lines 137-143 Link Here
137
    const struct addrinfo *, struct addrinfo **);
137
    const struct addrinfo *, struct addrinfo **);
138
#endif /* !HAVE_GETADDRINFO */
138
#endif /* !HAVE_GETADDRINFO */
139
139
140
#ifndef HAVE_GAI_STRERROR
140
#if !defined(HAVE_GAI_STRERROR) && !defined(HAVE_CONST_GAI_STRERROR_PROTO)
141
char *gai_strerror(int);
141
char *gai_strerror(int);
142
#endif /* !HAVE_GAI_STRERROR */
142
#endif /* !HAVE_GAI_STRERROR */
143
143
(-)openbsd-compat/fake-rfc2553.c.orig (+4 lines)
Lines 77-83 Link Here
77
#endif /* !HAVE_GETNAMEINFO */
77
#endif /* !HAVE_GETNAMEINFO */
78
78
79
#ifndef HAVE_GAI_STRERROR
79
#ifndef HAVE_GAI_STRERROR
80
#ifdef HAVE_CONST_GAI_STRERROR_PROTO
81
const char *
82
#else
80
char *
83
char *
84
#endif
81
gai_strerror(int err)
85
gai_strerror(int err)
82
{
86
{
83
	switch (err) {
87
	switch (err) {

Return to bug 659