From 17cfc75b9874e288c265e9c0fe24d480fca45731 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 10 Nov 2018 17:25:29 -0800 Subject: [PATCH] socat: Fix compile with deprecated APIs disabled Signed-off-by: Rosen Penev --- net/socat/Makefile | 2 +- net/socat/patches/200-openssl-deprecated.patch | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 net/socat/patches/200-openssl-deprecated.patch diff --git a/net/socat/Makefile b/net/socat/Makefile index be5760107..00e95f0d1 100644 --- a/net/socat/Makefile +++ b/net/socat/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=socat PKG_VERSION:=1.7.3.2 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://www.dest-unreach.org/socat/download diff --git a/net/socat/patches/200-openssl-deprecated.patch b/net/socat/patches/200-openssl-deprecated.patch new file mode 100644 index 000000000..07c9e5b0c --- /dev/null +++ b/net/socat/patches/200-openssl-deprecated.patch @@ -0,0 +1,13 @@ +diff --git a/xio-openssl.c b/xio-openssl.c +index e931983..84ec100 100644 +--- a/xio-openssl.c ++++ b/xio-openssl.c +@@ -8,6 +8,8 @@ + #if WITH_OPENSSL /* make this address configure dependend */ + #include + #include ++#include ++#include + + #include "xioopen.h" +