Some header files from the dev-libs/libpq++ package have DLLIMPORT in the class declarations. gcc 3.2.3 didn't like that and complained about syntax errors when trying to compile libdbmusic-0.7.0 (not yet in the ports tree). It might just be a missing header file in which this identifier would have been introduced However, I simply removed all the DLLIMPORT keywords and woosh, everything compiled smoothly. kmusicdb-0.11.0 also compiled and seems to perfectly. Reproducible: Always Steps to Reproduce: 1. emerge libpq++ # version 4.0 2. emerge libdbmusic # version 0.7.0, not yet in ports tree Actual Results: syntax error Expected Results: clean compilation To emerge libmusicdb, I reused libdbmusic-0.4.1.ebuild without any modifications (except for removing the beta1-part in the src uri)
This is a C++ library for postgres (ie. not a sound thing)
Cleaned up, added a patch to remove the DLLIMPORTs from the header files. libdbmusic-4.1 now compiles again.