Module Name:    src
Committed By:   jmcneill
Date:           Thu Jan 31 12:21:12 UTC 2013

Modified Files:
        src/external/mit/xorg/lib/pixman: Makefile

Log Message:
Remove PIXMAN_NO_TLS and replace with HAVE_PTHREAD_SETSPECIFIC so the
installed library is actually thread-safe.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/external/mit/xorg/lib/pixman/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/pixman/Makefile
diff -u src/external/mit/xorg/lib/pixman/Makefile:1.15 src/external/mit/xorg/lib/pixman/Makefile:1.16
--- src/external/mit/xorg/lib/pixman/Makefile:1.15	Thu Jan 31 10:58:22 2013
+++ src/external/mit/xorg/lib/pixman/Makefile	Thu Jan 31 12:21:12 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.15 2013/01/31 10:58:22 jmcneill Exp $
+#	$NetBSD: Makefile,v 1.16 2013/01/31 12:21:12 jmcneill Exp $
 
 NOLINT=	1	# defined
 
@@ -85,8 +85,9 @@ CPPFLAGS+=	-DHAVE_CONFIG_H \
 		-I${X11SRCDIR.pixman}/../combine \
 		-I${X11SRCDIR.pixman}/pixman
 
-# XXX!  wants __thread
-CPPFLAGS+=	-DPIXMAN_NO_TLS
+# With pixman 0.28.3, HAVE_PTHREAD_SETSPECIFIC is much faster than TLS
+CPPFLAGS+=	-DHAVE_PTHREAD_SETSPECIFIC
+#CPPFLAGS+=	-DTLS=__thread
 
 LIBDPLIBS=	m	${.CURDIR}/../../../../../lib/libm
 

Reply via email to