ports/97328: [maintainer-update] net-mgmt/nagios: Update to Nagios 2.3.1
Jarrod Sayers
jarrod at netleader.com.au
Sat May 20 16:41:36 UTC 2006
Sam,
I believe I have located the problem. The declaration of INT_MAX
appears in limits.h which is not directly included anywhere in the
distribution, though is tested by the configure script. From what I
can see, limits.h has worked its way in from the inclusion of
pthread.h inside ${WRKSRC}/include/config.h.in on earlier FreeBSD
releases (this build of Nagios is the first to use INT_MAX).
The pthread.h found on -CURRENT installations does not include this,
but includes machine/_limits.h instead which, following those
#includes, doesn't end up with a declaration for INT_MAX.
I have updated the diff (use URL below) to include a patch to add a
manual (and hopefully temporary) #include <limits.h> where needed to
replicate previous behavior:
http://www.netleader.com.au/~jarrod/FreeBSD/net-mgmt-nagios-2.3.1-
pthread.diff
Files Modified:
- ports/net-mgmt/nagios/Makefile
- ports/net-mgmt/nagios/distinfo
Files Added:
- ports/net-mgmt/nagios/files/patch-cgi__getcgi.c
Thanks for spotting that, I have since added a -CURRENT machine into
our build pool.
Jarrod.
More information about the freebsd-ports-bugs
mailing list