summaryrefslogtreecommitdiff
path: root/databases/ruby-mysql/files
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2006-09-21 15:14:21 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2006-09-21 15:14:21 +0000
commit5d5f30fef106fdbd5b2b6f502d4258edea5d503d (patch)
treec0944542ad6db5c5645f533ffed28187ef02d0a6 /databases/ruby-mysql/files
parentUpdate to 2006.09.20. (diff)
Add a ad-hoc patch and unbreak.
The problem is in MySQL 5.0.24a, as addressed in the following bug report: http://bugs.mysql.com/bug.php?id=22227
Notes
Notes: svn path=/head/; revision=173542
Diffstat (limited to 'databases/ruby-mysql/files')
-rw-r--r--databases/ruby-mysql/files/patch-mysql.c.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/databases/ruby-mysql/files/patch-mysql.c.in b/databases/ruby-mysql/files/patch-mysql.c.in
new file mode 100644
index 000000000000..b9201b9ead72
--- /dev/null
+++ b/databases/ruby-mysql/files/patch-mysql.c.in
@@ -0,0 +1,10 @@
+--- mysql.c.in.orig Sun Jun 4 23:29:28 2006
++++ mysql.c.in Fri Sep 22 00:11:03 2006
+@@ -5,6 +5,7 @@
+ #include "ruby.h"
+ #include "version.h"
+ #ifdef HAVE_MYSQL_H
++#include <my_global.h>
+ #include <mysql.h>
+ #include <errmsg.h>
+ #include <mysqld_error.h>