SOURCES: libxcb-sloppy-lock.patch (NEW) - too many apps broken

arekm arekm at pld-linux.org
Fri Apr 4 11:00:20 CEST 2008


Author: arekm                        Date: Fri Apr  4 09:00:20 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- too many apps broken

---- Files affected:
SOURCES:
   libxcb-sloppy-lock.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/libxcb-sloppy-lock.patch
diff -u /dev/null SOURCES/libxcb-sloppy-lock.patch:1.1
--- /dev/null	Fri Apr  4 11:00:20 2008
+++ SOURCES/libxcb-sloppy-lock.patch	Fri Apr  4 11:00:15 2008
@@ -0,0 +1,16 @@
+Index: libxcb-1.1/src/xcb_conn.c
+===================================================================
+--- libxcb-1.1.orig/src/xcb_conn.c	2008-03-10 12:02:22.000000000 +0200
++++ libxcb-1.1/src/xcb_conn.c	2008-03-10 12:10:21.000000000 +0200
+@@ -62,8 +62,10 @@
+ static int _xcb_xlib_init(_xcb_xlib *xlib)
+ {
+     xlib->lock = 0;
++    xlib->sloppy_lock = 1;
+ #ifndef NDEBUG
+-    xlib->sloppy_lock = (getenv("LIBXCB_ALLOW_SLOPPY_LOCK") != 0);
++    if (getenv("LIBXCB_DISABLE_SLOPPY_LOCK"))
++        xlib->sloppy_lock = 0;
+ #endif
+     pthread_cond_init(&xlib->cond, 0);
+     return 1;
================================================================


More information about the pld-cvs-commit mailing list