When trying to compile py-MySQLdb-1.0.0 as follows: root@tom:/usr/ports/databases/py-MySQLdb# make the compile exits with the following error: running build_ext building '_mysql' extension creating build/temp.freebsd-4.10-STABLE-i386-2.3 cc -fno-strict-aliasing -DNDEBUG -O -pipe -march=pentiumpro -D_THREAD_SAFE -DTHREAD_STACK_SIZE=0x20000 -O -pipe -march=pentiumpro -fPIC -I/usr/local/include/mysql -I/usr/local/include/python2.3 -c _mysql.c -o build/temp.freebsd-4.10-STABLE-i386-2.3/_mysql.o _mysql.c: In function `_mysql_ConnectionObject_shutdown': _mysql.c:1548: `SHUTDOWN_DEFAULT' undeclared (first use in this function) _mysql.c:1548: (Each undeclared identifier is reported only once _mysql.c:1548: for each function it appears in.) _mysql.c:1548: too many arguments to function `mysql_shutdown' error: command 'cc' failed with exit status 1 *** Error code 1 Stop in /usr/ports/databases/py-MySQLdb. Fix: this is the diff. you know what to do. I check-ed it and verified it and it works. root@tom:/usr/ports/databases/py-MySQLdb/files# diff patch-_mysql.c.orig patch-_mysql.c 13c13 < +#if MYSQL_VERSION_ID >= 040103 --- > +#if MYSQL_VERSION_ID >= 40103 How-To-Repeat: recompile the software. I'm using mysql-4.0.20, installed from ports.
Responsible Changed From-To: freebsd-ports-bugs->clement Over to maintainer.
State Changed From-To: open->closed Fix committed, thanks!