Date: Thu, 18 Jan 2007 13:09:11 GMT From: Cristian KLEIN<cristi@net.utcluj.ro> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/108084: net/openradius won't compile Message-ID: <200701181309.l0ID9BVg010411@www.freebsd.org> Resent-Message-ID: <200701181310.l0IDAN8D025077@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 108084 >Category: ports >Synopsis: net/openradius won't compile >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 18 13:10:23 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Cristian KLEIN >Release: FreeBSD 5.4 >Organization: >Environment: FreeBSD bavaria.utcluj.ro 5.4-RELEASE-p13 FreeBSD 5.4-RELEASE-p13 #0: Tue Mar 28 16:16:32 EEST 2006 cristiklein@bavaria.utcluj.ro:/usr/obj/usr/src/sys/BAVARIA i386 >Description: The original source file "common/constants.h" uses LONG_MAX in several places, but forgets to include <limits.h>, so that this constant is declared. The result is that, when compiled with LDAP support, "make build" fails at "modules/radldap/radldap.c". >How-To-Repeat: cd /usr/ports/net/openradius make config <choose LDAP support> make >Fix: Add the following file, named "patch-limits" to the "ports/net/openradius/files". Sorry for not attaching this file, but send-pr complains about it. --- common/constants.h.orig Thu Mar 23 18:15:07 2006 +++ common/constants.h Thu Jan 18 14:57:54 2007 @@ -16,6 +16,8 @@ * 2003/06/23 - EvB - Added constants needed for accept/reject/acctresp ops. */ +/* Required for LONG_MAX */ +#include <limits.h> /* * DEFINES >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701181309.l0ID9BVg010411>