From 4670d5df0439de193c86b7cf4452d571da80ab31 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 2 Jun 2010 00:14:24 +0200 Subject: update to stable version, fix cross-compile on Cygwin --- .../patch-WWW_Library_Implementation_www_tcp_h | 17 -- package/lynx/patches/patch-config_hin | 15 -- package/lynx/patches/patch-lynx_cfg | 236 --------------------- package/lynx/patches/patch-makefile_in | 22 -- package/lynx/patches/patch-samples_lynx_lss | 15 -- package/lynx/patches/patch-src_LYUtils_c | 15 -- .../lynx/patches/patch-src_chrtrans_makefile_in | 11 - package/lynx/patches/patch-src_chrtrans_makeuctb_c | 21 +- package/lynx/patches/patch-userdefs_h | 65 ------ 9 files changed, 16 insertions(+), 401 deletions(-) delete mode 100644 package/lynx/patches/patch-WWW_Library_Implementation_www_tcp_h delete mode 100644 package/lynx/patches/patch-config_hin delete mode 100644 package/lynx/patches/patch-lynx_cfg delete mode 100644 package/lynx/patches/patch-makefile_in delete mode 100644 package/lynx/patches/patch-samples_lynx_lss delete mode 100644 package/lynx/patches/patch-src_LYUtils_c delete mode 100644 package/lynx/patches/patch-src_chrtrans_makefile_in delete mode 100644 package/lynx/patches/patch-userdefs_h (limited to 'package/lynx/patches') diff --git a/package/lynx/patches/patch-WWW_Library_Implementation_www_tcp_h b/package/lynx/patches/patch-WWW_Library_Implementation_www_tcp_h deleted file mode 100644 index 67bc96b3b..000000000 --- a/package/lynx/patches/patch-WWW_Library_Implementation_www_tcp_h +++ /dev/null @@ -1,17 +0,0 @@ ---- lynx2-8-7.orig/WWW/Library/Implementation/www_tcp.h 2007-08-03 01:24:27.000000000 +0200 -+++ lynx2-8-7/WWW/Library/Implementation/www_tcp.h 2009-06-13 12:34:28.000000000 +0200 -@@ -777,12 +777,14 @@ Defaults - #ifndef NO_IOCTL - #include /* EJB */ - #endif /* !NO_IOCTL */ -+#ifndef HOSTBUILD - #include - #include - #ifdef HAVE_ARPA_INET_H - #include /* Must be after netinet/in.h */ - #endif - #include -+#endif - #endif /* TCP includes */ - - typedef unsigned short PortNumber; diff --git a/package/lynx/patches/patch-config_hin b/package/lynx/patches/patch-config_hin deleted file mode 100644 index 3728e5f7a..000000000 --- a/package/lynx/patches/patch-config_hin +++ /dev/null @@ -1,15 +0,0 @@ -This will expand to -| #define ICONV_CONST AM_ICONV */ -otherwise. - ---- lynx2-8-7.orig/config.hin 2007-08-03 01:24:27.000000000 +0200 -+++ lynx2-8-7/config.hin 2009-06-13 11:46:29.000000000 +0200 -@@ -176,7 +176,7 @@ - #undef HAVE___ARGZ_COUNT /* AM_GNU_GETTEXT */ - #undef HAVE___ARGZ_NEXT /* AM_GNU_GETTEXT */ - #undef HAVE___ARGZ_STRINGIFY /* AM_GNU_GETTEXT */ --#undef ICONV_CONST /* AM_ICONV */ -+#undef ICONV_CONST - #undef IGNORE_CTRL_C /* FIXME: make tests? */ - #undef INCLUDE_PROTOTYPES /* CF_SOCKS5 */ - #undef INSTALL_ARGS /* CF_PATH_PROG(install) */ diff --git a/package/lynx/patches/patch-lynx_cfg b/package/lynx/patches/patch-lynx_cfg deleted file mode 100644 index f28c4aa1f..000000000 --- a/package/lynx/patches/patch-lynx_cfg +++ /dev/null @@ -1,236 +0,0 @@ -$Id$ -$MirOS: ports/www/lynx/patches/patch-lynx_cfg,v 1.7 2007/05/20 12:06:19 tg Exp $ - - mostly site policy and compatibility, usability - ---- lynx2-8-7.orig/lynx.cfg 2007-05-18 00:53:22.000000000 +0200 -+++ lynx2-8-7/lynx.cfg 2009-06-13 11:46:29.000000000 +0200 -@@ -93,12 +93,12 @@ - # - # Normally we expect you will connect to a remote site, e.g., the Lynx starting - # site: --STARTFILE:http://lynx.isc.org/ -+#STARTFILE:http://lynx.isc.org/ - # - # As an alternative, you may want to use a local URL. A good choice for this is - # the user's home directory: - .ex --#STARTFILE:file://localhost/~/ -+STARTFILE:file://localhost/~/ - # - # Your choice of STARTFILE should reflect your site's needs, and be a URL that - # you can connect to reliably. Otherwise users will become confused and think -@@ -409,7 +409,7 @@ DEFAULT_INDEX_FILE:http://lynx.isc.org/ - # values and their relationship to the locale value is not. GNU libiconv - # happens to give useful values, but other implementations are not guaranteed - # to do this. --#LOCALE_CHARSET:FALSE -+LOCALE_CHARSET:TRUE - - - .h2 ASSUME_CHARSET -@@ -424,7 +424,7 @@ DEFAULT_INDEX_FILE:http://lynx.isc.org/ - # ASSUME_CHARSET can also be changed via the 'o'ptions menu but will - # not be saved as permanent value in user's .lynxrc file to avoid more chaos. - # --#ASSUME_CHARSET:iso-8859-1 -+ASSUME_CHARSET:utf-8 - - - .h2 ASSUMED_DOC_CHARSET_CHOICE -@@ -552,7 +552,7 @@ DEFAULT_INDEX_FILE:http://lynx.isc.org/ - # the 'o'ptions menu and save that preference in their RC file. - # This may be a comma-separated list of languages in decreasing preference. - # --#PREFERRED_LANGUAGE:en -+#PREFERRED_LANGUAGE: - - - .h2 PREFERRED_CHARSET -@@ -571,7 +571,7 @@ DEFAULT_INDEX_FILE:http://lynx.isc.org/ - # the sending of an unacceptable response is also allowed. See RFC 2068 - # (http://www.ics.uci.edu/pub/ietf/uri/rfc2068.txt). - # --#PREFERRED_CHARSET: -+PREFERRED_CHARSET:utf-8 - - - .h2 CHARSETS_DIRECTORY -@@ -652,22 +652,22 @@ DEFAULT_INDEX_FILE:http://lynx.isc.org/ - # Set the threshold # of lines Lynx must render before it - # redraws the screen in PARTIAL mode. Anything < 0 implies - # use of the screen size. --#PARTIAL_THRES:-1 -+PARTIAL_THRES:3 - - - .h2 SHOW_KB_RATE - # While getting large files, Lynx shows the approximate rate of transfer. --# Set this to change the units shown. "Kilobytes" denotes 1024 bytes: -+# Set this to change the units shown. - # NONE to disable the display of transfer rate altogether. --# TRUE or KB for Kilobytes/second. -+# TRUE or KB for Kibibytes/second. - # FALSE or BYTES for bytes/second. --# KB,ETA to show Kilobytes/second with estimated completion time. --# BYTES,ETA to show BYTES/second with estimated completion time. -+# KB,ETA to show Kibibytes/second with estimated completion time. -+# BYTES,ETA to show bytes/second with estimated completion time. - # Note that the "ETA" values are available if USE_READPROGRESS was defined. --#SHOW_KB_RATE:TRUE -+SHOW_KB_RATE:BYTES,ETA - - .h2 SHOW_KB_NAME --# Set the abbreviation for Kilobytes (1024). -+# Set the abbreviation for Kibibytes (1024 Bytes). - # Quoting from - # http://www.romulus2.com/articles/guides/misc/bitsbytes.shtml - # In December 1998, the International Electrotechnical Commission (IEC) -@@ -677,9 +677,6 @@ DEFAULT_INDEX_FILE:http://lynx.isc.org/ - # metric prefixes and adding the first two letters of the word "binary". Thus, - # for instance, instead of Kilobyte (KB) or Gigabyte (GB), the new terms would - # be kibibyte (KiB) or gibibyte (GiB). --# --# If you prefer using the conventional (and more common) "KB", modify this --# setting. - #SHOW_KB_NAME:KiB - - .h1 Timeouts -@@ -1076,7 +1073,7 @@ DEFAULT_INDEX_FILE:http://lynx.isc.org/ - # default or that defined here can be toggled via the -force_secure - # command line switch. - # --#FORCE_SSL_COOKIES_SECURE:FALSE -+FORCE_SSL_COOKIES_SECURE:TRUE - - - .h1 Internal Behavior -@@ -1263,7 +1260,7 @@ DEFAULT_INDEX_FILE:http://lynx.isc.org/ - # line break. Note that the valid way to insert extra blank lines in HTML - # is via a PRE block with only newlines in the block. - # --#COLLAPSE_BR_TAGS:TRUE -+COLLAPSE_BR_TAGS:FALSE - - - .h2 TAGSOUP -@@ -1366,7 +1363,7 @@ DEFAULT_INDEX_FILE:http://lynx.isc.org/ - # The default is FALSE, so that the feature needs to be enabled here - # explicitly if you want it. - # --#PERSISTENT_COOKIES:FALSE -+PERSISTENT_COOKIES:TRUE - - - .h2 COOKIE_FILE -@@ -1920,7 +1917,7 @@ DEFAULT_INDEX_FILE:http://lynx.isc.org/ - # prefer the more conservative action of requiring an explicit Y or y to - # confirm. The default defined here will override that in userdefs.h. - # --#QUIT_DEFAULT_YES:TRUE -+QUIT_DEFAULT_YES:FALSE - - - .h1 HTML Parsing -@@ -3208,7 +3205,7 @@ COLOR:6:brightred:black - # otherwise. Set this setting to TRUE if you prefer numbered links, but wish - # to get valid HTML source when printing or mailing when in psrc view. - # Default is FALSE. --#PRETTYSRC_VIEW_NO_ANCHOR_NUMBERING:FALSE -+PRETTYSRC_VIEW_NO_ANCHOR_NUMBERING:TRUE - - - .h1 HTML Parsing -@@ -3241,13 +3238,11 @@ COLOR:6:brightred:black - - .h2 JUSTIFY - # JUSTIFY - Appearance --# This option mirrors command-line option with same name. Default is TRUE. If --# true, most of text (except headers and like this) will be justified. This --# has no influence on CJK text rendering. --# --# This option is only available if Lynx was compiled with EXP_JUSTIFY_ELTS. -+# This option mirrors command-line option with same name. Default is FALSE. -+# If true, most of text (except headers and like this) will be justified. -+# This has no influence on CJK text rendering. - # --#JUSTIFY:FALSE -+JUSTIFY:TRUE - - .h2 JUSTIFY_MAX_VOID_PERCENT - # JUSTIFY_MAX_VOID_PERCENT - Appearance -@@ -3275,7 +3270,7 @@ COLOR:6:brightred:black - # explicit activation can also be requested with the -tna command line - # option. - # --#TEXTFIELDS_NEED_ACTIVATION:FALSE -+TEXTFIELDS_NEED_ACTIVATION:TRUE - - .h2 LEFTARROW_IN_TEXTFIELD_PROMPT - # LEFTARROW_IN_TEXTFIELD_PROMPT -@@ -3285,7 +3280,7 @@ COLOR:6:brightred:black - # only if the contents of the fields have been changed since entering it. - # If set to TRUE, the confirmation prompt is always issued. - # --#LEFTARROW_IN_TEXTFIELD_PROMPT:FALSE -+LEFTARROW_IN_TEXTFIELD_PROMPT:TRUE - - - .h1 Timeouts -@@ -3322,7 +3317,7 @@ COLOR:6:brightred:black - # one lynx.cfg setting. - .nf - #ENABLE_LYNXRC:accept_all_cookies:ON --#ENABLE_LYNXRC:assume_charset:OFF -+ENABLE_LYNXRC:assume_charset:ON - #ENABLE_LYNXRC:bookmark_file:ON - #ENABLE_LYNXRC:case_sensitive_searching:ON - #ENABLE_LYNXRC:character_set:ON -@@ -3337,34 +3332,35 @@ COLOR:6:brightred:black - #ENABLE_LYNXRC:emacs_keys:ON - #ENABLE_LYNXRC:file_editor:ON - #ENABLE_LYNXRC:file_sorting_method:ON --#ENABLE_LYNXRC:force_cookie_prompt:OFF --#ENABLE_LYNXRC:force_ssl_prompt:OFF --#ENABLE_LYNXRC:ftp_passive:OFF -+ENABLE_LYNXRC:force_cookie_prompt:ON -+ENABLE_LYNXRC:force_ssl_prompt:ON -+ENABLE_LYNXRC:ftp_passive:ON - #ENABLE_LYNXRC:kblayout:ON - #ENABLE_LYNXRC:keypad_mode:ON - #ENABLE_LYNXRC:lineedit_mode:ON - #ENABLE_LYNXRC:locale_charset:ON --#ENABLE_LYNXRC:make_links_for_all_images:OFF --#ENABLE_LYNXRC:make_pseudo_alts_for_inlines:OFF -+ENABLE_LYNXRC:make_links_for_all_images:ON -+ENABLE_LYNXRC:make_pseudo_alts_for_inlines:ON - #ENABLE_LYNXRC:multi_bookmark:ON - #ENABLE_LYNXRC:personal_mail_address:ON - #ENABLE_LYNXRC:preferred_charset:ON --#ENABLE_LYNXRC:preferred_encoding:OFF -+ENABLE_LYNXRC:preferred_encoding:ON - #ENABLE_LYNXRC:preferred_language:ON --#ENABLE_LYNXRC:preferred_media_types:OFF --#ENABLE_LYNXRC:raw_mode:OFF -+ENABLE_LYNXRC:preferred_media_types:ON -+ENABLE_LYNXRC:raw_mode:ON - #ENABLE_LYNXRC:run_all_execution_links:ON - #ENABLE_LYNXRC:run_execution_links_on_local_files:ON --#ENABLE_LYNXRC:scrollbar:OFF -+ENABLE_LYNXRC:scrollbar:ON - #ENABLE_LYNXRC:select_popups:ON --#ENABLE_LYNXRC:set_cookies:OFF -+ENABLE_LYNXRC:set_cookies:ON - #ENABLE_LYNXRC:show_color:ON - #ENABLE_LYNXRC:show_cursor:ON - #ENABLE_LYNXRC:show_dotfiles:ON --#ENABLE_LYNXRC:show_kb_rate:OFF -+ENABLE_LYNXRC:show_kb_name:OFF -+ENABLE_LYNXRC:show_kb_rate:ON - #ENABLE_LYNXRC:sub_bookmarks:ON - #ENABLE_LYNXRC:tagsoup:OFF --#ENABLE_LYNXRC:underline_links:OFF -+ENABLE_LYNXRC:underline_links:ON - #ENABLE_LYNXRC:user_mode:ON - #ENABLE_LYNXRC:useragent:OFF - #ENABLE_LYNXRC:verbose_images:ON diff --git a/package/lynx/patches/patch-makefile_in b/package/lynx/patches/patch-makefile_in deleted file mode 100644 index db687c433..000000000 --- a/package/lynx/patches/patch-makefile_in +++ /dev/null @@ -1,22 +0,0 @@ -$Id$ -$MirOS: ports/www/lynx/patches/patch-makefile_in,v 1.2 2007/05/20 12:06:19 tg Exp $ ---- lynx2-8-7.orig/makefile.in 2007-05-18 00:53:22.000000000 +0200 -+++ lynx2-8-7/makefile.in 2009-06-13 11:46:29.000000000 +0200 -@@ -161,13 +161,13 @@ SITE_DEFS = # Your defines here - # for installation of local execution links, please see the file userdefs.h - - WWW_CFLAGS = \ -- LY_CFLAGS="$(CFLAGS)" \ -- CPPFLAGS="$(CPPFLAGS)" \ -+ LY_CFLAGS='${CFLAGS}' \ -+ CPPFLAGS='${CPPFLAGS}' \ - LYFLAGS="$(SITE_LYDEFS)" - - SRC_CFLAGS = \ -- CFLAGS="$(CFLAGS)" \ -- CPPFLAGS="$(CPPFLAGS)" \ -+ CFLAGS='${CFLAGS}' \ -+ CPPFLAGS='${CPPFLAGS}' \ - LIBS="$(LIBS) $(RESOLVLIB) $(WAISLIB) $(SITE_LIBS)" \ - SITE_DEFS="$(SITE_DEFS)" \ - WWWINC=$(WWWINC) \ diff --git a/package/lynx/patches/patch-samples_lynx_lss b/package/lynx/patches/patch-samples_lynx_lss deleted file mode 100644 index eef0800eb..000000000 --- a/package/lynx/patches/patch-samples_lynx_lss +++ /dev/null @@ -1,15 +0,0 @@ -$MirOS: ports/www/lynx/patches/patch-samples_lynx_lss,v 1.2 2007/05/20 12:06:19 tg Exp $ - - usability - ---- lynx2-8-7.orig/samples/lynx.lss 2006-09-19 02:28:28.000000000 +0200 -+++ lynx2-8-7/samples/lynx.lss 2009-06-13 11:46:29.000000000 +0200 -@@ -6,7 +6,7 @@ - # If you really want the terminal's default colors, and if lynx is built using - # ncurses' default-color support, remove these two lines: - normal: normal: lightgray:black --default: normal: white:black -+default: normal: lightgray:black - - # Normal type styles correspond to HTML tags. - # diff --git a/package/lynx/patches/patch-src_LYUtils_c b/package/lynx/patches/patch-src_LYUtils_c deleted file mode 100644 index d8c02cb03..000000000 --- a/package/lynx/patches/patch-src_LYUtils_c +++ /dev/null @@ -1,15 +0,0 @@ -$MirOS: ports/www/lynx/patches/patch-src_LYUtils_c,v 1.3 2007/08/03 16:01:22 tg Exp $ - - Important for upstream too - ---- lynx2-8-7.orig/src/LYUtils.c 2007-08-03 01:24:27.000000000 +0200 -+++ lynx2-8-7/src/LYUtils.c 2009-06-13 11:46:29.000000000 +0200 -@@ -5903,7 +5903,7 @@ static BOOL IsOurSymlink(const char *nam - - if (cutoff != 0) { - HTSprintf0(&clone, "%.*s%s%s", -- cutoff - name, -+ (int)(cutoff - name), - name, PATHSEP_STR, buffer); - FREE(buffer); - buffer = clone; diff --git a/package/lynx/patches/patch-src_chrtrans_makefile_in b/package/lynx/patches/patch-src_chrtrans_makefile_in deleted file mode 100644 index 038b5b7ad..000000000 --- a/package/lynx/patches/patch-src_chrtrans_makefile_in +++ /dev/null @@ -1,11 +0,0 @@ ---- lynx2-8-7.orig/src/chrtrans/makefile.in 2007-08-03 01:24:27.000000000 +0200 -+++ lynx2-8-7/src/chrtrans/makefile.in 2009-06-13 12:29:28.000000000 +0200 -@@ -50,7 +50,7 @@ CPP_OPTS = \ - -I$(top_srcdir)/$(WWWINC) \ - -I$(top_srcdir)/ \ - $(INTLDIR_CPPFLAGS) $(SITE_DEFS) $(BUILD_CPPFLAGS) --CC_OPTS = $(CPP_OPTS) $(BUILD_CFLAGS) -+CC_OPTS = $(CPP_OPTS) $(BUILD_CFLAGS) -DHOSTBUILD - - # - # This file contains the font map for the default (hardware) font diff --git a/package/lynx/patches/patch-src_chrtrans_makeuctb_c b/package/lynx/patches/patch-src_chrtrans_makeuctb_c index 9dcfdc73e..9f23671e7 100644 --- a/package/lynx/patches/patch-src_chrtrans_makeuctb_c +++ b/package/lynx/patches/patch-src_chrtrans_makeuctb_c @@ -1,11 +1,22 @@ ---- lynx2-8-7.orig/src/chrtrans/makeuctb.c 2007-08-03 01:24:27.000000000 +0200 -+++ lynx2-8-7/src/chrtrans/makeuctb.c 2009-06-13 11:54:42.000000000 +0200 -@@ -31,6 +31,9 @@ +--- lynx2-8-7.orig/src/chrtrans/makeuctb.c 2009-02-02 02:41:02.000000000 +0100 ++++ lynx2-8-7/src/chrtrans/makeuctb.c 2010-05-29 12:55:33.031250000 +0200 +@@ -18,6 +18,7 @@ + * version 2, or at your option any later version. + */ + ++ + #ifndef HAVE_CONFIG_H + /* override HTUtils.h fallbacks for cross-compiling */ + #undef HAVE_LSTAT +@@ -28,10 +29,12 @@ + + #define DONT_USE_GETTEXT + #define DONT_USE_SOCKS5 ++#define DONT_USE_SSL #include #include + #include -+#include -+#include + /* * Don't try to use LYexit() since this is a standalone file. diff --git a/package/lynx/patches/patch-userdefs_h b/package/lynx/patches/patch-userdefs_h deleted file mode 100644 index d39bc4c60..000000000 --- a/package/lynx/patches/patch-userdefs_h +++ /dev/null @@ -1,65 +0,0 @@ -$Id$ -$MirOS: ports/www/lynx/patches/patch-userdefs_h,v 1.9 2007/08/03 12:14:24 tg Exp $ ---- lynx2-8-7.orig/userdefs.h 2007-08-03 01:24:27.000000000 +0200 -+++ lynx2-8-7/userdefs.h 2009-06-13 11:46:29.000000000 +0200 -@@ -461,7 +461,7 @@ - * Normally we expect you will connect to a remote site, e.g., the Lynx starting - * site: - */ --#define STARTFILE "http://lynx.isc.org/" -+/* #define STARTFILE "http://lynx.isc.org/" */ - /* - * As an alternative, you may want to use a local URL. A good choice for this - * is the user's home directory: -@@ -471,6 +471,7 @@ - * you can connect to reliably. Otherwise users will become confused and think - * that they cannot run Lynx. - */ -+#define STARTFILE "file://localhost/~/" - - /***************************** - * HELPFILE must be defined as a URL and must have a -@@ -727,7 +728,7 @@ - * that preference in their RC file. This may be a comma-separated list - * of languages in decreasing preference. - */ --#define PREFERRED_LANGUAGE "en" -+#define PREFERRED_LANGUAGE "" - - /***************************** - * PREFERRED_CHARSET specifies the character set in MIME notation (e.g., -@@ -802,8 +803,8 @@ - * and use "http://" as the default (e.g., gopher.wfbr.edu or gopher.wfbr. - * will be made gopher://gopher.wfbr.edu). - */ --#define URL_DOMAIN_PREFIXES "www." --#define URL_DOMAIN_SUFFIXES ".com,.edu,.net,.org" -+#define URL_DOMAIN_PREFIXES "" -+#define URL_DOMAIN_SUFFIXES "" - - /******************************** - * If LIST_NEWS_NUMBERS is set TRUE, Lynx will use an ordered list -@@ -1371,7 +1372,9 @@ - * the version definition with the Project Version on checkout. Just - * ignore it. - kw */ - /* $Format: "#define LYNX_VERSION \"$ProjectVersion$\""$ */ -+#ifndef LYNX_VERSION - #define LYNX_VERSION "2.8.7dev.7" -+#endif - #define LYNX_WWW_HOME "http://lynx.isc.org/" - #define LYNX_WWW_DIST "http://lynx.isc.org/current/" - /* $Format: "#define LYNX_DATE \"$ProjectDate$\""$ */ -@@ -1559,11 +1562,11 @@ - - /***************************** - * Uncomment the following line to enable the kanji code override routine. -- * The code can be changed by pressing ^L. More precisely, this allows -+ * The code can be changed by pressing Shift-J. More precisely, this allows - * the user to override the assumption about the kanji code for the document - * which Lynx has made on the basis of a META tag and HTTP response. - */ --/*#define KANJI_CODE_OVERRIDE */ -+#define KANJI_CODE_OVERRIDE - - - /**************************************************************** -- cgit v1.2.3 From 20b55d2954423e5c8d7107d64d94d805306514a5 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 2 Jun 2010 00:14:39 +0200 Subject: update to stable version, fix cross-compile on Cygwin --- .../patch-WWW_Library_Implementation_HTUtils_h | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 package/lynx/patches/patch-WWW_Library_Implementation_HTUtils_h (limited to 'package/lynx/patches') diff --git a/package/lynx/patches/patch-WWW_Library_Implementation_HTUtils_h b/package/lynx/patches/patch-WWW_Library_Implementation_HTUtils_h new file mode 100644 index 000000000..d16953cca --- /dev/null +++ b/package/lynx/patches/patch-WWW_Library_Implementation_HTUtils_h @@ -0,0 +1,34 @@ +--- lynx2-8-7.orig/WWW/Library/Implementation/HTUtils.h 2009-05-25 23:05:31.000000000 +0200 ++++ lynx2-8-7/WWW/Library/Implementation/HTUtils.h 2010-05-29 12:56:42.125000000 +0200 +@@ -677,6 +677,8 @@ extern int WWW_TraceMask; + + #define SHORTENED_RBIND /* FIXME: do this in configure-script */ + ++#ifdef DONT_USE_SSL ++#else + #ifdef USE_SSL + + #define free_func free__func +@@ -717,6 +719,7 @@ extern int WWW_TraceMask; + + #undef free_func + #endif /* USE_SSL */ ++#endif + + #ifdef HAVE_LIBDMALLOC + #include /* Gray Watson's library */ +@@ -747,11 +750,14 @@ extern "C" { + + extern FILE *TraceFP(void); + ++#ifdef DONT_USE_SSL ++#else + #ifdef USE_SSL + extern SSL *HTGetSSLHandle(void); + extern void HTSSLInitPRNG(void); + extern int HTGetSSLCharacter(void *handle); + #endif /* USE_SSL */ ++#endif + + #ifdef __cplusplus + } -- cgit v1.2.3