]> git.pld-linux.org Git - packages/lynx.git/blame - lynx-pld.patch
- updated gettext BR
[packages/lynx.git] / lynx-pld.patch
CommitLineData
6d969959 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 @@
69a2d9a7
AF
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"
201daeb8 8+#define LYNX_CFG_FILE "/usr/share/lynx/lynx.cfg"
69a2d9a7
AF
9 #endif /* LYNX_CFG_FILE */
10
11 /**************************
6d969959 12@@ -115,8 +115,8 @@
201daeb8
AF
13 * Mappings in these global and personal files override any SUFFIX
14 * definitions in lynx.cfg and built-in defaults from src/HTInit.c.
69a2d9a7
AF
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
6d969959 23@@ -125,7 +125,7 @@
201daeb8
AF
24 * Mappings in these global and personal files override any VIEWER
25 * definitions in lynx.cfg and built-in defaults from src/HTInit.c.
69a2d9a7
AF
26 */
27-#define GLOBAL_MAILCAP "Lynx_Dir:mailcap"
28+#define GLOBAL_MAILCAP "/etc/mailcap"
29 #define PERSONAL_MAILCAP ".mailcap"
30
31 /**************************
6d969959 32@@ -289,7 +289,7 @@
69a2d9a7
AF
33 #ifdef DOSPATH
34 #define LYNX_CFG_FILE "./lynx.cfg"
35 #else
36-#define LYNX_CFG_FILE "/usr/local/lib/lynx.cfg"
201daeb8 37+#define LYNX_CFG_FILE "/usr/share/lynx/lynx.cfg"
69a2d9a7
AF
38 #endif /* DOSPATH */
39 #endif /* LYNX_CFG_FILE */
40 #endif /* HAVE_CONFIG_H */
6d969959 41@@ -305,8 +305,8 @@
201daeb8
AF
42 * Mappings in these global and personal files override any SUFFIX
43 * definitions in lynx.cfg and built-in defaults from src/HTInit.c.
69a2d9a7 44 */
6d969959 45-#define GLOBAL_EXTENSION_MAP MIME_LIBDIR "mime.types"
46-#define PERSONAL_EXTENSION_MAP "~/.mime.types"
69a2d9a7 47+#define GLOBAL_EXTENSION_MAP "/etc/mime.types"
6d969959 48+#define PERSONAL_EXTENSION_MAP ".mime.types"
69a2d9a7
AF
49
50 /**************************
6d969959 51 * The MAILCAP file allows you to map file MIME types to
52@@ -315,8 +315,8 @@
201daeb8
AF
53 * Mappings in these global and personal files override any VIEWER
54 * definitions in lynx.cfg and built-in defaults from src/HTInit.c.
69a2d9a7 55 */
6d969959 56-#define GLOBAL_MAILCAP MIME_LIBDIR "mailcap"
57-#define PERSONAL_MAILCAP "~/.mailcap"
69a2d9a7 58+#define GLOBAL_MAILCAP "/etc/mailcap"
6d969959 59+#define PERSONAL_MAILCAP ".mailcap"
69a2d9a7
AF
60
61 /**************************
6d969959 62 * XLOADIMAGE_COMMAND will be used as a default in src/HTInit.c for
63@@ -445,7 +445,7 @@
201daeb8
AF
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 */
6d969959 72@@ -1156,7 +1156,7 @@
69a2d9a7
AF
73 * OSU server distribution.
74 */
06853e0b 75 #ifndef HAVE_CONFIG_H
69a2d9a7 76-/* #define LYNXCGI_LINKS */
6d969959 77+#define LYNXCGI_LINKS
06853e0b 78 #endif
201daeb8 79
06853e0b 80 /*********************************
This page took 0.039381 seconds and 4 git commands to generate.