ports/net/freeradius-client/files/patch-configure.in
Dima Panov 16b08b0223 net/freeradius-client: unbreak fetch, update to 1.1.7 release
Maintainer didn't unbreak the port over 3 months since it was marked unfetchable,
version 1.1.7 was released 26.05.2017

Approved by:	maintainer (timeout)
MFH:		2020Q1
2020-02-24 15:12:22 +00:00

17 lines
661 B
Text

--- configure.in.orig 2015-01-19 16:18:26 UTC
+++ configure.in
@@ -66,14 +66,6 @@ dnl http://h30097.www3.hp.com/docs/base_doc/DOCUME
dnl We need #stdio.h to define NULL on FreeBSD (at least)
gethostbyaddrrstyle=""
AC_MSG_CHECKING([gethostbyaddr_r() syntax])
-case "$host" in
-*-freebsd*)
- AC_DEFINE([GETHOSTBYADDR_R], [], [Define to 1 us gethostbyaddr_r()])
- AC_DEFINE([GETHOSTBYADDRRSTYLE_BSD], [], [Define to 1 to use bsd-style gethostbyaddr_r()])
- gethostbyaddrrstyle=BSD
- AC_MSG_WARN([FreeBSD overridden to BSD-style])
- ;;
-esac
if test "x$gethostbyaddrrstyle" = "x"; then
AC_TRY_LINK([
#include <stdio.h>