]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blame - libXau/patches/xau-1.0.4-local.patch
Move all packages to root.
[people/stevee/ipfire-3.x.git] / libXau / patches / xau-1.0.4-local.patch
CommitLineData
4766c629
SS
1diff --git a/AuGetBest.c b/AuGetBest.c
2index ae2b748..5d92dad 100644
3--- a/AuGetBest.c
4+++ b/AuGetBest.c
5@@ -120,7 +120,8 @@ XauGetBestAuthByAddr (
6 * Match when:
7 * either family or entry->family are FamilyWild or
8 * family and entry->family are the same and
9- * address and entry->address are the same
10+ * address and entry->address are the same or
11+ * family is FamilyLocal
12 * and
13 * either number or entry->number are empty or
14 * number and entry->number are the same
15@@ -139,6 +140,7 @@ XauGetBestAuthByAddr (
16 binaryEqual (entry->address, fully_qual_address,
17 (int) fully_qual_address_length))
18 #endif
19+ || (family == FamilyLocal)
20 ))) &&
21 (number_length == 0 || entry->number_length == 0 ||
22 (number_length == entry->number_length &&