summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/libxcb/xcb_xlib-no-assert-on-lock.patch
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-10-23 18:17:40 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-10-23 18:19:39 (GMT)
commitadbcf19958300e9b6598990184c8815b945ba0ee (patch)
treef4283c850ac0ac202c17e78a637ee7ca8147621b /abs/core-testing/libxcb/xcb_xlib-no-assert-on-lock.patch
parent61a68250df10d29b624650948484898334ff22d0 (diff)
downloadlinhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.zip
linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.gz
linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.bz2
Removed old core and extra from repo. Renamed -testing to core/extra. This will setup the base for the testing branch.
Diffstat (limited to 'abs/core-testing/libxcb/xcb_xlib-no-assert-on-lock.patch')
-rw-r--r--abs/core-testing/libxcb/xcb_xlib-no-assert-on-lock.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/abs/core-testing/libxcb/xcb_xlib-no-assert-on-lock.patch b/abs/core-testing/libxcb/xcb_xlib-no-assert-on-lock.patch
deleted file mode 100644
index a29361b..0000000
--- a/abs/core-testing/libxcb/xcb_xlib-no-assert-on-lock.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- src/xcb_xlib.c.orig 2006-11-25 22:03:30.000000000 +0000
-+++ src/xcb_xlib.c 2006-11-25 22:19:28.000000000 +0000
-@@ -38,18 +38,20 @@
- void xcb_xlib_lock(xcb_connection_t *c)
- {
- _xcb_lock_io(c);
-- assert(!c->xlib.lock);
-- c->xlib.lock = 1;
-- c->xlib.thread = pthread_self();
-+ if (!c->xlib.lock) {
-+ c->xlib.lock = 1;
-+ c->xlib.thread = pthread_self();
-+ }
- _xcb_unlock_io(c);
- }
-
- void xcb_xlib_unlock(xcb_connection_t *c)
- {
- _xcb_lock_io(c);
-- assert(c->xlib.lock);
-- assert(pthread_equal(c->xlib.thread, pthread_self()));
-- c->xlib.lock = 0;
-- pthread_cond_broadcast(&c->xlib.cond);
-+ if (c->xlib.lock) {
-+ assert(pthread_equal(c->xlib.thread, pthread_self()));
-+ c->xlib.lock = 0;
-+ pthread_cond_broadcast(&c->xlib.cond);
-+ }
- _xcb_unlock_io(c);
- }