SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,13 @@
Link against event_extra and event_core not event.
--- libevent.pc.in.orig Mon Sep 19 01:02:59 2011
+++ libevent.pc.in Mon Sep 19 01:03:15 2011
@@ -10,7 +10,7 @@ Description: libevent is an asynchronous notification
Version: @VERSION@
Requires:
Conflicts:
-Libs: -L${libdir} -levent
+Libs: -L${libdir} -levent_extra -levent_core
Libs.private: @LIBS@
Cflags: -I${includedir}

View file

@ -0,0 +1,16 @@
We have BIO_get_init() now.
https://github.com/libevent/libevent/pull/1227
Index: openssl-compat.h
--- openssl-compat.h.orig
+++ openssl-compat.h
@@ -40,7 +40,8 @@ static inline BIO_METHOD *BIO_meth_new(int type, const
#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