[Bug 231115] www/squid: Fix build with LibreSSL 2.7
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Sep 3 10:41:08 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231115
Bug ID: 231115
Summary: www/squid: Fix build with LibreSSL 2.7
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: brnrd at freebsd.org
CC: timp87 at gmail.com
Flags: maintainer-feedback?(timp87 at gmail.com)
CC: timp87 at gmail.com
Created attachment 196811
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=196811&action=edit
svn diff for www/squid
Current squid package fails to build with LibreSSL due to a difference in
headers.
See e.g.
https://brnrd.eu/poudriere/data/112libre-default/2018-08-28_11h03m40s/logs/errors/squid-4.1_1.log
> --- bio.lo ---
> libtool: compile: c++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/usr/local/etc/squid/squid.conf\" -DDEFAULT_SQUID_DATA_DIR=\"/usr/local/etc/squid\" -DDEFAULT_SQUID_CONFIG_DIR=\"/usr/local/etc/squid\" -I../.. -I../../include -I../../lib -I../../src -I../../include -I../../libltdl -I/usr/include -I/usr/local/include -Werror -Qunused-arguments -Wno-deprecated-register -D_REENTRANT -I/usr/include -O2 -fno-strict-aliasing -pipe -march=native -fstack-protector -I/usr/local/include -MT bio.lo -MD -MP -MF .deps/bio.Tpo -c bio.cc -fPIC -DPIC -o .libs/bio.o
> bio.cc:84:20: error: no matching function for call to 'BIO_new'
> if (BIO *bio = BIO_new(useMethod)) {
> ^~~~~~~
> /usr/include/openssl/bio.h:604:7: note: candidate function not viable: 1st argument ('const BIO_METHOD *' (aka 'const bio_method_st *')) would lose const qualifier
> BIO * BIO_new(BIO_METHOD *type);
> ^
> 1 error generated.
> *** [bio.lo] Error code 1
>
> make[4]: stopped in /wrkdirs/usr/ports/www/squid/work/squid-4.1/src/ssl
patch aligns the behavior with LibreSSL.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list