[Bug 230527] databases/mysql57-server: 5.7.23 fix build with LibreSSL 2.7

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Aug 11 12:19:42 UTC 2018


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

            Bug ID: 230527
           Summary: databases/mysql57-server:  5.7.23 fix build with
                    LibreSSL 2.7
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: mmokhi at freebsd.org
          Reporter: rootservice at gmail.com
          Assignee: mmokhi at freebsd.org
             Flags: maintainer-feedback?(mmokhi at freebsd.org)

Created attachment 196078
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=196078&action=edit
patch-sql_mysqld.cc

This patch fixes a build error with LibreSSL 2.7:

[ 97%] Building CXX object sql/CMakeFiles/sql.dir/mysqld_thd_manager.cc.o
cd /usr/ports/databases/mysql57-server/work/.build/sql && /usr/bin/c++ 
-DGTEST_USE_OWN_TR1_TUPLE=1 -DHAVE_CONFIG_H -DHAVE_LIBEVENT2 -DHAVE_OPENSSL
-DHAVE_REPLICATION -DMYSQL_SERVER
-I/usr/ports/databases/mysql57-server/work/.build/include
-I/usr/ports/databases/mysql57-server/work/mysql-5.7.23/extra/rapidjson/include
-I/usr/ports/databases/mysql57-server/work/.build/libbinlogevents/include
-I/usr/ports/databases/mysql57-server/work/mysql-5.7.23/libbinlogevents/export
-I/usr/ports/databases/mysql57-server/work/mysql-5.7.23/include
-I/usr/ports/databases/mysql57-server/work/mysql-5.7.23/sql/conn_handler
-I/usr/ports/databases/mysql57-server/work/mysql-5.7.23/libbinlogevents/include
-I/usr/ports/databases/mysql57-server/work/mysql-5.7.23/sql
-I/usr/ports/databases/mysql57-server/work/mysql-5.7.23/sql/auth
-I/usr/ports/databases/mysql57-server/work/mysql-5.7.23/regex
-I/usr/local/include -I/usr/ports/databases/mysql57-server/work/.build/sql
-I/usr/ports/databases/mysql57-server/work/.build -isystem
/usr/ports/databases/mysql57-server/work/mysql-5.7.23/include/boost_1_59_0/patches
-isystem
/usr/ports/databases/mysql57-server/work/mysql-5.7.23/boost/boost_1_59_0 -O2
-pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing 
-isystem /usr/local/include -Wall -Wextra -Wformat-security -Wvla
-Woverloaded-virtual -Wno-unused-parameter -Wno-null-conversion
-Wno-unused-private-field -O2 -pipe -fstack-protector -isystem
/usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -DDBUG_OFF
-fPIC -o CMakeFiles/sql.dir/mysqld_thd_manager.cc.o -c
/usr/ports/databases/mysql57-server/work/mysql-5.7.23/sql/mysqld_thd_manager.cc
--- sql/CMakeFiles/sql.dir/mysqld.cc.o ---
/usr/ports/databases/mysql57-server/work/mysql-5.7.23/sql/mysqld.cc:3414:3:
error: use of undeclared identifier 'OPENSSL_malloc_init'
  OPENSSL_malloc_init();
  ^

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


More information about the freebsd-ports-bugs mailing list