From ac312feacd492d85718493ced849fe6318e2c1e2 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 29 Dec 2015 23:42:54 +0100 Subject: socat: fix compile with libressl --- package/socat/patches/patch-sslcls_h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/socat/patches/patch-sslcls_h (limited to 'package/socat/patches/patch-sslcls_h') diff --git a/package/socat/patches/patch-sslcls_h b/package/socat/patches/patch-sslcls_h new file mode 100644 index 000000000..ae7e9ba84 --- /dev/null +++ b/package/socat/patches/patch-sslcls_h @@ -0,0 +1,11 @@ +--- socat-1.7.3.0.orig/sslcls.h 2015-01-24 11:15:22.000000000 +0100 ++++ socat-1.7.3.0/sslcls.h 2015-12-29 23:11:35.000000000 +0100 +@@ -55,7 +55,7 @@ BIO *sycBIO_new_file(const char *filenam + + int sycFIPS_mode_set(int onoff); + +-#if OPENSSL_VERSION_NUMBER >= 0x00908000L ++#if !defined(OPENSSL_NO_COMP) + const COMP_METHOD *sycSSL_get_current_compression(SSL *ssl); + const COMP_METHOD *sycSSL_get_current_expansion(SSL *ssl); + const char *sycSSL_COMP_get_name(const COMP_METHOD *comp); -- cgit v1.2.3