FreeBSD Bugzilla – Attachment 180286 Details for
Bug 217350
net-im/ricochet: Fix build with LibreSSL
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn diff for net-im/ricochet
patch-net-im_ricochet-LibreSSL (text/plain), 2.39 KB, created by
Bernard Spil
on 2017-02-25 12:00:30 UTC
(
hide
)
Description:
svn diff for net-im/ricochet
Filename:
MIME Type:
Creator:
Bernard Spil
Created:
2017-02-25 12:00:30 UTC
Size:
2.39 KB
patch
obsolete
>Index: net-im/ricochet/Makefile >=================================================================== >--- net-im/ricochet/Makefile (revision 434792) >+++ net-im/ricochet/Makefile (working copy) >@@ -33,10 +33,6 @@ > > .include <bsd.port.pre.mk> > >-.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 >Index: net-im/ricochet/files/patch-src_main.cpp >=================================================================== >--- net-im/ricochet/files/patch-src_main.cpp (nonexistent) >+++ net-im/ricochet/files/patch-src_main.cpp (working copy) >@@ -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: 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: net-im/ricochet/files/patch-src_utils_CryptoKey.cpp >=================================================================== >--- net-im/ricochet/files/patch-src_utils_CryptoKey.cpp (nonexistent) >+++ net-im/ricochet/files/patch-src_utils_CryptoKey.cpp (working copy) >@@ -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 <openssl/bio.h> >+ #include <openssl/pem.h> >+ >+-#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: 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 217350
: 180286