The build fails on 4.6.2-RELEASE because in.h requires types.h. Fix: Not tested on -current. How-To-Repeat: # make (snip) cc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"GeoIP\" -DVERSION=\"1.0.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_GETHOSTBYNAME=1 -DDEFAULT_DBDIR=\"/usr/local/share/GeoIP\" -I. -I. -DDATADIR=\"/usr/local/share/GeoIP\" -Wall -O -pipe -c GeoIPUpdate.c -Wp,-MD,.deps/GeoIPUpdate.TPlo -fPIC -DPIC -o .libs/GeoIPUpdate.lo In file included from GeoIPUpdate.c:24: /usr/include/netinet/in.h:233: syntax error before `in_addr_t' /usr/include/netinet/in.h:285: syntax error before `u_char' In file included from /usr/include/netinet/in.h:467, from GeoIPUpdate.c:24: /usr/include/netinet6/in6.h:122: syntax error before `u_int8_t' /usr/include/netinet6/in6.h:144: syntax error before `u_int8_t' /usr/include/netinet6/in6.h:149: syntax error before `u_int32_t' /usr/include/netinet6/in6.h:612: syntax error before `*' /usr/include/netinet6/in6.h:614: syntax error before `*' /usr/include/netinet6/in6.h:614: warning: data definition has no type or storage class /usr/include/netinet6/in6.h:615: syntax error before `u_int8_t' /usr/include/netinet6/in6.h:616: syntax error before `u_int8_t' /usr/include/netinet6/in6.h:631: syntax error before `u_int8_t' /usr/include/netinet6/in6.h:636: syntax error before `u_int8_t' /usr/include/netinet6/in6.h:638: syntax error before `u_int8_t' GeoIPUpdate.c: In function `GeoIP_update_database': GeoIPUpdate.c:96: structure has no member named `sin_port' GeoIPUpdate.c:98: structure has no member named `sin_family' *** Error code 1 Stop in /sack/tmp/pub/ports/misc/GeoIP/work/GeoIP-1.0.8/libGeoIP. *** Error code 1 Stop in /sack/tmp/pub/ports/misc/GeoIP/work/GeoIP-1.0.8. *** Error code 1 Stop in /pub/ports/misc/GeoIP.
Responsible Changed From-To: freebsd-ports->seanc over to maintainer
State Changed From-To: open->closed Patch committed and sent to GeoIP author, thank you.