ports/www/lynx/patches/patch-userdefs_h

34 lines
1.2 KiB
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
--- userdefs.h.orig Mon Apr 11 02:42:17 2016
+++ userdefs.h Sun Jun 5 00:31:29 2016
@@ -129,8 +129,8 @@
* Mappings in these global and personal files override any VIEWER
* definitions in lynx.cfg and built-in defaults from src/HTInit.c.
*/
-#define GLOBAL_MAILCAP "Lynx_Dir:mailcap"
-#define PERSONAL_MAILCAP ".mailcap"
+#define GLOBAL_MAILCAP "/dev/null"
+#define PERSONAL_MAILCAP "/dev/null"
/**************************
* XLOADIMAGE_COMMAND will be used as a default in src/HTInit.c
@@ -327,8 +327,8 @@
* Mappings in these global and personal files override any VIEWER
* definitions in lynx.cfg and built-in defaults from src/HTInit.c.
*/
-#define GLOBAL_MAILCAP MIME_LIBDIR "mailcap"
-#define PERSONAL_MAILCAP "~/.mailcap"
+#define GLOBAL_MAILCAP "/dev/null"
+#define PERSONAL_MAILCAP "/dev/null"
/**************************
* XLOADIMAGE_COMMAND will be used as a default in src/HTInit.c for
@@ -345,7 +345,7 @@
* use any default viewers for image types. Note that open is used as
* the default for NeXT, instead of the XLOADIMAGE_COMMAND definition.
*/
-#define XLOADIMAGE_COMMAND "xli %s &"
+#define XLOADIMAGE_COMMAND NULL
/**************************
* For UNIX systems, SYSTEM_MAIL and SYSTEM_MAIL_FLAGS are set by the