Bug 239486 - net-p2p/retroshare: fails to build with libressl
Summary: net-p2p/retroshare: fails to build with libressl
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-28 01:24 UTC by Ivan Rozhuk
Modified: 2021-09-26 22:34 UTC (History)
5 users (show)

See Also:
rozhuk.im: maintainer-feedback-
rozhuk.im: merge-quarterly?


Attachments
svn-diff-retroshare (2.32 KB, patch)
2019-09-04 17:49 UTC, Walter Schwarzenfeld
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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