summaryrefslogtreecommitdiff
path: root/package/socat/patches/patch-xioopts_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/socat/patches/patch-xioopts_c')
-rw-r--r--package/socat/patches/patch-xioopts_c20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/socat/patches/patch-xioopts_c b/package/socat/patches/patch-xioopts_c
new file mode 100644
index 000000000..d85ae4588
--- /dev/null
+++ b/package/socat/patches/patch-xioopts_c
@@ -0,0 +1,20 @@
+--- socat-1.7.3.0.orig/xioopts.c 2015-01-24 11:15:22.000000000 +0100
++++ socat-1.7.3.0/xioopts.c 2015-12-29 23:28:16.000000000 +0100
+@@ -296,7 +296,7 @@ const struct optname optionnames[] = {
+ #if WITH_EXT2 && defined(EXT2_COMPR_FL)
+ IF_ANY ("compr", &opt_ext2_compr)
+ #endif
+-#if OPENSSL_VERSION_NUMBER >= 0x00908000L
++#if !defined(OPENSSL_NO_COMP)
+ IF_OPENSSL("compress", &opt_openssl_compress)
+ #endif
+ #ifdef TCP_CONN_ABORT_THRESHOLD /* HP_UX */
+@@ -1098,7 +1098,7 @@ const struct optname optionnames[] = {
+ IF_OPENSSL("openssl-certificate", &opt_openssl_certificate)
+ IF_OPENSSL("openssl-cipherlist", &opt_openssl_cipherlist)
+ IF_OPENSSL("openssl-commonname", &opt_openssl_commonname)
+-#if OPENSSL_VERSION_NUMBER >= 0x00908000L
++#if !defined(OPENSSL_NO_COMP)
+ IF_OPENSSL("openssl-compress", &opt_openssl_compress)
+ #endif
+ IF_OPENSSL("openssl-dhparam", &opt_openssl_dhparam)