diff --git a/srcpkgs/pjproject/patches/libressl.patch b/srcpkgs/pjproject/patches/libressl.patch index 00970092ec4..a6699851b4d 100644 --- a/srcpkgs/pjproject/patches/libressl.patch +++ b/srcpkgs/pjproject/patches/libressl.patch @@ -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 diff --git a/srcpkgs/pjproject/template b/srcpkgs/pjproject/template index 5931a477c70..f3a11efa422 100644 --- a/srcpkgs/pjproject/template +++ b/srcpkgs/pjproject/template @@ -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 " 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}"