gtk+3: fix dependencies for new gnome/accessibility/at-spi2-core
[oi-userland.git] / components / x11 / xtrans / patches / 02-7162172.patch
blob7e1642c9dfd961a69a250656c4dea29c1e16c236
1 --- xtrans-1.5.0/Xtranssock.c.orig 2023-06-03 02:34:28.000000000 +0200
2 +++ xtrans-1.5.0/Xtranssock.c 2023-06-22 07:00:27.362261937 +0200
3 @@ -1636,7 +1636,7 @@
4 * only affect one of a set of addresses.
5 */
7 - if (olderrno == ECONNREFUSED || olderrno == EINTR
8 + if (olderrno == ECONNREFUSED
9 #if defined(IPv6) && defined(AF_INET6)
10 || (((addrlist->addr->ai_next != NULL) ||
11 (addrlist->addr != addrlist->firstaddr)) &&
12 @@ -1649,7 +1649,7 @@
13 #endif
15 res = TRANS_TRY_CONNECT_AGAIN;
16 - else if (olderrno == EWOULDBLOCK || olderrno == EINPROGRESS)
17 + else if (olderrno == EWOULDBLOCK || olderrno == EINPROGRESS || olderrno == EINTR)
18 res = TRANS_IN_PROGRESS;
19 else
21 @@ -1922,7 +1922,7 @@
22 if (olderrno == EWOULDBLOCK || olderrno == EINPROGRESS)
23 return TRANS_IN_PROGRESS;
24 else if (olderrno == EINTR)
25 - return TRANS_TRY_CONNECT_AGAIN;
26 + return TRANS_IN_PROGRESS;
27 else {
28 prmsg (2,"SocketUNIXConnect: Can't connect: errno = %d\n",
29 EGET());