<br><br><div class="gmail_quote">On Wed, Jul 2, 2008 at 5:07 AM, sam sirlin <<a href="mailto:samuel.w.sirlin@jpl.nasa.gov">samuel.w.sirlin@jpl.nasa.gov</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Mon, 9 Jun 2008 19:08:22 +0900<br>
<div class="Ih2E3d">"Hung Nguyen Vu" <<a href="mailto:vuhung16plus%2Bshape@gmail.com">vuhung16plus+shape@gmail.com</a>> wrote:<br>
<br>
> On Mon, Jun 9, 2008 at 4:27 PM, Hung Nguyen Vu<br>
> <<a href="mailto:vuhung16plus%2Bshape@gmail.com">vuhung16plus+shape@gmail.com</a>> wrote:<br>
> ><br>
> ><br>
> > On Mon, Jun 9, 2008 at 4:48 PM, Malay HALDER <<a href="mailto:malay.halder@alcatel-lucent.com">malay.halder@alcatel-lucent.com</a>> wrote:<br>
> >><br>
> >> /users/toolsrd/ws/si_ctoolrd/gtk/production/sources/cairo-1.6.4/src/cairo-ps-surface.c: In function '_cairo_ps_surface_emit_header':<br>
> >> /users/toolsrd/ws/si_ctoolrd/gtk/production/sources/cairo-1.6.4/src/cairo-ps-surface.c:110: error: too few arguments to function 'ctime_r'<br>
> >> gmake[3]: *** [libcairo_la-cairo-ps-surface.lo] Error 1<br>
> ><br>
> > If you don't use ps ( PostScript), you can disable it with.<br>
> ><br>
> > make clean; ./configure --enable-ps=no; make<br>
> ><br>
> > Possibly, this is a bug that has not been tested. The funtion ctime_r is different under Solaris[1:.<br>
> > ATM, I don't have Solaris to verify the bug nor fix it it is likely to be.<br>
> ><br>
> > [1] <a href="http://www.openldap.org/lists/openldap-bugs/199812/msg00110.html" target="_blank">http://www.openldap.org/lists/openldap-bugs/199812/msg00110.html</a><br>
> Openldap has a fix for this bug like this.<br>
> FYI for anyone interested in a patch.<br>
> <a href="http://www.openldap.org/lists/openldap-bugs/199812/msg00105.html" target="_blank">http://www.openldap.org/lists/openldap-bugs/199812/msg00105.html</a><br>
<br>
</div>Yes. the manpage for ctime_r on solaris says<br>
<br>
char *ctime_r(const time_t *clock, char *buf, int buflen);<br>
<br>
so this allows compilation in cairo-ps-surface.c:<br>
/* sws solaris needs len ctime_r<br>
(&now, ctime_\ buf), */<br>
ctime_r (&now, ctime_buf, 25),<br>
<br>
probably the hard number should be a #define...<br>
<font color="#888888"><br>
</font></blockquote><div>Anyone interested in contributing a patch? :)<br><br>I don't have Solaris 10 now I can't do anything<br></div></div><br clear="all"><br>-- <br>Best Regards,<br>Nguyen Hung Vu ( Nguyễn Vũ Hưng )<br>
<a href="mailto:vuhung16plus%7Bremove%7D@gmail.dot.com">vuhung16plus{remove}@gmail.dot.com</a> , YIM: vuhung16 , Skype: vuhung16dg<br>Japan through an eye of a gaijin:<br><a href="http://www.flickr.com/photos/vuhung/tags/fav/">http://www.flickr.com/photos/vuhung/tags/fav/</a>