Bug 113587 - ERROR: dev-db/mysql-super-smack-1.2 failed.
Bug#: 113587 Product:  Gentoo Linux Version: 2005.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: robbat2@gentoo.org Reported By: znmeb@cesmail.net
Component: Ebuilds
URL: 
Summary: ERROR: dev-db/mysql-super-smack-1.2 failed.
Keywords:  
Status Whiteboard: 
Opened: 2005-11-25 13:49 0000
Description:   Opened: 2005-11-25 13:49 0000
It looks like the PostgreSQL client of "mysql-super-smack" is broken


pg-client.cc:73: error: default argument given for parameter 2 of `int 
   Pg_client::safe_query(const char*, int)'
pg-client.h:35: error: after previous specification in `virtual int 
   Pg_client::safe_query(const char*, int)'
pg-client.cc:110: error: default argument given for parameter 2 of `int 
   Pg_client::compare_result(const char*, int)'
pg-client.h:39: error: after previous specification in `virtual int 
   Pg_client::compare_result(const char*, int)'
pg-client.cc:116: error: default argument given for parameter 2 of `int 
   Pg_client::dump_result(const char*, int)'
pg-client.h:40: error: after previous specification in `virtual int 
   Pg_client::dump_result(const char*, int)'
pg-client.cc: In member function `virtual int Pg_client::dump_result(const 
   char*, int)':
pg-client.cc:121: error: `attach' undeclared (first use this function)
pg-client.cc:121: error: (Each undeclared identifier is reported only once for 
   each function it appears in.)

Turning off the "postgres" USE flag makes it compile, but I want to use this
with PostgreSQL, so that's an undesirable workaround.

------- Comment #1 From Robin Johnson 2005-12-01 00:13:49 0000 -------
what versions of postgres did you try it against?
what versions of postgres did those functions change in?

------- Comment #2 From Robin Johnson 2005-12-11 20:23:54 0000 -------
1.3 is in the tree now.
It builds properly against new versions of postgres.