Bug 76054 - Update port: databases/mysql41-server fix compile with old gcc
Summary: Update port: databases/mysql41-server fix compile with old gcc
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-10 14:10 UTC by Marcus Grando
Modified: 2005-01-10 15:38 UTC (History)
1 user (show)

See Also:


Attachments
mysql41-server.patch (733 bytes, patch)
2005-01-10 14:10 UTC, Marcus Grando
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Grando 2005-01-10 14:10:11 UTC
Update port: databases/mysql41-server fix compile with old gcc

# gcc -v
Using builtin specs.
gcc version 2.95.4 20020320 [FreeBSD]

-- begin error --
source='main.cpp' object='main.o' libtool=no  depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo'  depmode=gcc /bin/sh ../../../depcomp  cc -DHAVE_CONFIG_H 
-DNDEBUG -I. -I. -I../../..   -I. -I../../../include -I../../../ndb/include  -I../../../ndb/include/kernel  -I../../../ndb/include/transporter  
-I../../../ndb/include/debugger  -I../../../ndb/include/mgmapi  -I../../../ndb/include/mgmcommon  -I../../../ndb/include/ndbapi  -I../../../ndb/include/util  
-I../../../ndb/include/portlib  -I../../../ndb/include/logger -I../../../ndb/include/mgmapi  -I../../../ndb/src/common/mgmcommon     -DDBUG_OFF  -O3 -pipe 
-funroll-loops -ffast-math  -D_THREAD_SAFE -O3 -fno-omit-frame-pointer -O3 -pipe -funroll-loops -ffast-math  -D_THREAD_SAFE -O3 -fno-omit-frame-pointer 
-felide-constructors -fno-rtti -fno-exceptions   -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000  -c -o main.o main.cpp
main.cpp: In function `int read_and_execute(int)':
main.cpp:125: passing `const char *' as argument 1 of `readline(char *)' discards qualifiers
*** Error code 1

Stop in /usr/ports/databases/mysql41-server/work/mysql-4.1.8a/ndb/src/mgmclient.
*** Error code 1

Stop in /usr/ports/databases/mysql41-server/work/mysql-4.1.8a/ndb/src.
*** Error code 1

Stop in /usr/ports/databases/mysql41-server/work/mysql-4.1.8a/ndb.
*** Error code 1

Stop in /usr/ports/databases/mysql41-server/work/mysql-4.1.8a.
*** Error code 1

Stop in /usr/ports/databases/mysql41-server/work/mysql-4.1.8a.
*** Error code 1

Stop in /usr/ports/databases/mysql41-server.
-- end error --
Comment 1 Alex Dupre freebsd_committer freebsd_triage 2005-01-10 15:38:24 UTC
State Changed
From-To: open->closed

Committed, thanks!