]> git.pld-linux.org Git - packages/lynx.git/blob - lynx-pld.patch
- updated gettext BR
[packages/lynx.git] / lynx-pld.patch
1 --- lynx2-8-7/userdefs.h~       2009-06-07 02:30:35.000000000 +0200
2 +++ lynx2-8-7/userdefs.h        2009-07-06 13:41:28.000000000 +0200
3 @@ -105,7 +105,7 @@
4   * mailcap files (see the examples in the samples directory).
5   */
6  #ifndef LYNX_CFG_FILE
7 -#define LYNX_CFG_FILE "Lynx_Dir:lynx.cfg"
8 +#define LYNX_CFG_FILE "/usr/share/lynx/lynx.cfg"
9  #endif /* LYNX_CFG_FILE */
10  
11  /**************************
12 @@ -115,8 +115,8 @@
13   * Mappings in these global and personal files override any SUFFIX
14   * definitions in lynx.cfg and built-in defaults from src/HTInit.c.
15   */
16 -#define GLOBAL_EXTENSION_MAP "Lynx_Dir:mime.types"
17 -#define PERSONAL_EXTENSION_MAP "mime.types"
18 +#define GLOBAL_EXTENSION_MAP "/etc/mime.types"
19 +#define PERSONAL_EXTENSION_MAP ".mime.types"
20  
21  /**************************
22   * The MAILCAP file allows you to map file MIME types to
23 @@ -125,7 +125,7 @@
24   * Mappings in these global and personal files override any VIEWER
25   * definitions in lynx.cfg and built-in defaults from src/HTInit.c.
26   */
27 -#define GLOBAL_MAILCAP "Lynx_Dir:mailcap"
28 +#define GLOBAL_MAILCAP "/etc/mailcap"
29  #define PERSONAL_MAILCAP ".mailcap"
30  
31  /**************************
32 @@ -289,7 +289,7 @@
33  #ifdef DOSPATH
34  #define LYNX_CFG_FILE "./lynx.cfg"
35  #else
36 -#define LYNX_CFG_FILE "/usr/local/lib/lynx.cfg"
37 +#define LYNX_CFG_FILE "/usr/share/lynx/lynx.cfg"
38  #endif /* DOSPATH */
39  #endif /* LYNX_CFG_FILE */
40  #endif /* HAVE_CONFIG_H */
41 @@ -305,8 +305,8 @@
42   * Mappings in these global and personal files override any SUFFIX
43   * definitions in lynx.cfg and built-in defaults from src/HTInit.c.
44   */
45 -#define GLOBAL_EXTENSION_MAP MIME_LIBDIR "mime.types"
46 -#define PERSONAL_EXTENSION_MAP "~/.mime.types"
47 +#define GLOBAL_EXTENSION_MAP "/etc/mime.types"
48 +#define PERSONAL_EXTENSION_MAP ".mime.types"
49  
50  /**************************
51   * The MAILCAP file allows you to map file MIME types to
52 @@ -315,8 +315,8 @@
53   * Mappings in these global and personal files override any VIEWER
54   * definitions in lynx.cfg and built-in defaults from src/HTInit.c.
55   */
56 -#define GLOBAL_MAILCAP MIME_LIBDIR "mailcap"
57 -#define PERSONAL_MAILCAP "~/.mailcap"
58 +#define GLOBAL_MAILCAP "/etc/mailcap"
59 +#define PERSONAL_MAILCAP ".mailcap"
60  
61  /**************************
62   * XLOADIMAGE_COMMAND will be used as a default in src/HTInit.c for
63 @@ -445,7 +445,7 @@
64   * -lss command line switch will override these definitions.
65   */
66  #ifndef LYNX_LSS_FILE
67 -#define LYNX_LSS_FILE "/usr/local/lib/lynx.lss"
68 +#define LYNX_LSS_FILE "/usr/share/lynx/lynx.lss"
69  #endif /* LYNX_LSS_FILE */
70  
71  #endif /* VMS OR UNIX */
72 @@ -1156,7 +1156,7 @@
73   * OSU server distribution.
74   */
75  #ifndef HAVE_CONFIG_H
76 -/* #define LYNXCGI_LINKS */
77 +#define LYNXCGI_LINKS
78  #endif
79  
80  /*********************************
This page took 0.051521 seconds and 3 git commands to generate.