freebsd-ports/databases/ruby-mysql/files/patch-mysql.c.in
Akinori MUSHA 5d5f30fef1 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
2006-09-21 15:14:21 +00:00

10 lines
255 B
C

--- 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>