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
Provide an actual patch then.
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.
go and use 2.3.3a.