Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (6af49ee93862b4eb2ac5b0464c6c2c1c08a0e207)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (6af49ee93862b4eb2ac5b0464c6c2c1c08a0e207)
  • Date: Thu, 24 Feb 2022 23:14:45 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemaage.org>:

libs/libevent/HISTORY | 4 ++++
libs/libevent/PRE_BUILD | 3 +++
libs/libevent/patches/libressl-3.5.patch | 25 +++++++++++++++++++++++++
3 files changed, 32 insertions(+)

New commits:
commit 6af49ee93862b4eb2ac5b0464c6c2c1c08a0e207
Author: Pavel Vinogradov <public AT sourcemaage.org>
Commit: Pavel Vinogradov <public AT sourcemaage.org>

libs/libevent: added libressl 3.5+ fix

diff --git a/libs/libevent/HISTORY b/libs/libevent/HISTORY
index d5f746d..421539d 100644
--- a/libs/libevent/HISTORY
+++ b/libs/libevent/HISTORY
@@ -1,3 +1,7 @@
+2022-02-24 Pavel Vinogradov <public AT sourcemage.org>
+ * PRE_BUILD, patches/libressl-3.5.patch: added upstream patch for
building
+ with libressl 3.5+
+
2020-07-08 Florian Franzmann <bwlf AT bandrate.org>
* DETAILS: version 2.1.12

diff --git a/libs/libevent/PRE_BUILD b/libs/libevent/PRE_BUILD
new file mode 100755
index 0000000..0cab101
--- /dev/null
+++ b/libs/libevent/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+apply_patch_dir patches
diff --git a/libs/libevent/patches/libressl-3.5.patch
b/libs/libevent/patches/libressl-3.5.patch
new file mode 100644
index 0000000..be9e04d
--- /dev/null
+++ b/libs/libevent/patches/libressl-3.5.patch
@@ -0,0 +1,25 @@
+From 883630f76cbf512003b81de25cd96cb75c6cf0f9 Mon Sep 17 00:00:00 2001
+From: Theo Buehler <tb AT openbsd.org>
+Date: Sun, 21 Nov 2021 21:38:20 +0100
+Subject: [PATCH] Don't define BIO_get_init() for LibreSSL 3.5+
+
+BIO_get_init() is available in LibreSSL 3.5 and later. The BIO type
+will become opaque, so the existing macro will break the build.
+---
+ openssl-compat.h | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/openssl-compat.h b/openssl-compat.h
+index a23e34251b..f5de25539f 100644
+--- a/openssl-compat.h
++++ b/openssl-compat.h
+@@ -40,7 +40,8 @@ static inline BIO_METHOD *BIO_meth_new(int type, const
char *name)
+ #endif /* (OPENSSL_VERSION_NUMBER < 0x10100000L) || \
+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER <
0x20700000L) */
+
+-#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >=
0x20700000L
++#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >=
0x20700000L && \
++ LIBRESSL_VERSION_NUMBER < 0x30500000L
+ #define BIO_get_init(b) (b)->init
+ #endif
+



  • [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (6af49ee93862b4eb2ac5b0464c6c2c1c08a0e207), Pavel Vinogradov, 02/24/2022

Archive powered by MHonArc 2.6.24.

Top of Page