Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 530080 | Differences between
and this patch

Collapse All | Expand All

(-)a/configure.ac (-2 / +4 lines)
Lines 24-37 if test "x$enable_ipv6" != xno; then Link Here
24
fi
24
fi
25
25
26
AC_PROG_CC
26
AC_PROG_CC
27
m4_pattern_allow(AM_CONFIG_HEADERS(config.h))
27
AC_CONFIG_HEADERS([config.h])
28
AC_PROG_LIBTOOL
28
AC_PROG_LIBTOOL
29
AC_HEADER_DIRENT
29
AC_HEADER_DIRENT
30
AC_PREFIX_DEFAULT(/usr)
30
AC_PREFIX_DEFAULT(/usr)
31
AC_CHECK_HEADERS([arpa/inet.h fcntl.h libintl.h limits.h locale.h netdb.h netinet/in.h stddef.h stdint.h stdlib.h string.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h syslog.h unistd.h])
31
AC_CHECK_HEADERS([arpa/inet.h fcntl.h libintl.h limits.h locale.h netdb.h netinet/in.h stddef.h stdint.h stdlib.h string.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h syslog.h unistd.h])
32
AC_CHECK_LIB([pthread], [pthread_create])
32
AC_CHECK_LIB([pthread], [pthread_create])
33
AC_CHECK_LIB([nsl], [yp_get_default_domain])
33
AC_CHECK_LIB([nsl], [yp_get_default_domain])
34
34
AC_CHECK_FUNCS([getrpcbyname getrpcbynumber])
35
35
36
AC_CONFIG_FILES([Makefile src/Makefile man/Makefile doc/Makefile])
36
AC_CONFIG_FILES([Makefile src/Makefile man/Makefile doc/Makefile])
37
AC_OUTPUT(libtirpc.pc)
37
AC_OUTPUT(libtirpc.pc)
38
39
(-)a/src/getrpcent.c (-3 / +8 lines)
Lines 50-55 Link Here
50
#include <libc_private.h>
50
#include <libc_private.h>
51
#endif
51
#endif
52
52
53
#if HAVE_CONFIG_H
54
#include "config.h"
55
#endif
56
53
/*
57
/*
54
 * Internet version.
58
 * Internet version.
55
 */
59
 */
Lines 89-95 _rpcdata() Link Here
89
	return (d);
93
	return (d);
90
}
94
}
91
95
92
#ifdef GQ
96
#if !HAVE_GETRPCBYNYMBER
93
struct rpcent *
97
struct rpcent *
94
getrpcbynumber(number)
98
getrpcbynumber(number)
95
	int number;
99
	int number;
Lines 135-141 no_yp: Link Here
135
	endrpcent();
139
	endrpcent();
136
	return (p);
140
	return (p);
137
}
141
}
142
#endif /* !HAVE_GETRPCBYNUMBER */
138
143
144
#if !HAVE_GETRPCBYNAME
139
struct rpcent *
145
struct rpcent *
140
getrpcbyname(name)
146
getrpcbyname(name)
141
	const char *name;
147
	const char *name;
Lines 158-164 done: Link Here
158
	endrpcent();
164
	endrpcent();
159
	return (rpc);
165
	return (rpc);
160
}
166
}
161
#endif /* GQ */
167
#endif /* !HAVE_GETRPCBYNAME */
162
168
163
void
169
void
164
setrpcent(f)
170
setrpcent(f)
165
- 

Return to bug 530080