FreeBSD Bugzilla – Attachment 258519 Details for
Bug 239486
net-p2p/retroshare: fails to build with libressl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
retroshare.diff
retroshare.diff (text/plain), 2.37 KB, created by
Mark Linimon
on 2025-03-10 04:26:38 UTC
(
hide
)
Description:
retroshare.diff
Filename:
MIME Type:
Creator:
Mark Linimon
Created:
2025-03-10 04:26:38 UTC
Size:
2.37 KB
patch
obsolete
>Index: net-p2p/retroshare/Makefile >=================================================================== >--- net-p2p/retroshare/Makefile (revision 511141) >+++ net-p2p/retroshare/Makefile (working copy) >@@ -4,7 +4,7 @@ > PORTNAME= retroshare > DISTVERSIONPREFIX= v > DISTVERSION= 0.6.4 >-PORTREVISION= 4 >+PORTREVISION= 5 > CATEGORIES= net-p2p > > PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ >@@ -30,14 +30,18 @@ > > USES= compiler:features desktop-file-utils dos2unix \ > gnome pkgconfig qmake qt:5 ssl >+ > USE_GITHUB= yes > GH_ACCOUNT= RetroShare > GH_PROJECT= RetroShare > RS_REVISION= 0e6d27a >+ > USE_GNOME= libxml2 libxslt > USE_GL= gl > USE_QT= core gui multimedia printsupport network widgets xml \ > buildtools_build uitools_build >+USE_LDCONFIG= yes >+ > DOS2UNIX_FILES= retroshare-nogui/src/retroshare-nogui.pro > > .include <bsd.port.pre.mk> >Index: net-p2p/retroshare/files/patch-libretroshare_src_tcponudp-bss_tou.c >=================================================================== >--- /dev/null (nonexistent) >+++ net-p2p/retroshare/files/patch-libretroshare_src_tcponudp-bss_tou.c (working copy) >@@ -0,0 +1,22 @@ >+--- libretroshare/src/tcponudp/bss_tou.c.orig 2019-09-04 17:37:42 UTC >++++ libretroshare/src/tcponudp/bss_tou.c >+@@ -90,13 +90,18 @@ static int clear_tou_socket_error(int s) >+ >+ #include "tou.h" >+ >+-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) >++#if OPENSSL_VERSION_NUMBER < 0x10100000L >+ //static void BIO_set_shutdown(BIO *a,int s) { a->shutdown=s; } >+ >+ static int BIO_get_shutdown(BIO *a) { return a->shutdown; } >+ static int BIO_get_init(BIO *a) { return a->init; } >+ static void BIO_set_init(BIO *a,int i) { a->init=i; } >+ static void BIO_set_data(BIO *a,void *p) { a->ptr = p; } >++#elif defined(LIBRESSL_VERSION_NUMBER) >++int BIO_get_shutdown(BIO *a) { return a->shutdown; } >++int BIO_get_init(BIO *a) { return a->init; } >++void BIO_set_init(BIO *a,int i) { a->init=i; } >++void BIO_set_data(BIO *a,void *p) { a->ptr = p; } >+ #else >+ typedef struct bio_method_st { >+ int type; > >Property changes on: files/patch-libretroshare_src_tcponudp-bss_tou.c >___________________________________________________________________ >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 239486
:
207192
| 258519