]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blobdiff - libXau/patches/xau-1.0.4-local.patch
Move all packages to root.
[people/arne_f/ipfire-3.x.git] / libXau / patches / xau-1.0.4-local.patch
diff --git a/libXau/patches/xau-1.0.4-local.patch b/libXau/patches/xau-1.0.4-local.patch
new file mode 100644 (file)
index 0000000..26b578b
--- /dev/null
@@ -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 &&