mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
databases/mariadb-connector-c: Update to 2.3.2
- Update to 2.3.2 - Fix build with LibreSSL
This commit is contained in:
parent
742334791f
commit
ce2b542ee7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=438528
3 changed files with 7 additions and 17 deletions
|
@ -1,8 +1,7 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= mariadb
|
PORTNAME= mariadb
|
||||||
PORTVERSION= 2.3.1
|
PORTVERSION= 2.3.2
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= databases ipv6
|
CATEGORIES= databases ipv6
|
||||||
MASTER_SITES= http://ftp.osuosl.org/pub/${SITESDIR}/ \
|
MASTER_SITES= http://ftp.osuosl.org/pub/${SITESDIR}/ \
|
||||||
http://mirrors.supportex.net/${SITESDIR}/ \
|
http://mirrors.supportex.net/${SITESDIR}/ \
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
TIMESTAMP = 1484488531
|
TIMESTAMP = 1492184849
|
||||||
SHA256 (mariadb-connector-c-2.3.1-src.tar.gz) = 6ab7e1477ae1484939675a3b499f98148980a0bd340d15d22df00a5c6656c633
|
SHA256 (mariadb-connector-c-2.3.2-src.tar.gz) = 4063c8655dc37608d4eade981e25b76f67f5d36e8426dc7f20d59e48ebba628a
|
||||||
SIZE (mariadb-connector-c-2.3.1-src.tar.gz) = 536755
|
SIZE (mariadb-connector-c-2.3.2-src.tar.gz) = 538172
|
||||||
|
|
|
@ -1,20 +1,11 @@
|
||||||
--- libmariadb/ma_secure.c.orig 2016-08-03 15:39:12 UTC
|
--- libmariadb/ma_secure.c.orig 2017-01-17 09:53:54 UTC
|
||||||
+++ libmariadb/ma_secure.c
|
+++ libmariadb/ma_secure.c
|
||||||
@@ -74,7 +74,7 @@ static void my_SSL_error(MYSQL *mysql)
|
|
||||||
Crypto call back functions will be
|
|
||||||
set during ssl_initialization
|
|
||||||
*/
|
|
||||||
-#if OPENSSL_VERSION_NUMBER < 0x10100000
|
|
||||||
+#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER)
|
|
||||||
#if (OPENSSL_VERSION_NUMBER < 0x10000000)
|
|
||||||
static unsigned long my_cb_threadid(void)
|
|
||||||
{
|
|
||||||
@@ -149,11 +149,11 @@ int my_ssl_start(MYSQL *mysql)
|
@@ -149,11 +149,11 @@ int my_ssl_start(MYSQL *mysql)
|
||||||
pthread_mutex_lock(&LOCK_ssl_config);
|
pthread_mutex_lock(&LOCK_ssl_config);
|
||||||
if (!my_ssl_initialized)
|
if (!my_ssl_initialized)
|
||||||
{
|
{
|
||||||
-#if OPENSSL_VERSION_NUMBER < 0x10100000
|
-#if OPENSSL_VERSION_NUMBER < 0x10100000
|
||||||
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
+#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER)
|
||||||
if (ssl_crypto_init())
|
if (ssl_crypto_init())
|
||||||
goto end;
|
goto end;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue