summaryrefslogtreecommitdiffstats
path: root/databases/xmysqladmin
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>1999-02-04 10:51:13 +0000
committerdirk <dirk@FreeBSD.org>1999-02-04 10:51:13 +0000
commitcf16ac67257e0e9d4899a1eb406b157282622f8f (patch)
tree67a70e573b1c0f93566945d8dfe5b9da82f47ba0 /databases/xmysqladmin
parentcaca42736261728fe0f6c3cb8d065ccd4c8e6e5d (diff)
downloadFreeBSD-ports-cf16ac67257e0e9d4899a1eb406b157282622f8f.zip
FreeBSD-ports-cf16ac67257e0e9d4899a1eb406b157282622f8f.tar.gz
Fix build error:
The API for libmysqlclient was changed a bit for mysql322. (xmysqladmin was written for mysql321.) So a db argument for mysql_real_connect() is necessary now and mysql_init() has to be called in order to initialize the connection struct. Problem reported by: jhk
Diffstat (limited to 'databases/xmysqladmin')
-rw-r--r--databases/xmysqladmin/files/patch-aa13
1 files changed, 12 insertions, 1 deletions
diff --git a/databases/xmysqladmin/files/patch-aa b/databases/xmysqladmin/files/patch-aa
index a1f4d8f..a2f085f 100644
--- a/databases/xmysqladmin/files/patch-aa
+++ b/databases/xmysqladmin/files/patch-aa
@@ -1,5 +1,5 @@
--- Makefile.orig Sat Jan 10 18:17:46 1998
-+++ Makefile Thu Jan 29 13:36:49 1998
++++ Makefile Wed Feb 3 14:14:54 1999
@@ -34,7 +34,7 @@
# This is used by 'make install' command
#-------------------------------------------------------
@@ -18,6 +18,17 @@
########################################################
+@@ -55,8 +55,8 @@
+ # mysql version
+ # mysql_reload() on 3.20, mysql_refresh() on 3.21
+ #-------------------------------------------------------
+-#MYSQL_VERSION = 320 # for versions 3.20.#
+-MYSQL_VERSION = 321 # for versions 3.21.#
++MYSQL_VERSION = 320 # for versions 3.20.#
++#MYSQL_VERSION = 321 # for versions 3.21.#
+
+
+
@@ -93,8 +93,8 @@
# Compilation Details
# hum... I think you dont need to change this
OpenPOWER on IntegriCloud