aboutsummaryrefslogtreecommitdiffstats
path: root/databases/xmysqladmin/files
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>1999-02-04 18:51:13 +0800
committerdirk <dirk@FreeBSD.org>1999-02-04 18:51:13 +0800
commitcf16ac67257e0e9d4899a1eb406b157282622f8f (patch)
tree67a70e573b1c0f93566945d8dfe5b9da82f47ba0 /databases/xmysqladmin/files
parentcaca42736261728fe0f6c3cb8d065ccd4c8e6e5d (diff)
downloadfreebsd-ports-graphics-cf16ac67257e0e9d4899a1eb406b157282622f8f.tar.gz
freebsd-ports-graphics-cf16ac67257e0e9d4899a1eb406b157282622f8f.tar.zst
freebsd-ports-graphics-cf16ac67257e0e9d4899a1eb406b157282622f8f.zip
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/files')
-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 a1f4d8f5d3c..a2f085f1884 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