lynx2-8-7-adapt-to-modern-file-localizations.patch 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  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. * The MAILCAP file allows you to map file MIME types to
  13. @@ -125,7 +125,7 @@
  14. * Mappings in these global and personal files override any VIEWER
  15. * definitions in lynx.cfg and built-in defaults from src/HTInit.c.
  16. */
  17. -#define GLOBAL_MAILCAP "Lynx_Dir:mailcap"
  18. +#define GLOBAL_MAILCAP "/etc/mailcap"
  19. #define PERSONAL_MAILCAP ".mailcap"
  20. /**************************
  21. --- lynx2-8-7/lynx.cfg.orig 2009-06-24 01:53:58.000000000 +0200
  22. +++ lynx2-8-7/lynx.cfg 2010-01-03 14:41:42.000000000 +0100
  23. @@ -12,7 +12,7 @@
  24. # Definition pairs are of the form VARIABLE:DEFINITION
  25. # NO spaces are allowed between the pair items.
  26. #
  27. -# If you do not have write access to /usr/local/lib you may change
  28. +# If you do not have write access to /usr/bin you may change
  29. # the default location of this file in the userdefs.h file and recompile,
  30. # or specify its location on the command line with the "-cfg"
  31. # command line option.