- bug-262309_xcb-xauthlocalhostname.diff,

n_If-auth-with-credentials-for-hostname-fails-retry-with-XAUTHLOCALHOSTNAME.patch
  * fixed build against GCC 14 (boo#1221703)

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libxcb?expand=0&rev=76
This commit is contained in:
Stefan Dirsch 2024-03-19 13:36:37 +00:00 committed by Git OBS Bridge
parent 3c969a975c
commit 18596ddc2d
3 changed files with 10 additions and 3 deletions

View File

@ -25,7 +25,7 @@ Index: src/xcb_auth.c
+ authptr = XauGetBestAuthByAddr (family,
+ (unsigned short) strlen(addr), addr,
+ (unsigned short) dispbuflen, dispbuf,
+ N_AUTH_PROTOS, authnames, authnameslen);
+ N_AUTH_PROTOS, (char **) authnames, authnameslen);
+ }
+ }
+ return authptr;

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Mar 19 13:15:30 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
- bug-262309_xcb-xauthlocalhostname.diff,
n_If-auth-with-credentials-for-hostname-fails-retry-with-XAUTHLOCALHOSTNAME.patch
* fixed build against GCC 14 (boo#1221703)
-------------------------------------------------------------------
Wed Mar 6 15:18:25 UTC 2024 - Fabian Vogt <fvogt@suse.com>

View File

@ -57,10 +57,10 @@ Index: libxcb-1.16.1/src/xcb_auth.c
authptr = XauGetBestAuthByAddr (family,
- (unsigned short) strlen(addr), addr,
- (unsigned short) dispbuflen, dispbuf,
- N_AUTH_PROTOS, authnames, authnameslen);
- N_AUTH_PROTOS, (char **) authnames, authnameslen);
+ (unsigned short) strlen(addr), addr,
+ (unsigned short) dispbuflen, dispbuf,
+ N_AUTH_PROTOS, authnames, authnameslen);
+ N_AUTH_PROTOS, (char **) authnames, authnameslen);
}
+ *stage = 2;
+ return authptr;