File lynx-2.8.5.dif of Package lynx
Index: lynx2-8-7/WWW/Library/Implementation/HTAccess.c
===================================================================
--- lynx2-8-7.orig/WWW/Library/Implementation/HTAccess.c
+++ lynx2-8-7/WWW/Library/Implementation/HTAccess.c
@@ -509,6 +509,9 @@ static int get_physical(const char *addr
else
sprintf(gateway_parameter, "%s_proxy", acc_method);
proxy = LYGetEnv(gateway_parameter);
+ if (proxy)
+ if (*proxy == '\0')
+ proxy = NULL;
FREE(gateway_parameter);
if (gateway)
Index: lynx2-8-7/lynx.cfg
===================================================================
--- lynx2-8-7.orig/lynx.cfg
+++ lynx2-8-7/lynx.cfg
@@ -93,7 +93,7 @@
#
# Normally we expect you will connect to a remote site, e.g., the Lynx starting
# site:
-STARTFILE:http://lynx.isc.org/
+STARTFILE:file://localhost/usr/share/doc/packages/lynx/lynx_help/lynx_help_main.html
#
# As an alternative, you may want to use a local URL. A good choice for this is
# the user's home directory:
@@ -118,9 +118,9 @@ STARTFILE:http://lynx.isc.org/
# This definition will be overridden if the "LYNX_HELPFILE" environment
# variable has been set.
#
-HELPFILE:http://lynx.isc.org/release/lynx2-8-7/lynx_help/lynx_help_main.html
+HELPFILE:file://localhost/usr/share/doc/packages/lynx/lynx_help/lynx_help_main.html
.ex
-#HELPFILE:file://localhost/PATH_TO/lynx_help/lynx_help_main.html
+#HELPFILE:http://lynx.isc.org/release/lynx2-8-7/lynx_help/lynx_help_main.html
.h2 DEFAULT_INDEX_FILE
Index: lynx2-8-7/makefile.in
===================================================================
--- lynx2-8-7.orig/makefile.in
+++ lynx2-8-7/makefile.in
@@ -14,7 +14,7 @@ builddir = .
VPATH = $(srcdir)
CC = @CC@
-CFLAGS = @CFLAGS@
+CFLAGS = @CFLAGS@ $(EXTRAA)
DEFS = @DEFS@
CPPFLAGS = @CPPFLAGS@
LINT = @LINT@