Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jul 2018 22:08:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 230202] net/kamailio fails to build with libressl 2.7.4 on FreeBSD 11.2 - patch included
Message-ID:  <bug-230202-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230202

            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@FreeBSD.org
          Reporter: dewayne@heuristicsystems.com.au
          Assignee: pi@FreeBSD.org
             Flags: maintainer-feedback?(pi@FreeBSD.org)
 Attachment #195660 text/plain
         mime type:

Created attachment 195660
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D195660&action=
=3Dedit
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-st=
atic
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-st=
atic
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-st=
atic
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.  :)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230202-7788>