cairo 1.6.4 does not build under Solaris, where you need to define _POSIX_PTHREAD_SEMANTICS to get ctime_r definition. Here is a suggested patch: 2008-04-17 Arnaud Charlet <charlet@adacore.com> * src/cairo-ps-surface.c: Define _POSIX_PTHREAD_SEMANTICS, needed under Solaris. --- src/cairo-ps-surface.c.old 2008-04-17 15:14:36.996930195 +0200 +++ src/cairo-ps-surface.c 2008-04-17 15:15:36.527525972 +0200 @@ -41,6 +41,7 @@ */ #define _BSD_SOURCE /* for ctime_r(), snprintf(), strdup() */ +#define _POSIX_PTHREAD_SEMANTICS #include "cairoint.h" #include "cairo-ps.h" #include "cairo-ps-surface-private.h"
*** This bug has been marked as a duplicate of bug 15463 ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.