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

Collapse All | Expand All

(-)a/configure.ac (-5 / +1 lines)
Lines 247-255 AC_CHECK_FUNC([connect], , Link Here
247
AC_CHECK_FUNC([getaddrinfo], ,
247
AC_CHECK_FUNC([getaddrinfo], ,
248
              [AC_MSG_ERROR([Function 'getaddrinfo' not found.])])
248
              [AC_MSG_ERROR([Function 'getaddrinfo' not found.])])
249
249
250
AC_CHECK_FUNC([getrpcbynumber], ,
251
              [AC_MSG_ERROR([Function 'getrpcbynumber' not found.])])
252
253
AC_CHECK_FUNC([getservbyname], ,
250
AC_CHECK_FUNC([getservbyname], ,
254
              [AC_MSG_ERROR([Function 'getservbyname' not found.])])
251
              [AC_MSG_ERROR([Function 'getservbyname' not found.])])
255
252
Lines 408-419 AC_FUNC_STAT Link Here
408
AC_FUNC_VPRINTF
405
AC_FUNC_VPRINTF
409
AC_CHECK_FUNCS([alarm atexit dup2 fdatasync ftruncate getcwd \
406
AC_CHECK_FUNCS([alarm atexit dup2 fdatasync ftruncate getcwd \
410
               gethostbyaddr gethostbyname gethostname getmntent \
407
               gethostbyaddr gethostbyname gethostname getmntent \
411
               getnameinfo getrpcbyname getifaddrs \
408
               getnameinfo getrpcbyname getrpcbynumber getrpcbynumber_r getifaddrs \
412
               gettimeofday hasmntopt inet_ntoa innetgr memset mkdir pathconf \
409
               gettimeofday hasmntopt inet_ntoa innetgr memset mkdir pathconf \
413
               ppoll realpath rmdir select socket strcasecmp strchr strdup \
410
               ppoll realpath rmdir select socket strcasecmp strchr strdup \
414
               strerror strrchr strtol strtoul sigprocmask])
411
               strerror strrchr strtol strtoul sigprocmask])
415
412
416
417
dnl *************************************************************
413
dnl *************************************************************
418
dnl Check for data sizes
414
dnl Check for data sizes
419
dnl *************************************************************
415
dnl *************************************************************
(-)a/support/nfs/svc_socket.c (-1 / +6 lines)
Lines 42-49 int getservport(u_long number, const char *proto) Link Here
42
	struct servent servbuf, *servp = NULL;
42
	struct servent servbuf, *servp = NULL;
43
	int ret;
43
	int ret;
44
44
45
#if HAVE_GETRPCBYNUMBER_R
45
	ret = getrpcbynumber_r(number, &rpcbuf, rpcdata, sizeof rpcdata,
46
	ret = getrpcbynumber_r(number, &rpcbuf, rpcdata, sizeof rpcdata,
46
				&rpcp);
47
				&rpcp);
48
#else
49
	rpcp = getrpcbynumber(number);
50
	ret = 0;
51
#endif
52
47
	if (ret == 0 && rpcp != NULL) {
53
	if (ret == 0 && rpcp != NULL) {
48
		/* First try name.  */
54
		/* First try name.  */
49
		ret = getservbyname_r(rpcp->r_name, proto, &servbuf, servdata,
55
		ret = getservbyname_r(rpcp->r_name, proto, &servbuf, servdata,
50
- 

Return to bug 532514