ports/83373: [PATCH] databases/p5-Mysql port does not compile

Sven Berkvens-Matthijsse sven at ilse.net
Wed Jul 13 08:40:17 UTC 2005


>Number:         83373
>Category:       ports
>Synopsis:       [PATCH] databases/p5-Mysql port does not compile
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 13 08:40:15 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Sven Berkvens-Matthijsse
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
ilse media
>Environment:
System: FreeBSD serv7.ilse.net 4.10-STABLE FreeBSD 4.10-STABLE #23: Wed Aug 4 15:18:52 CEST 2004 root at tango.ilse.net:/usr/obj/usr/src/sys/BAROQUE i386
>Description:
	The databases/p5-Mysql port does not compile because the mysql_shutdown
	function takes two parameters these days instead of one.
>How-To-Repeat:
	Try to install the port.
>Fix:
	The following contents installed in a file
	/usr/ports/databases/p5-Mysql/files/patch-dbd::myMsql.h
	will solve the problem:


--- dbd/myMsql.h.orig	Wed Jul 13 10:26:06 2005
+++ dbd/myMsql.h	Wed Jul 13 10:26:34 2005
@@ -117,7 +117,7 @@
 #define MyGetHostInfo(s) mysql_get_host_info(s)
 #define MyGetServerInfo(s) mysql_get_server_info(s)
 #define MyGetProtoInfo(s) mysql_get_proto_info(s)
-#define MyShutdown(s) mysql_shutdown(s)
+#define MyShutdown(s) mysql_shutdown(s, SHUTDOWN_DEFAULT)
 #ifdef REFRESH_GRANT
 #define MyReload(s) mysql_refresh(s, \
 				  REFRESH_GRANT|REFRESH_LOG|REFRESH_TABLES)

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list