Bug 113253

Summary: Can't compile databases/mysql51-client on Current but compiles on 6.2 stable.Q
Product: Ports & Packages Reporter: Ed Culp <eculp>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Ed Culp 2007-06-02 14:20:03 UTC
Can't compile mysql51 on the last two port upgrades.  Fails with:

if c++ -DUNDEF_THREADS_HACK  -DDEFAULT_MYSQL_HOME="\"/usr/local\""  -DDATADIR="\"/var/db/mysql\"" -I. -I. -I.. -I../include  -I../include  -I../regex       -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe   -felide-constructors -fno-rtti -fno-exceptions   -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT mysql.o -MD -MP -MF ".deps/mysql.Tpo" -c -o mysql.o mysql.cc;  then mv -f ".deps/mysql.Tpo" ".deps/mysql.Po"; else rm -f ".deps/mysql.Tpo"; exit 1; fi
mysql.cc: In function 'void print_table_data(MYSQL_RES*)':
mysql.cc:2361: error: 'max' was not declared in this scope
mysql.cc:2363: error: 'max' was not declared in this scope
mysql.cc:2384: error: 'min' was not declared in this scope
*** Error code 1

Stop in /usr/ports/databases/mysql51-client/work/mysql-5.1.19-beta/client.
*** Error code 1

How-To-Repeat: cd /usr/ports/databases/mysql51-client
make
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-06-02 23:10:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2007-07-02 13:42:01 UTC
State Changed
From-To: open->closed

It should be fixed now.