Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229347 - net-firewall/ipset-2.3.1.20080612 needs patches to compile with gcc-4.3.1
Summary: net-firewall/ipset-2.3.1.20080612 needs patches to compile with gcc-4.3.1
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-25 08:53 UTC by Adrian Bassett
Modified: 2008-08-14 00:06 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Bassett 2008-06-25 08:53:07 UTC
As it stands ipset-2.3.1-20080612 needs patching before it will compile with gcc 4.3.1.

#include <limits.h> added to the following files in ipset-2.3.1 fixes things:

ipset_iphash.c
ipset_ipporthash.c
ipset_iptree.c
ipset_iptreemap.c
ipset_nethash.c





Reproducible: Always

Steps to Reproduce:
1.emerge ipset with gcc-4.3.1
2.
3.

Actual Results:  
Build fails
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-06-25 18:51:20 UTC
Provide an actual patch then.
Comment 2 Francesco Riosa 2008-08-01 15:46:17 UTC
http://ipset.netfilter.org/ipset-2.3.3a.tar.bz2
Include the patch needed, relevant Changelog attached

[2.3.3]
 - compatibility for the 2.6.x kernel tree improved and compiler warnings
   fixed (Jan Engelhardt)
 - compatibility fixes for the 2.4.36.x kernel tree added

[2.3.2]
 - including limits.h for UINT_MAX is required with glibc-2.8 (pud)
 - needless cast from and to void pointers cleanups in iptreemap (Sven Wegener)
 - Initial ipset release with kernel modules included.

Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-08-14 00:06:56 UTC
go and use 2.3.3a.