Bug 72656 - [ patch ] databases/py-MySQLdb: fix build with mysql-client-5.0.x
Summary: [ patch ] databases/py-MySQLdb: fix build with mysql-client-5.0.x
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Clement Laforet
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-13 20:20 UTC by Roman Bogorodskiy
Modified: 2004-11-28 21:45 UTC (History)
0 users

See Also:


Attachments
file.diff (466 bytes, patch)
2004-10-13 20:20 UTC, Roman Bogorodskiy
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Bogorodskiy 2004-10-13 20:20:17 UTC
	When I'm trying to build databases/py-MySQLdb with mysql-client-5.0.0_2,
	I get such error:

_mysql.c: In function `_mysql_ConnectionObject_shutdown':
_mysql.c:1548: error: `SHUTDOWN_DEFAULT' undeclared (first use in this function)
_mysql.c:1548: error: (Each undeclared identifier is reported only once
_mysql.c:1548: error: for each function it appears in.)
_mysql.c:1548: error: too many arguments to function `mysql_shutdown'
error: command 'cc' failed with exit status 1

	Looks like in mysql 5.0.x only one argument for mysql_shutdown() is 
	needed. I've attached patch which fixes build for me.

How-To-Repeat: 	Build databases/py-MySQLdb with databases/mysql50-client.
Comment 1 Sergei Kolobov freebsd_committer freebsd_triage 2004-10-13 22:03:22 UTC
Responsible Changed
From-To: freebsd-ports-bugs->clement

Over to maintainer.
Comment 2 Clement Laforet freebsd_committer freebsd_triage 2004-11-28 21:44:43 UTC
State Changed
From-To: open->closed

Committed, thanks!