# cd /usr/ports/japanese/gn-gnspool/ # make (snip) client.c: In function `get_tcp_socket': client.c:721: conflicting types for `__inet_addr' /usr/include/arpa/inet.h:87: previous declaration of `__inet_addr' client.c:721: warning: extern declaration of `__inet_addr' doesn't match global one *** Error code 1 Fix: I tried following patch... I successed compile the ports. --h47I7MkQ071282.1052330855/sado.kariyata.org----NHbmW7kFTdnyu3W0YxMdNjqY4Ni8lxk0O0aeDUjcZiuVAPyh Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- client.c.orig Sat May 2 11:11:26 1998 +++ client.c Sat May 3 20:13:18 2003 @@ -718,7 +718,7 @@ # ifndef ESPX # ifndef WIN32 # ifndef linux - unsigned long inet_addr(); + in_addr_t inet_addr(); # endif /* (!linux) */ # endif /* (!WIN32) */ # endif /* (!ESPX) */
State Changed From-To: open->closed Commited, thanks!