Bug 108084 - net/openradius won't compile
Summary: net/openradius won't compile
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Babak Farrokhi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-18 13:10 UTC by Cristian KLEIN
Modified: 2007-01-19 12:04 UTC (History)
0 users

See Also:


Attachments
file.diff (271 bytes, patch)
2007-01-18 13:10 UTC, Cristian KLEIN
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Cristian KLEIN 2007-01-18 13:10:23 UTC
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".

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.
How-To-Repeat: cd /usr/ports/net/openradius
make config
<choose LDAP support>
make
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-01-18 13:10:32 UTC
Responsible Changed
From-To: freebsd-ports-bugs->farrokhi

Over to maintainer
Comment 2 dfilter service freebsd_committer freebsd_triage 2007-01-19 11:52:41 UTC
miwi        2007-01-19 11:52:35 UTC

  FreeBSD ports repository

  Added files:
    net/openradius/files patch-constants.h 
  Log:
  - Fix build
  
  PR:             ports/108084
  Submitted by:   Cristian KLEIN<cristi@net.utcluj.ro>
  Approved by:    maintainer (implicit)
  
  Revision  Changes    Path
  1.1       +12 -0     ports/net/openradius/files/patch-constants.h (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2007-01-19 12:04:28 UTC
State Changed
From-To: open->closed

Committed. Thanks!