From 10d243a92173236f25d4c42de76a428b6df1a9d6 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 6 Nov 2018 19:06:38 -0800 Subject: [PATCH] openldap: Backport patch to fix compilation without deprecated APIs Signed-off-by: Rosen Penev --- libs/openldap/Makefile | 2 +- .../patches/800-openssl-deprecated.patch | 26 +++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 libs/openldap/patches/800-openssl-deprecated.patch diff --git a/libs/openldap/Makefile b/libs/openldap/Makefile index 6b3d5773f3..f167e56a1e 100644 --- a/libs/openldap/Makefile +++ b/libs/openldap/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=openldap PKG_VERSION:=2.4.46 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz PKG_SOURCE_URL:=https://gpl.savoirfairelinux.net/pub/mirrors/openldap/openldap-release/ \ diff --git a/libs/openldap/patches/800-openssl-deprecated.patch b/libs/openldap/patches/800-openssl-deprecated.patch new file mode 100644 index 0000000000..e6b2d86dd6 --- /dev/null +++ b/libs/openldap/patches/800-openssl-deprecated.patch @@ -0,0 +1,26 @@ +From d7a778004b0e0c7453075f1c7d429537162df436 Mon Sep 17 00:00:00 2001 +From: Howard Chu +Date: Fri, 21 Sep 2018 18:41:20 +0100 +Subject: [PATCH] ITS#8809 add missing includes + +--- + libraries/libldap/tls_o.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/libraries/libldap/tls_o.c b/libraries/libldap/tls_o.c +index 010f311d7..99626ec15 100644 +--- a/libraries/libldap/tls_o.c ++++ b/libraries/libldap/tls_o.c +@@ -43,6 +43,9 @@ + #include + #include + #include ++#include ++#include ++#include + #elif defined( HAVE_SSL_H ) + #include + #endif +-- +2.19.1 + -- 2.30.2