Bug 227531 - [gcc-4.3] sci-astronomy/skycat-3.0.1 fails to compile w/ gcc-4.3
Bug#: 227531 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: sci@gentoo.org Reported By: mlm@ngc17.pl
Component: Applications
URL: 
Summary: [gcc-4.3] sci-astronomy/skycat-3.0.1 fails to compile w/ gcc-4.3
Keywords:  
Status Whiteboard: 
Opened: 2008-06-16 17:39 0000
Description:   Opened: 2008-06-16 17:39 0000
Again missing headers.

Steps to reproduce:
1. echo "=sci-astronomy/skycat-3.0.1" >> /etc/portage/package.keywords
2. USE="threads" emerge -v1 =sci-astronomy/skycat-3.0.1

The error messages:
1.
> ./../cat/generic/AstroQuery.h: In member function 'int AstroQuery::id(const char*)':
> ./../cat/generic/AstroQuery.h:74: error: 'strdup' was not declared in this scope

My emerge --info: as in the bug 226663, comment 2.

------- Comment #1 From Marek Miller 2008-06-16 17:39:49 0000 -------
Created an attachment (id=157117) [details]
skycat-3.0.1-gcc43.patch

------- Comment #2 From Marek Miller 2008-06-16 18:28:01 0000 -------
Now all packages in sci-astronomy either are reported to Bugzilla or compile
fine under gcc-4.3.

------- Comment #3 From Sébastien Fabbro 2008-06-17 08:59:13 0000 -------
fixed in cvs, thanks!