Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libxcb for openSUSE:Factory checked in at 2024-03-07 18:27:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libxcb (Old) and /work/SRC/openSUSE:Factory/.libxcb.new.1770 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libxcb" Thu Mar 7 18:27:51 2024 rev:34 rq:1155614 version:1.16.1 Changes: -------- --- /work/SRC/openSUSE:Factory/libxcb/libxcb.changes 2024-03-03 20:18:33.456172707 +0100 +++ /work/SRC/openSUSE:Factory/.libxcb.new.1770/libxcb.changes 2024-03-07 18:28:09.238218826 +0100 @@ -1,0 +2,7 @@ +Wed Mar 6 15:18:25 UTC 2024 - Fabian Vogt <fv...@suse.com> + +- Fix n_If-auth-with-credentials-for-hostname-fails-retry-with-XAUTHLOCALHOSTNAME.patch, + the rebase in 1.16 caused an regression: It loops indefinitely if + XAUTHLOCALHOSTNAME is unset (boo#1221078) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ n_If-auth-with-credentials-for-hostname-fails-retry-with-XAUTHLOCALHOSTNAME.patch ++++++ --- /var/tmp/diff_new_pack.1LKfwE/_old 2024-03-07 18:28:11.406298828 +0100 +++ /var/tmp/diff_new_pack.1LKfwE/_new 2024-03-07 18:28:11.418299271 +0100 @@ -11,10 +11,10 @@ src/xcb_auth.c | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) -Index: libxcb-1.16/src/xcb_auth.c +Index: libxcb-1.16.1/src/xcb_auth.c =================================================================== ---- libxcb-1.16.orig/src/xcb_auth.c -+++ libxcb-1.16/src/xcb_auth.c +--- libxcb-1.16.1.orig/src/xcb_auth.c ++++ libxcb-1.16.1/src/xcb_auth.c @@ -110,7 +110,7 @@ static int authname_match(enum auth_prot #define SIN6_ADDR(s) (&((struct sockaddr_in6 *)s)->sin6_addr) @@ -33,7 +33,7 @@ family = FamilyLocal; /* 256 */ switch(sockname->sa_family) { -@@ -163,17 +165,22 @@ static Xauth *get_authptr(struct sockadd +@@ -163,18 +165,23 @@ static Xauth *get_authptr(struct sockadd addrlen = strlen(addr); } @@ -61,11 +61,12 @@ + (unsigned short) strlen(addr), addr, + (unsigned short) dispbuflen, dispbuf, + N_AUTH_PROTOS, authnames, authnameslen); -+ *stage = 2; -+ return authptr; } ++ *stage = 2; ++ return authptr; } return authptr; + } @@ -329,7 +336,7 @@ static struct sockaddr *get_peer_sock_na return NULL; } @@ -84,10 +85,10 @@ if (authptr == 0) { free(sockname); -Index: libxcb-1.16/src/xcbint.h +Index: libxcb-1.16.1/src/xcbint.h =================================================================== ---- libxcb-1.16.orig/src/xcbint.h -+++ libxcb-1.16/src/xcbint.h +--- libxcb-1.16.1.orig/src/xcbint.h ++++ libxcb-1.16.1/src/xcbint.h @@ -232,7 +232,7 @@ int _xcb_conn_wait(xcb_connection_t *c, /* xcb_auth.c */ @@ -97,11 +98,11 @@ #ifdef GCC_HAS_VISIBILITY #pragma GCC visibility pop -Index: libxcb-1.16/src/xcb_util.c +Index: libxcb-1.16.1/src/xcb_util.c =================================================================== ---- libxcb-1.16.orig/src/xcb_util.c -+++ libxcb-1.16/src/xcb_util.c -@@ -514,6 +514,7 @@ xcb_connection_t *xcb_connect_to_display +--- libxcb-1.16.1.orig/src/xcb_util.c ++++ libxcb-1.16.1/src/xcb_util.c +@@ -516,6 +516,7 @@ xcb_connection_t *xcb_connect_to_display char *protocol = NULL; xcb_auth_info_t ourauth; xcb_connection_t *c; @@ -109,7 +110,7 @@ int parsed = _xcb_parse_display(displayname, &host, &protocol, &display, screenp); -@@ -530,6 +531,7 @@ xcb_connection_t *xcb_connect_to_display +@@ -532,6 +533,7 @@ xcb_connection_t *xcb_connect_to_display } #endif @@ -117,7 +118,7 @@ fd = _xcb_open(host, protocol, display); if(fd == -1) { -@@ -543,7 +545,7 @@ xcb_connection_t *xcb_connect_to_display +@@ -545,7 +547,7 @@ xcb_connection_t *xcb_connect_to_display if(auth) { c = xcb_connect_to_fd(fd, auth); } @@ -126,7 +127,7 @@ { c = xcb_connect_to_fd(fd, &ourauth); free(ourauth.name); -@@ -552,8 +554,11 @@ xcb_connection_t *xcb_connect_to_display +@@ -554,8 +556,11 @@ xcb_connection_t *xcb_connect_to_display else c = xcb_connect_to_fd(fd, 0);