Recent versions of libart_lgpl changed the declarations of art_alloc, art_free, art_realloc from #defines to real functions, but didn't wrap these with with extern "C", which can/will cause c++ apps that use libart to fail linking. The following patch addresses that: - libart_lgpl-2.3.19/art_misc.h.extern-c 2007-01-02 00:59:22.000000000 +0100 +++ libart_lgpl-2.3.19/art_misc.h 2007-03-01 09:19:06.000000000 +0100 @@ -34,9 +34,15 @@ #include <libart_lgpl/art_config.h> #endif +#ifdef __cplusplus +extern "C" { +#endif void *art_alloc(size_t size); void art_free(void *ptr); void *art_realloc(void *ptr, size_t size); +#ifdef __cplusplus +} +#endif /* __cplusplus */
FYI, Just read on the kde-packager ml that this fix has already been applied upstream, and will (presumably) be included in the next release. Dunno how long a new release will take though, so fixing this asap would be appreciated (since it blocks kdelibs (re)builds).
Building 2.3.19-2.