From bdb2cdd76ff68ec2bd5c839f8b2f46c5d4b830e8 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 21 Nov 2024 09:38:03 +0100 Subject: update to 2.6.1 fix build with OPENSSL_NO_ENGINE (EL-10) using patch from https://github.com/confluentinc/librdkafka/pull/4911 --- librdkafka-build.patch | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 librdkafka-build.patch (limited to 'librdkafka-build.patch') diff --git a/librdkafka-build.patch b/librdkafka-build.patch new file mode 100644 index 0000000..0bae5b6 --- /dev/null +++ b/librdkafka-build.patch @@ -0,0 +1,27 @@ +From e6839033360f46f001f4121e815a643468dfc079 Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Thu, 21 Nov 2024 09:02:57 +0100 +Subject: [PATCH] use OPENSSL_NO_ENGINE from OpenSSL config + +--- + src/rdkafka_conf.h | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/src/rdkafka_conf.h b/src/rdkafka_conf.h +index 5c41513043..5d9f3ff843 100644 +--- a/src/rdkafka_conf.h ++++ b/src/rdkafka_conf.h +@@ -35,9 +35,13 @@ + + #if WITH_SSL && OPENSSL_VERSION_NUMBER >= 0x10100000 && \ + !defined(OPENSSL_IS_BORINGSSL) ++#ifdef OPENSSL_NO_ENGINE ++#include ++#else + #define WITH_SSL_ENGINE 1 + /* Deprecated in OpenSSL 3 */ + #include ++#endif + #endif /* WITH_SSL && OPENSSL_VERSION_NUMBER >= 0x10100000 */ + + /** -- cgit