/[packages]/cauldron/lynx/current/SOURCES/lynx2-8-7-adapt-to-modern-file-localizations.patch
ViewVC logotype

Contents of /cauldron/lynx/current/SOURCES/lynx2-8-7-adapt-to-modern-file-localizations.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 626 - (show annotations) (download)
Sat Jan 8 14:30:35 2011 UTC (13 years, 2 months ago) by blino
File size: 1428 byte(s)
imported package lynx
1 --- lynx2-8-7/userdefs.h.orig 2009-06-07 02:30:35.000000000 +0200
2 +++ lynx2-8-7/userdefs.h 2010-01-03 14:41:42.000000000 +0100
3 @@ -115,8 +115,8 @@
4 * Mappings in these global and personal files override any SUFFIX
5 * definitions in lynx.cfg and built-in defaults from src/HTInit.c.
6 */
7 -#define GLOBAL_EXTENSION_MAP "Lynx_Dir:mime.types"
8 -#define PERSONAL_EXTENSION_MAP "mime.types"
9 +#define GLOBAL_EXTENSION_MAP "/etc/mime.types"
10 +#define PERSONAL_EXTENSION_MAP ".mime.types"
11
12 /**************************
13 * The MAILCAP file allows you to map file MIME types to
14 @@ -125,7 +125,7 @@
15 * Mappings in these global and personal files override any VIEWER
16 * definitions in lynx.cfg and built-in defaults from src/HTInit.c.
17 */
18 -#define GLOBAL_MAILCAP "Lynx_Dir:mailcap"
19 +#define GLOBAL_MAILCAP "/etc/mailcap"
20 #define PERSONAL_MAILCAP ".mailcap"
21
22 /**************************
23 --- lynx2-8-7/lynx.cfg.orig 2009-06-24 01:53:58.000000000 +0200
24 +++ lynx2-8-7/lynx.cfg 2010-01-03 14:41:42.000000000 +0100
25 @@ -12,7 +12,7 @@
26 # Definition pairs are of the form VARIABLE:DEFINITION
27 # NO spaces are allowed between the pair items.
28 #
29 -# If you do not have write access to /usr/local/lib you may change
30 +# If you do not have write access to /usr/bin you may change
31 # the default location of this file in the userdefs.h file and recompile,
32 # or specify its location on the command line with the "-cfg"
33 # command line option.

  ViewVC Help
Powered by ViewVC 1.1.30