rpms/libxcb/F-9 libxcb-1.1-sloppy-lock.patch, NONE, 1.1 libxcb.spec, 1.5, 1.6
Adam Jackson (ajax)
fedora-extras-commits at redhat.com
Tue Apr 22 17:18:44 UTC 2008
Author: ajax
Update of /cvs/pkgs/rpms/libxcb/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29277
Modified Files:
libxcb.spec
Added Files:
libxcb-1.1-sloppy-lock.patch
Log Message:
* Tue Apr 22 2008 Adam Jackson <ajax at redhat.com> 1.1-4
- libxcb-1.1-sloppy-lock.patch: Turn sloppy locking on all the time. I'm
tired of fighting it. (#390261)
libxcb-1.1-sloppy-lock.patch:
--- NEW FILE libxcb-1.1-sloppy-lock.patch ---
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;
Index: libxcb.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libxcb/F-9/libxcb.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- libxcb.spec 18 Feb 2008 19:00:18 -0000 1.5
+++ libxcb.spec 22 Apr 2008 17:18:07 -0000 1.6
@@ -1,6 +1,6 @@
Name: libxcb
Version: 1.1
-Release: 2%{?dist}
+Release: 4%{?dist}
Summary: A C binding to the X11 protocol
Group: System Environment/Libraries
@@ -11,6 +11,7 @@
Patch0: libxcb-1.1-no-pthread-stubs.patch
Patch1: libxcb-1.1-abstract-socket.patch
+Patch2: libxcb-1.1-sloppy-lock.patch
BuildRequires: autoconf automake libtool pkgconfig
BuildRequires: doxygen
@@ -47,6 +48,7 @@
%setup -q
%patch0 -p1 -b .pthread-stubs
%patch1 -p1 -b .abstract
+%patch2 -p1 -b .sloppier
%build
autoreconf -v --install
@@ -80,6 +82,10 @@
%{_datadir}/doc/%{name}-%{version}
%changelog
+* Tue Apr 22 2008 Adam Jackson <ajax at redhat.com> 1.1-4
+- libxcb-1.1-sloppy-lock.patch: Turn sloppy locking on all the time. I'm
+ tired of fighting it. (#390261)
+
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 1.1-2
- Autorebuild for GCC 4.3
More information about the fedora-extras-commits
mailing list