- xau-1.0.4-local.patch: When looking for an auth cookie on local
transport, don't bother checking hostname, it can't possibly help.
This commit is contained in:
parent
2f5a51d3d6
commit
cf6f199309
@ -1,7 +1,7 @@
|
|||||||
Summary: X.Org X11 libXau runtime library
|
Summary: X.Org X11 libXau runtime library
|
||||||
Name: libXau
|
Name: libXau
|
||||||
Version: 1.0.4
|
Version: 1.0.4
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.x.org
|
URL: http://www.x.org
|
||||||
@ -9,6 +9,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|||||||
|
|
||||||
Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
|
Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
|
||||||
|
|
||||||
|
Patch0: xau-1.0.4-local.patch
|
||||||
|
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: xorg-x11-proto-devel
|
BuildRequires: xorg-x11-proto-devel
|
||||||
|
|
||||||
@ -29,6 +31,7 @@ X.Org X11 libXau development package
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1 -b .local
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -65,6 +68,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man3/*.3*
|
%{_mandir}/man3/*.3*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 11 2009 Adam Jackson <ajax@redhat.com> 1.0.4-4
|
||||||
|
- xau-1.0.4-local.patch: When looking for an auth cookie on local transport,
|
||||||
|
don't bother checking hostname, it can't possibly help.
|
||||||
|
|
||||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-3
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||||
|
|
||||||
|
22
xau-1.0.4-local.patch
Normal file
22
xau-1.0.4-local.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
diff --git a/AuGetBest.c b/AuGetBest.c
|
||||||
|
index ae2b748..5d92dad 100644
|
||||||
|
--- a/AuGetBest.c
|
||||||
|
+++ b/AuGetBest.c
|
||||||
|
@@ -120,7 +120,8 @@ XauGetBestAuthByAddr (
|
||||||
|
* Match when:
|
||||||
|
* either family or entry->family are FamilyWild or
|
||||||
|
* family and entry->family are the same and
|
||||||
|
- * address and entry->address are the same
|
||||||
|
+ * address and entry->address are the same or
|
||||||
|
+ * family is FamilyLocal
|
||||||
|
* and
|
||||||
|
* either number or entry->number are empty or
|
||||||
|
* number and entry->number are the same
|
||||||
|
@@ -139,6 +140,7 @@ XauGetBestAuthByAddr (
|
||||||
|
binaryEqual (entry->address, fully_qual_address,
|
||||||
|
(int) fully_qual_address_length))
|
||||||
|
#endif
|
||||||
|
+ || (family == FamilyLocal)
|
||||||
|
))) &&
|
||||||
|
(number_length == 0 || entry->number_length == 0 ||
|
||||||
|
(number_length == entry->number_length &&
|
Loading…
Reference in New Issue
Block a user