summaryrefslogtreecommitdiff
path: root/package/lynx/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-06-02 00:14:39 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-06-02 00:14:39 +0200
commit20b55d2954423e5c8d7107d64d94d805306514a5 (patch)
tree2d36e2396b53026fe90e21dad72f82de707d2db6 /package/lynx/patches
parent4670d5df0439de193c86b7cf4452d571da80ab31 (diff)
update to stable version, fix cross-compile on Cygwin
Diffstat (limited to 'package/lynx/patches')
-rw-r--r--package/lynx/patches/patch-WWW_Library_Implementation_HTUtils_h34
1 files changed, 34 insertions, 0 deletions
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 <dmalloc.h> /* 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
+ }