aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
Diffstat (limited to 'databases')
-rw-r--r--databases/mariadb102-client/Makefile1
-rw-r--r--databases/mariadb102-client/files/patch-libmariadb_include_mariadb__version.h.in21
2 files changed, 22 insertions, 0 deletions
diff --git a/databases/mariadb102-client/Makefile b/databases/mariadb102-client/Makefile
index 59d0b0af46b3..f7d19b97f63b 100644
--- a/databases/mariadb102-client/Makefile
+++ b/databases/mariadb102-client/Makefile
@@ -1,6 +1,7 @@
# $FreeBSD$
PORTNAME= mariadb
+PORTREVISION= 2
PKGNAMESUFFIX= 102-client
COMMENT= Multithreaded SQL database (client)
diff --git a/databases/mariadb102-client/files/patch-libmariadb_include_mariadb__version.h.in b/databases/mariadb102-client/files/patch-libmariadb_include_mariadb__version.h.in
new file mode 100644
index 000000000000..404c87b91f1e
--- /dev/null
+++ b/databases/mariadb102-client/files/patch-libmariadb_include_mariadb__version.h.in
@@ -0,0 +1,21 @@
+From 422d0f786e5e6eb103000a75738322c8baa9aa12 Mon Sep 17 00:00:00 2001
+From: Georg Richter <georg@mariadb.com>
+Date: Wed, 7 Jun 2017 10:35:35 +0200
+Subject: [PATCH] Added MYSQL_VERSION_ID (beside MARIADB_VERSION_ID)
+
+---
+ include/mariadb_version.h.in | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/include/mariadb_version.h.in b/include/mariadb_version.h.in
+index c401d04..a82102f 100644
+--- libmariadb/include/mariadb_version.h.in.orig 2017-05-14 23:13:15 UTC
++++ libmariadb/include/mariadb_version.h.in
+@@ -12,6 +12,7 @@
+ #define PROTOCOL_VERSION @PROTOCOL_VERSION@
+ #define MARIADB_CLIENT_VERSION_STR "@MARIADB_CLIENT_VERSION@"
+ #define MARIADB_VERSION_ID @MARIADB_VERSION_ID@
++#define MYSQL_VERSION_ID @MARIADB_VERSION_ID@
+ #define MARIADB_PORT @MARIADB_PORT@
+ #define MARIADB_UNIX_ADDR "@MARIADB_UNIX_ADDR@"
+ #define MYSQL_CONFIG_NAME "my"