diff options
-rw-r--r-- | databases/p5-DBD-mysql/files/patch-mysql.xs | 14 | ||||
-rw-r--r-- | databases/p5-DBD-mysql41/Makefile | 2 |
2 files changed, 14 insertions, 2 deletions
diff --git a/databases/p5-DBD-mysql/files/patch-mysql.xs b/databases/p5-DBD-mysql/files/patch-mysql.xs new file mode 100644 index 000000000000..86bf6e093033 --- /dev/null +++ b/databases/p5-DBD-mysql/files/patch-mysql.xs @@ -0,0 +1,14 @@ +--- mysql.xs.orig Fri Oct 17 19:20:50 2003 ++++ mysql.xs Tue Jun 29 05:03:15 2004 +@@ -97,7 +97,11 @@ + } + + if (strEQ(command, "shutdown")) { ++#if MYSQL_VERSION_ID < 40103 + result = mysql_shutdown(sock); ++#else ++ result = mysql_shutdown(sock, SHUTDOWN_DEFAULT); ++#endif + } else if (strEQ(command, "reload")) { + result = mysql_reload(sock); + } else if (strEQ(command, "createdb")) { diff --git a/databases/p5-DBD-mysql41/Makefile b/databases/p5-DBD-mysql41/Makefile index 5e5e743e4dc2..8306cecfd76c 100644 --- a/databases/p5-DBD-mysql41/Makefile +++ b/databases/p5-DBD-mysql41/Makefile @@ -15,6 +15,4 @@ WANT_MYSQL_VER= 41 MASTERDIR= ${.CURDIR}/../p5-DBD-mysql -BROKEN= "Does not compile" - .include "${MASTERDIR}/Makefile" |