diff options
author | Joshua Baergen <joshuabaergen@gentoo.org> | 2006-10-13 04:11:14 +0000 |
---|---|---|
committer | Joshua Baergen <joshuabaergen@gentoo.org> | 2006-10-13 04:11:14 +0000 |
commit | 30b6243908c958f8c96bbbe8eff3476e41396144 (patch) | |
tree | d8ea87fef5a0b522af0164a82d6cb2402111e86c /x11-libs/libXrandr | |
parent | Add a fix from upstream that removes an unnecessary call to UnlockDisplay. (diff) | |
download | gentoo-2-30b6243908c958f8c96bbbe8eff3476e41396144.tar.gz gentoo-2-30b6243908c958f8c96bbbe8eff3476e41396144.tar.bz2 gentoo-2-30b6243908c958f8c96bbbe8eff3476e41396144.zip |
Add a fix from upstream that removes an unnecessary call to UnlockDisplay.
This fixes behaviour with xcb enabled in libX11.
(Portage version: 2.1.2_pre2-r9)
Diffstat (limited to 'x11-libs/libXrandr')
-rw-r--r-- | x11-libs/libXrandr/ChangeLog | 9 | ||||
-rw-r--r-- | x11-libs/libXrandr/files/digest-libXrandr-1.1.1-r1 | 3 | ||||
-rw-r--r-- | x11-libs/libXrandr/files/drop-extra-unlockdisplay.patch | 15 | ||||
-rw-r--r-- | x11-libs/libXrandr/libXrandr-1.1.1-r1.ebuild | 22 |
4 files changed, 48 insertions, 1 deletions
diff --git a/x11-libs/libXrandr/ChangeLog b/x11-libs/libXrandr/ChangeLog index 41a8b0750c4f..ebd332af8982 100644 --- a/x11-libs/libXrandr/ChangeLog +++ b/x11-libs/libXrandr/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for x11-libs/libXrandr # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/libXrandr/ChangeLog,v 1.27 2006/07/19 18:19:14 gmsoft Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libXrandr/ChangeLog,v 1.28 2006/10/13 04:11:14 joshuabaergen Exp $ + +*libXrandr-1.1.1-r1 (13 Oct 2006) + + 13 Oct 2006; Joshua Baergen <joshuabaergen@gentoo.org> + +files/drop-extra-unlockdisplay.patch, +libXrandr-1.1.1-r1.ebuild: + Add a fix from upstream that removes an unnecessary call to UnlockDisplay. + This fixes behaviour with xcb enabled in libX11. 19 Jul 2006; Guy Martin <gmsoft@gentoo.org> libXrandr-1.1.1.ebuild: Stable on hppa. diff --git a/x11-libs/libXrandr/files/digest-libXrandr-1.1.1-r1 b/x11-libs/libXrandr/files/digest-libXrandr-1.1.1-r1 new file mode 100644 index 000000000000..f7c5c3e30a2d --- /dev/null +++ b/x11-libs/libXrandr/files/digest-libXrandr-1.1.1-r1 @@ -0,0 +1,3 @@ +MD5 000374333b982ff13b30c2fc49ac41f8 libXrandr-1.1.1.tar.bz2 231984 +RMD160 90377bb35682dd4fc0c171b92ad4fcb5efa10dfe libXrandr-1.1.1.tar.bz2 231984 +SHA256 4ffb4ca0af47eb88a1a4643acbae1c2257ce7a6b237f71e0a2ef14b81f396562 libXrandr-1.1.1.tar.bz2 231984 diff --git a/x11-libs/libXrandr/files/drop-extra-unlockdisplay.patch b/x11-libs/libXrandr/files/drop-extra-unlockdisplay.patch new file mode 100644 index 000000000000..b8cb8537d515 --- /dev/null +++ b/x11-libs/libXrandr/files/drop-extra-unlockdisplay.patch @@ -0,0 +1,15 @@ +--- src/Xrandr.c ++++ src/Xrandr.c +@@ -390,11 +390,11 @@ Status XRRQueryVersion (Display *dpy, + xrri->major_version = rep.majorVersion; + xrri->minor_version = rep.minorVersion; + xrri->has_rates = _XRRHasRates (xrri->major_version, xrri->minor_version); ++ UnlockDisplay (dpy); ++ SyncHandle (); + } + *major_versionp = xrri->major_version; + *minor_versionp = xrri->minor_version; +- UnlockDisplay (dpy); +- SyncHandle (); + return 1; + } diff --git a/x11-libs/libXrandr/libXrandr-1.1.1-r1.ebuild b/x11-libs/libXrandr/libXrandr-1.1.1-r1.ebuild new file mode 100644 index 000000000000..dc0696053ba1 --- /dev/null +++ b/x11-libs/libXrandr/libXrandr-1.1.1-r1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libXrandr/libXrandr-1.1.1-r1.ebuild,v 1.1 2006/10/13 04:11:14 joshuabaergen Exp $ + +# Must be before x-modular eclass is inherited +# SNAPSHOT="yes" + +inherit x-modular + +DESCRIPTION="X.Org Xrandr library" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrender + x11-proto/randrproto + x11-proto/xproto" +DEPEND="${RDEPEND} + x11-proto/renderproto" + +PATCHES="${FILESDIR}/drop-extra-unlockdisplay.patch" |