Index: head/net-im/ricochet/Makefile =================================================================== --- head/net-im/ricochet/Makefile (revision 436950) +++ head/net-im/ricochet/Makefile (revision 436951) @@ -1,48 +1,44 @@ # Created by: Yuri Victorovich # $FreeBSD$ PORTNAME= ricochet PORTVERSION= 1.1.4 DISTVERSIONPREFIX= v -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net-im net-p2p MAINTAINER= yuri@rawbw.com COMMENT= Anonymous peer-to-peer instant messenger LICENSE= RICOCHET LICENSE_NAME= Ricochet LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libprotobuf.so:devel/protobuf RUN_DEPENDS= tor:security/tor USE_GITHUB= yes GH_ACCOUNT= ricochet-im USES= compiler:c++11-lib gmake pkgconfig qmake ssl USE_GL= gl USE_QT5= core gui network qml quick widgets multimedia buildtools_build linguisttools_build QMAKE_ARGS+= DEFINES+=RICOCHET_NO_PORTABLE OPENSSLDIR=${LOCALBASE} PLIST_FILES= bin/ricochet \ share/applications/ricochet.desktop \ share/icons/hicolor/48x48/apps/ricochet.png \ share/icons/hicolor/scalable/apps/ricochet.svg .include - -.if ${SSL_DEFAULT:Mlibressl*} -IGNORE= Detected LibreSSL (missing RSA_get0_factors) -.endif post-patch: @${REINPLACE_CMD} -E 's| -fsanitize=[a-z-]+| |g' \ ${WRKSRC}/hardened.pri .if ${ARCH} == amd64 && ${OSREL:R} == 9 @${REINPLACE_CMD} -E 's| -pie| |g' \ ${WRKSRC}/hardened.pri .endif .include Index: head/net-im/ricochet/files/patch-src_main.cpp =================================================================== --- head/net-im/ricochet/files/patch-src_main.cpp (nonexistent) +++ head/net-im/ricochet/files/patch-src_main.cpp (revision 436951) @@ -0,0 +1,11 @@ +--- src/main.cpp.orig 2016-11-04 22:05:33 UTC ++++ src/main.cpp +@@ -86,7 +86,7 @@ int main(int argc, char *argv[]) + initTranslation(); + + /* Initialize OpenSSL's allocator */ +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + CRYPTO_malloc_init(); + #else + OPENSSL_malloc_init(); Property changes on: head/net-im/ricochet/files/patch-src_main.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net-im/ricochet/files/patch-src_utils_CryptoKey.cpp =================================================================== --- head/net-im/ricochet/files/patch-src_utils_CryptoKey.cpp (nonexistent) +++ head/net-im/ricochet/files/patch-src_utils_CryptoKey.cpp (revision 436951) @@ -0,0 +1,11 @@ +--- src/utils/CryptoKey.cpp.orig 2016-11-04 22:05:33 UTC ++++ src/utils/CryptoKey.cpp +@@ -39,7 +39,7 @@ + #include + #include + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q) + { + *p = r->p; Property changes on: head/net-im/ricochet/files/patch-src_utils_CryptoKey.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property