Re: [Lynx-dev] Compiling 2.8.5 in Mac 10.4

2006-01-15 Thread Thomas Dickey
On Sun, Jan 15, 2006 at 12:21:56PM -0600, José H. Espinosa wrote:
 Hi,
 
 I tried to compile lynx 2.8.5 in Mac 10.4 and I get the following error:
 
 ../../../WWW/Library/Implementation/HTTCP.c: In function 'HTParseInet':
 ../../../WWW/Library/Implementation/HTTCP.c:1329: error: 'struct  
 hostent' has no member named 'h_addr'
 
 Is this a know problem?

yes - it's fixed in one of the development versions from last fall.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


___
Lynx-dev mailing list
Lynx-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/lynx-dev


[Lynx-dev] Compiling 2.8.5 in Mac 10.4

2006-01-15 Thread José H . Espinosa

Hi,

I tried to compile lynx 2.8.5 in Mac 10.4 and I get the following error:

../../../WWW/Library/Implementation/HTTCP.c: In function 'HTParseInet':
../../../WWW/Library/Implementation/HTTCP.c:1329: error: 'struct  
hostent' has no member named 'h_addr'


Is this a know problem?

I looked around, and it seems to be a problem on the way Apple define  
hostent.  And I patch the system as shown on the attachment, and it  
compiles and runs.


Is the patch OK or I am overlooking something?

Thanks,
Jose



mac-10.4.patch
Description: Binary data


___
Lynx-dev mailing list
Lynx-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/lynx-dev