[Bug 196139] www/apache24: Unbreak build with security/libressl

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Dec 20 11:41:18 UTC 2014


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

--- Comment #9 from Olli Hauer <ohauer at FreeBSD.org> ---
Hi Bernhard,

thanks for the hint!

After building a fresh test tree with libressl apache24 build stopped with the
following error.


>From the apache24 build log:

In file included from mod_ssl.c:27:
In file included from ./ssl_private.h:181:
./ssl_util_ssl.h:73:13: error: conflicting types for
'SSL_CTX_use_certificate_chain'
int         SSL_CTX_use_certificate_chain(SSL_CTX *, char *, int,
pem_password_cb *);
            ^
/usr/local/include/openssl/ssl.h:1548:5: note: previous declaration is here
int     SSL_CTX_use_certificate_chain(SSL_CTX *ctx, void *buf, int len);
        ^
1 error generated.
*** Error code 1


To make sure the build is really against libressl I defined an additional build
step on a second run.

post-extract:
 ${MV} /usr/include/openssl /usr/include/openssl.base

pre-install:
 ${MV} /usr/include/openssl.base /usr/include/openssl


Will investigate later this evening.

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


More information about the freebsd-apache mailing list