Bug 43807 - Update port: misc/GeoIP (fix build)
Summary: Update port: misc/GeoIP (fix build)
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: Sean Chittenden
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-08 03:20 UTC by Kimura Fuyuki
Modified: 2002-10-09 05:37 UTC (History)
0 users

See Also:


Attachments
file.diff (533 bytes, patch)
2002-10-08 03:20 UTC, Kimura Fuyuki
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kimura Fuyuki 2002-10-08 03:20:06 UTC
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.
Comment 1 Ying-Chieh Liao freebsd_committer freebsd_triage 2002-10-08 04:35:23 UTC
Responsible Changed
From-To: freebsd-ports->seanc

over to maintainer
Comment 2 Sean Chittenden freebsd_committer freebsd_triage 2002-10-09 05:36:03 UTC
State Changed
From-To: open->closed

Patch committed and sent to GeoIP author, thank you.