summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/libxcb/libxcb-1.1-sloppy-lock.patch
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-01-16 06:05:04 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-01-16 06:05:04 (GMT)
commit38194ecb24d72258fd994cdb8aef7d34035c19b3 (patch)
treed82b9d2db6fe160295aa36837ce92e6960ddce1a /abs/core-testing/libxcb/libxcb-1.1-sloppy-lock.patch
parent7d87c5855f8b107fcc0f7f61956c60c6c8fdf53c (diff)
downloadlinhes_pkgbuild-38194ecb24d72258fd994cdb8aef7d34035c19b3.zip
linhes_pkgbuild-38194ecb24d72258fd994cdb8aef7d34035c19b3.tar.gz
linhes_pkgbuild-38194ecb24d72258fd994cdb8aef7d34035c19b3.tar.bz2
Fixed location of packages.
Diffstat (limited to 'abs/core-testing/libxcb/libxcb-1.1-sloppy-lock.patch')
-rw-r--r--abs/core-testing/libxcb/libxcb-1.1-sloppy-lock.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/abs/core-testing/libxcb/libxcb-1.1-sloppy-lock.patch b/abs/core-testing/libxcb/libxcb-1.1-sloppy-lock.patch
new file mode 100644
index 0000000..130890e
--- /dev/null
+++ b/abs/core-testing/libxcb/libxcb-1.1-sloppy-lock.patch
@@ -0,0 +1,12 @@
+diff -up libxcb-1.1/src/xcb_conn.c.jx libxcb-1.1/src/xcb_conn.c
+--- libxcb-1.1/src/xcb_conn.c.jx 2007-10-28 16:11:18.000000000 -0400
++++ libxcb-1.1/src/xcb_conn.c 2008-04-22 11:58:05.000000000 -0400
+@@ -63,7 +63,7 @@ static int _xcb_xlib_init(_xcb_xlib *xli
+ {
+ xlib->lock = 0;
+ #ifndef NDEBUG
+- xlib->sloppy_lock = (getenv("LIBXCB_ALLOW_SLOPPY_LOCK") != 0);
++ xlib->sloppy_lock = 1;
+ #endif
+ pthread_cond_init(&xlib->cond, 0);
+ return 1;