rpms/libXau/devel xau-1.0.4-local.patch, NONE, 1.1 libXau.spec, 1.25, 1.26

Adam Jackson ajax at fedoraproject.org
Wed Mar 11 17:21:14 UTC 2009


Author: ajax

Update of /cvs/pkgs/rpms/libXau/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2909

Modified Files:
	libXau.spec 
Added Files:
	xau-1.0.4-local.patch 
Log Message:
* Wed Mar 11 2009 Adam Jackson <ajax at 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.


xau-1.0.4-local.patch:

--- NEW FILE xau-1.0.4-local.patch ---
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 &&


Index: libXau.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libXau/devel/libXau.spec,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- libXau.spec	25 Feb 2009 13:11:26 -0000	1.25
+++ libXau.spec	11 Mar 2009 17:20:44 -0000	1.26
@@ -1,7 +1,7 @@
 Summary: X.Org X11 libXau runtime library
 Name: libXau
 Version: 1.0.4
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: MIT
 Group: System Environment/Libraries
 URL: http://www.x.org
@@ -9,6 +9,8 @@
 
 Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
 
+Patch0: xau-1.0.4-local.patch
+
 BuildRequires: pkgconfig
 BuildRequires: xorg-x11-proto-devel
 
@@ -29,6 +31,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .local
 
 %build
 
@@ -65,6 +68,10 @@
 %{_mandir}/man3/*.3*
 
 %changelog
+* Wed Mar 11 2009 Adam Jackson <ajax at 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 at lists.fedoraproject.org> - 1.0.4-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list