mirror of
https://git.freebsd.org/ports.git
synced 2025-07-13 15:29:15 -04:00
- Add dependencies and new SHEBANG_FILE to per stage-qa warnings - Stop istalling python script to avoid stage-qa error about wrong python shabang(adding a python dependency just for a contributed python script seems overkill) PR: 218599 [1] Submitted by: OlivierW <olivierw1+bugzilla-freebsd@hotmail.com> Obtained from: https://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/telephony/asterisk/patches/ [1]
20 lines
790 B
C
20 lines
790 B
C
--- main/libasteriskssl.c.orig 2017-04-12 21:07:31 UTC
|
|
+++ main/libasteriskssl.c
|
|
@@ -74,7 +74,7 @@ static void ssl_lock(int mode, int n, const char *file
|
|
}
|
|
}
|
|
|
|
-#if !defined(OPENSSL_VERSION_NUMBER) || OPENSSL_VERSION_NUMBER < 0x10100000L
|
|
+#if !defined(OPENSSL_VERSION_NUMBER) || OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
|
int SSL_library_init(void)
|
|
{
|
|
#if defined(AST_DEVMODE)
|
|
@@ -129,7 +129,7 @@ void ERR_free_strings(void)
|
|
int ast_ssl_init(void)
|
|
{
|
|
#if defined(HAVE_OPENSSL) && defined(OPENSSL_VERSION_NUMBER) && \
|
|
- OPENSSL_VERSION_NUMBER < 0x10100000L
|
|
+ (OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER))
|
|
unsigned int i;
|
|
int (*real_SSL_library_init)(void);
|
|
void (*real_CRYPTO_set_id_callback)(unsigned long (*)(void));
|