[Bug 230202] net/kamailio fails to build with libressl 2.7.4 on FreeBSD 11.2 - patch included

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 30 22:08:56 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230202

            Bug ID: 230202
           Summary: net/kamailio fails to build with libressl 2.7.4 on
                    FreeBSD 11.2 - patch included
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: pi at FreeBSD.org
          Reporter: dewayne at heuristicsystems.com.au
          Assignee: pi at FreeBSD.org
             Flags: maintainer-feedback?(pi at FreeBSD.org)
 Attachment #195660 text/plain
         mime type:

Created attachment 195660
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=195660&action=edit
Patch for tls_bio.c using libressl

Kamailio experiences these errors during a port build on FreeBSD 11.2S amd64
using libressl 2.7.4
tls_bio.c:88:14: error: static declaration of 'BIO_get_data' follows non-static
declaration
static void *BIO_get_data(BIO *b)
             ^
/usr/local/include/openssl/bio.h:608:8: note: previous declaration is here
void    *BIO_get_data(BIO *a);
         ^
tls_bio.c:92:13: error: static declaration of 'BIO_set_data' follows non-static
declaration
static void BIO_set_data(BIO *b, void *ptr)
            ^
/usr/local/include/openssl/bio.h:609:7: note: previous declaration is here
void    BIO_set_data(BIO *a, void *ptr);
        ^
tls_bio.c:96:13: error: static declaration of 'BIO_set_init' follows non-static
declaration
static void BIO_set_init(BIO *b, int init)
            ^
/usr/local/include/openssl/bio.h:610:7: note: previous declaration is here
void    BIO_set_init(BIO *a, int init);

These declarations do not exist in the include files for openssl 1.0.2o, via
ports.

Building is successful with the enclosed patch.  :)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list