Bug 239486

Summary: net-p2p/retroshare: fails to build with libressl
Product: Ports & Packages Reporter: Ivan Rozhuk <rozhuk.im>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: New ---    
Severity: Affects Some People CC: keren_sky, peter, pi, rozhuk.im, w.schwarzenfeld
Priority: --- Flags: rozhuk.im: maintainer-feedback-
rozhuk.im: merge-quarterly?
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
svn-diff-retroshare none

Description Ivan Rozhuk 2019-07-28 01:24:24 UTC
...
--- bss_tou.o ---
tcponudp/bss_tou.c:96:13: error: static declaration of 'BIO_get_shutdown' follows non-static declaration
static int  BIO_get_shutdown(BIO *a) { return a->shutdown; }
            ^
/usr/local/include/openssl/bio.h:611:5: note: previous declaration is here
int     BIO_get_shutdown(BIO *a);
        ^
tcponudp/bss_tou.c:98:13: error: static declaration of 'BIO_set_init' follows non-static declaration
static void BIO_set_init(BIO *a,int i) { a->init=i; }
            ^
/usr/local/include/openssl/bio.h:610:7: note: previous declaration is here
void    BIO_set_init(BIO *a, int init);
        ^
tcponudp/bss_tou.c:99:13: error: static declaration of 'BIO_set_data' follows non-static declaration
static void BIO_set_data(BIO *a,void *p) { a->ptr = p; }
            ^
/usr/local/include/openssl/bio.h:609:7: note: previous declaration is here
void    BIO_set_data(BIO *a, void *ptr);
        ^
3 errors generated.
*** [bss_tou.o] Error code 1

make[2]: stopped in /tmp/ports/usr/ports/net-p2p/retroshare/work/RetroShare-0.6.4/libretroshare/src
...
Comment 1 Walter Schwarzenfeld 2019-09-04 17:49:43 UTC
Created attachment 207192 [details]
svn-diff-retroshare
Comment 2 Ivan Rozhuk 2019-09-09 22:08:54 UTC
Build ok, thanks!
Comment 3 Keren Sky 2020-04-01 12:21:14 UTC
Hi, I'm wondering if this patch has been committed? Does the port work otherwise with libress?
Thanks.
Comment 4 Ivan Rozhuk 2020-04-01 12:35:28 UTC
Works for me.
Comment 5 Ivan Rozhuk 2020-04-16 07:56:44 UTC
maintainer timeout
Comment 6 Daniel Engberg freebsd_committer freebsd_triage 2020-12-21 10:14:09 UTC
It needs more work to build, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250100