[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LYNX-DEV To anyone to whom this may be useful..
From: |
D'Archangel |
Subject: |
LYNX-DEV To anyone to whom this may be useful.. |
Date: |
Sat, 13 Dec 1997 04:45:42 -0500 (EST) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Just the changes I made to the Lynx sources (2.7.1, dated 4/4/97 afaict)
to make them compile on my Linux system. I'm running kernel 2.0.32 and
glibc-2.0.5.
1.) sys_errlist already defined in stdio.h
WWW/Library/Implementation/HTTCP.c defines sys_errlist if it thinks that
it's not defined yet. Unfortunately, it thought wrong in my case.
Throwing an #ifndef LINUX around it solves the problem. Or, in diff
format:
*** HTTCP.c Sat Dec 13 04:26:11 1997
- --- HTTCP.c Sat Dec 13 04:02:41 1997
***************
*** 108,115 ****
- --- 108,117 ----
#ifndef __NetBSD__
#ifndef __FreeBSD__
#ifndef BSDI
+ #ifndef LINUX
extern char *sys_errlist[]; /* see man perror on cernvax */
extern int sys_nerr;
+ #endif LINUX
#endif /* BSDI */
#endif /* !__FreeBSD__ */
#endif /* !__NetBSD__ */
Simple enough.
2.) Uhh.. nevermind. That's the only change I had to make.
Hope this helps someone somewhere sometime. :)
- -- D'A
/--------------------------------------------------------------------------\
| D'Archangel -- address@hidden | "Lenses polarize." -- Neil Peart |
| http://darchangel.home.ml.org | There is no fnord here. |
- ----------------------------------------------------------------------------
| Join the fight against spam! http://www.cauce.org |
\--------------------------------------------------------------------------/
-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv
iQA/AwUBNJJZU41ZLrAsUSLLEQK/AwCgl1kV4Te6/EqKhz/IZh4o3I7RZ1cAn0ww
6KyHHdgc+obGH4GZ+ofmvzA8
=ScdT
-----END PGP SIGNATURE-----
- LYNX-DEV To anyone to whom this may be useful..,
D'Archangel <=