pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/38509 (pkgsrc/cairo gets the wrong ctime_r on Solaris)



Synopsis: pkgsrc/cairo gets the wrong ctime_r on Solaris

State-Changed-From-To: open->feedback
State-Changed-By: tnn%NetBSD.org@localhost
State-Changed-When: Fri, 25 Apr 2008 18:43:02 +0000
State-Changed-Why:
Does this patch work?

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/cairo/Makefile,v
retrieving revision 1.62
diff -u -r1.62 Makefile
--- Makefile    22 Apr 2008 10:23:09 -0000      1.62
+++ Makefile    25 Apr 2008 18:42:19 -0000
@@ -33,8 +33,8 @@
 BUILDLINK_API_DEPENDS.glitz+=  glitz>=0.5.1
 BUILDLINK_API_DEPENDS.pixman+= pixman>=0.10.0
 
-# For snprintf()
-CPPFLAGS.SunOS+=               -D__EXTENSIONS__
+# For snprintf() and ctime_r()
+CPPFLAGS.SunOS+=               -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS
 
 TEST_TARGET=                   check
 





Home | Main Index | Thread Index | Old Index