pjproject: update to 2.7.

Closes: #7876 [via git-merge-pr]
This commit is contained in:
John 2017-09-29 17:38:15 +02:00 committed by Michael Aldridge
parent 713504ce96
commit 369f1a59d6
2 changed files with 14 additions and 3 deletions

View File

@ -36,3 +36,14 @@
int ret;
if (ssock->param.sigalgs.ptr && ssock->param.sigalgs.slen) {
--- ssl_sock_ossl.c 2017-09-29 17:33:19.315010416 +0200
+++ pjlib/src/pj/ssl_sock_ossl.c 2017-09-29 17:35:19.055014980 +0200
@@ -535,7 +535,7 @@
pj_assert(status == PJ_SUCCESS);
/* Init OpenSSL lib */
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
SSL_library_init();
SSL_load_error_strings();
#else

View File

@ -2,8 +2,8 @@
# no-third-party.patch comes from Alpine,
# and this template is heavily based on Alpine's APKBUILD.
pkgname=pjproject
version=2.6
revision=2
version=2.7
revision=1
disable_parallel_build=yes
build_style=gnu-configure
configure_args="--enable-shared \
@ -23,7 +23,7 @@ maintainer="Christopher Brannon <chris@the-brannons.com>"
license="GPL-2"
homepage="http://www.pjsip.org/pjsua.htm"
distfiles="http://www.pjsip.org/release/${version}/${pkgname}-${version}.tar.bz2"
checksum=2f5a1da1c174d845871c758bd80fbb580fca7799d3cfaa0d3c4e082b5161c7b4
checksum=1c80621a11c39151b3c2511f06abc8ef031fc712bb2f9e9923b5301b04b28f6b
pre_configure() {
export LD="${CC}"