Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jul 2005 10:32:39 +0200 (CEST)
From:      Sven Berkvens-Matthijsse <sven@ilse.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/83373: [PATCH] databases/p5-Mysql port does not compile
Message-ID:  <200507130832.j6D8WdOP072864@serv7.ilse.net>
Resent-Message-ID: <200507130840.j6D8eFbe022138@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507130832.j6D8WdOP072864>