patch-userdefs_h 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. $Id$
  2. $MirOS: ports/www/lynx/patches/patch-userdefs_h,v 1.9 2007/08/03 12:14:24 tg Exp $
  3. --- lynx2-8-7.orig/userdefs.h 2007-08-03 01:24:27.000000000 +0200
  4. +++ lynx2-8-7/userdefs.h 2009-06-13 11:46:29.000000000 +0200
  5. @@ -461,7 +461,7 @@
  6. * Normally we expect you will connect to a remote site, e.g., the Lynx starting
  7. * site:
  8. */
  9. -#define STARTFILE "http://lynx.isc.org/"
  10. +/* #define STARTFILE "http://lynx.isc.org/" */
  11. /*
  12. * As an alternative, you may want to use a local URL. A good choice for this
  13. * is the user's home directory:
  14. @@ -471,6 +471,7 @@
  15. * you can connect to reliably. Otherwise users will become confused and think
  16. * that they cannot run Lynx.
  17. */
  18. +#define STARTFILE "file://localhost/~/"
  19. /*****************************
  20. * HELPFILE must be defined as a URL and must have a
  21. @@ -727,7 +728,7 @@
  22. * that preference in their RC file. This may be a comma-separated list
  23. * of languages in decreasing preference.
  24. */
  25. -#define PREFERRED_LANGUAGE "en"
  26. +#define PREFERRED_LANGUAGE ""
  27. /*****************************
  28. * PREFERRED_CHARSET specifies the character set in MIME notation (e.g.,
  29. @@ -802,8 +803,8 @@
  30. * and use "http://" as the default (e.g., gopher.wfbr.edu or gopher.wfbr.
  31. * will be made gopher://gopher.wfbr.edu).
  32. */
  33. -#define URL_DOMAIN_PREFIXES "www."
  34. -#define URL_DOMAIN_SUFFIXES ".com,.edu,.net,.org"
  35. +#define URL_DOMAIN_PREFIXES ""
  36. +#define URL_DOMAIN_SUFFIXES ""
  37. /********************************
  38. * If LIST_NEWS_NUMBERS is set TRUE, Lynx will use an ordered list
  39. @@ -1371,7 +1372,9 @@
  40. * the version definition with the Project Version on checkout. Just
  41. * ignore it. - kw */
  42. /* $Format: "#define LYNX_VERSION \"$ProjectVersion$\""$ */
  43. +#ifndef LYNX_VERSION
  44. #define LYNX_VERSION "2.8.7dev.7"
  45. +#endif
  46. #define LYNX_WWW_HOME "http://lynx.isc.org/"
  47. #define LYNX_WWW_DIST "http://lynx.isc.org/current/"
  48. /* $Format: "#define LYNX_DATE \"$ProjectDate$\""$ */
  49. @@ -1559,11 +1562,11 @@
  50. /*****************************
  51. * Uncomment the following line to enable the kanji code override routine.
  52. - * The code can be changed by pressing ^L. More precisely, this allows
  53. + * The code can be changed by pressing Shift-J. More precisely, this allows
  54. * the user to override the assumption about the kanji code for the document
  55. * which Lynx has made on the basis of a META tag and HTTP response.
  56. */
  57. -/*#define KANJI_CODE_OVERRIDE */
  58. +#define KANJI_CODE_OVERRIDE
  59. /****************************************************************