summaryrefslogtreecommitdiffstats
path: root/testsuite/external
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez-inria.fr>2012-08-09 19:57:27 +0000
committerDamien Doligez <damien.doligez-inria.fr>2012-08-09 19:57:27 +0000
commit065ed361eec0375ef6b5adbab74f3c771f4468d7 (patch)
treea5b04cbad3cff8e53a94e05606d6a96a8316340d /testsuite/external
parentf60564670993e83ce4430d0883b3efb83af9a19e (diff)
make ocaml-mysql work with a vanilla install of mysql
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12848 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'testsuite/external')
-rw-r--r--testsuite/external/ocaml-mysql-1.0.4.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/external/ocaml-mysql-1.0.4.patch b/testsuite/external/ocaml-mysql-1.0.4.patch
new file mode 100644
index 000000000..82da79dfe
--- /dev/null
+++ b/testsuite/external/ocaml-mysql-1.0.4.patch
@@ -0,0 +1,15 @@
+--- ocaml-mysql-1.0.4.orig/mysql_stubs.c 2006-02-24 00:12:36.000000000 +0100
++++ ocaml-mysql-1.0.4/mysql_stubs.c 2012-08-09 20:51:24.000000000 +0200
+@@ -19,9 +19,9 @@
+
+ /* MySQL API */
+
+-#include <mysql/mysql.h>
+-#include <mysql/mysqld_error.h>
+-#include <mysql/errmsg.h>
++#include <mysql.h>
++#include <mysqld_error.h>
++#include <errmsg.h>
+ /* type 'a option = None | Some of 'a */
+
+ #define NONE Val_int(0)