Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Aug 2018 17:52:22 +0000 (UTC)
From:      Mahdi Mokhtari <mmokhi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r476934 - in head/databases/mysql57-server: . files
Message-ID:  <201808111752.w7BHqMPi066342@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mmokhi
Date: Sat Aug 11 17:52:22 2018
New Revision: 476934
URL: https://svnweb.freebsd.org/changeset/ports/476934

Log:
  mysql57-server: Fix build with LibreSSL 2.7
  
  PR:		230527
  Submitted by:	Markus Kohlmeyer <rootservice@gmail.com>
  Reported by:	Markus Kohlmeyer <rootservice@gmail.com>
  Sponsored by:	The FreeBSD Foundation

Added:
  head/databases/mysql57-server/files/patch-sql_mysqld.cc   (contents, props changed)
Modified:
  head/databases/mysql57-server/Makefile

Modified: head/databases/mysql57-server/Makefile
==============================================================================
--- head/databases/mysql57-server/Makefile	Sat Aug 11 17:50:17 2018	(r476933)
+++ head/databases/mysql57-server/Makefile	Sat Aug 11 17:52:22 2018	(r476934)
@@ -3,7 +3,7 @@
 
 PORTNAME?=	mysql
 PORTVERSION=	5.7.23
-PORTREVISION?=	0
+PORTREVISION?=	1
 CATEGORIES=	databases ipv6
 MASTER_SITES=	MYSQL/MySQL-5.7
 PKGNAMESUFFIX?=	57-server

Added: head/databases/mysql57-server/files/patch-sql_mysqld.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/mysql57-server/files/patch-sql_mysqld.cc	Sat Aug 11 17:52:22 2018	(r476934)
@@ -0,0 +1,11 @@
+--- sql/mysqld.cc.orig	2018-06-08 11:56:29.000000000 +0200
++++ sql/mysqld.cc	2018-08-11 13:38:48.782595000 +0200
+@@ -3408,7 +3408,7 @@
+ {
+ #ifdef HAVE_OPENSSL
+ #ifndef HAVE_YASSL
+-#if OPENSSL_VERSION_NUMBER < 0x10100000L
++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
+   CRYPTO_malloc_init();
+ #else /* OPENSSL_VERSION_NUMBER < 0x10100000L */
+   OPENSSL_malloc_init();



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