Index: databases/p5-DBD-mysql/files/patch-dbdimp.c =================================================================== --- databases/p5-DBD-mysql/files/patch-dbdimp.c (nonexistent) +++ databases/p5-DBD-mysql/files/patch-dbdimp.c (working copy) @@ -0,0 +1,17 @@ +--- dbdimp.c.orig 2017-02-28 13:36:40 UTC ++++ dbdimp.c +@@ -2151,11 +2151,14 @@ MYSQL *mysql_dr_connect( + imp_dbh->async_query_in_flight = NULL; + } + ++#ifndef MARIADB_BASE_VERSION + /* + we turn off Mysql's auto reconnect and handle re-connecting ourselves + so that we can keep track of when this happens. ++ MariaDB's implementation does not have the reconnect member + */ + result->reconnect=0; ++#endif + } + else { + /* Property changes on: databases/p5-DBD-mysql/files/patch-dbdimp.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: databases/p5-DBD-mysql/files/patch-dbdimp.h =================================================================== --- databases/p5-DBD-mysql/files/patch-dbdimp.h (nonexistent) +++ databases/p5-DBD-mysql/files/patch-dbdimp.h (working copy) @@ -0,0 +1,10 @@ +--- dbdimp.h.orig 2017-02-28 13:36:40 UTC ++++ dbdimp.h +@@ -19,6 +19,7 @@ + */ + #include /* installed by the DBI module */ + #include /* Comes with MySQL-devel */ ++#include /* MariaDB does not include this in mysql.h */ + #include /* Comes MySQL */ + + #include /* Comes with MySQL-devel */ Property changes on: databases/p5-DBD-mysql/files/patch-dbdimp.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property