diff --git a/net/liblinphone/Makefile b/net/liblinphone/Makefile index f6723c31e25a..44b344a46ac0 100644 --- a/net/liblinphone/Makefile +++ b/net/liblinphone/Makefile @@ -1,61 +1,60 @@ PORTNAME= liblinphone -DISTVERSION= 5.1.32 -PORTREVISION= 1 +DISTVERSION= 5.1.56 CATEGORIES= net MAINTAINER= bofh@FreeBSD.org COMMENT= SIP library supporting voice/video calls and text messaging LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pystache>=0:textproc/py-pystache@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \ doxygen:devel/doxygen \ xsd>0:devel/xsd LIB_DEPENDS= libbctoolbox.so:net/bctoolbox \ libbelcard.so:deskutils/belcard \ libbellesip.so:net/belle-sip \ libbelr.so:textproc/belr \ libbzrtp.so:security/bzrtp \ libjsoncpp.so:devel/jsoncpp \ liblime.so:security/lime \ libmediastreamer.so:net/mediastreamer \ libortp.so:net/ortp \ libsoci_core.so:databases/soci \ libxerces-c.so:textproc/xerces-c3 USES= cmake gnome iconv pkgconfig python:build sqlite USE_GITLAB= yes GL_SITE= https://gitlab.linphone.org/BC GL_ACCOUNT= public -GL_COMMIT= 05b13b98229fc69ed3075916857dbe32b60b2b39 +GL_COMMIT= c5d52f725840bceca36874f480d86bdbb91f5b7e USE_GNOME= libxml2 USE_LDCONFIG= yes CMAKE_ARGS= -DCMAKE_PREFIX_PATH=${LOCALBASE} \ -DCMAKE_SKIP_INSTALL_RPATH=ON \ -DENABLE_FLEXIAPI=NO \ -DENABLE_NLS=NO \ -DENABLE_STATIC=NO \ -DENABLE_STRICT=NO \ -DENABLE_UNIT_TESTS=NO OPTIONS_DEFINE= LDAP VIDEO OPTIONS_DEFAULT= LDAP VIDEO OPTIONS_SUB= yes LDAP_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 LDAP_USE= OPENLDAP=yes LDAP_CMAKE_BOOL= ENABLE_LDAP VIDEO_CMAKE_BOOL= ENABLE_VIDEO post-patch: .for h in xml conference-info conference-info-linphone-extension @${REINPLACE_CMD} '/^#error/d' ${WRKSRC}/src/xml/${h}.h .endfor post-install: ${RM} -r ${STAGEDIR}${PREFIX}/share/doc/${DISTNAME} .include diff --git a/net/liblinphone/distinfo b/net/liblinphone/distinfo index d2801d5835d9..4a28ecd4b2c7 100644 --- a/net/liblinphone/distinfo +++ b/net/liblinphone/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1657714936 -SHA256 (public-liblinphone-05b13b98229fc69ed3075916857dbe32b60b2b39_GL0.tar.gz) = 9458a11c0bcc4496ff321c13f529394aec358f954e07c5d71ebf73f0d85e69d6 -SIZE (public-liblinphone-05b13b98229fc69ed3075916857dbe32b60b2b39_GL0.tar.gz) = 22753242 +TIMESTAMP = 1661328845 +SHA256 (public-liblinphone-c5d52f725840bceca36874f480d86bdbb91f5b7e_GL0.tar.gz) = e7f680c2eb46bd751245250f0a22074dbf219dd2955362620c9ba63a6e76351e +SIZE (public-liblinphone-c5d52f725840bceca36874f480d86bdbb91f5b7e_GL0.tar.gz) = 22756256 diff --git a/net/liblinphone/files/patch-CMakeLists.txt b/net/liblinphone/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..a5b264a5dbb0 --- /dev/null +++ b/net/liblinphone/files/patch-CMakeLists.txt @@ -0,0 +1,15 @@ +Fix compilation error: + +src/core/core.cpp:428:2: error: void function 'doLater' should not return a +value [-Wreturn-type] +--- CMakeLists.txt.orig 2022-08-24 08:22:37 UTC ++++ CMakeLists.txt +@@ -320,7 +320,7 @@ else() + list(APPEND STRICT_OPTIONS_CPP + "-Wall" + "-Wconversion" +- "-Werror=return-type" ++ "-Wno-error=return-type" + "-Winit-self" + "-Wno-error=deprecated-declarations" + "-Wpointer-arith"