|
Lucio Andrés Illanes Albornoz (arab, vxp) |
95bf77 |
--- irssi-0.8.18/build-aux/config.sub.orig 2016-02-08 20:16:25.000000000 +0000
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
95bf77 |
+++ irssi-0.8.18/build-aux/config.sub 2016-03-06 18:06:18.154558135 +0000
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
95bf77 |
@@ -804,6 +804,10 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
95bf77 |
microblaze*)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
95bf77 |
basic_machine=microblaze-xilinx
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
95bf77 |
;;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
95bf77 |
+ midipix)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
95bf77 |
+ basic_machine=x86_64-pc
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
95bf77 |
+ os=-midipix
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
95bf77 |
+ ;;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
95bf77 |
mingw64)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
95bf77 |
basic_machine=x86_64-pc
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
95bf77 |
os=-mingw64
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
95bf77 |
@@ -1384,7 +1388,7 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
95bf77 |
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
95bf77 |
| -chorusos* | -chorusrdb* | -cegcc* \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
95bf77 |
| -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
95bf77 |
- | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
95bf77 |
+ | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
95bf77 |
| -linux-newlib* | -linux-musl* | -linux-uclibc* \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
95bf77 |
| -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
95bf77 |
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
--- irssi-0.8.18/src/core/servers.c.orig 2016-01-20 22:08:07.000000000 +0000
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
+++ irssi-0.8.18/src/core/servers.c 2016-06-13 11:28:49.187797037 +0000
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
@@ -407,6 +407,36 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
/* connect with unix socket */
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
server_real_connect(server, NULL, server->connrec->address);
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
} else {
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
+ #ifdef __midipix__
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
+ IPADDR ip4, ip6, *ip;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
+
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
+ connect_address = server->connrec->proxy != NULL ?
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
+ server->connrec->proxy : server->connrec->address;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
+ if (net_gethostbyname(connect_address, &ip4, &ip6) == -1) {
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
+ g_warning("net_gethostbyname(): -1");
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
+ g_free(server->tag);
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
+ g_free(server->nick);
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
+ return FALSE;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
+ } else if (server->connrec->family == 0) {
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
+ /* prefer IPv4 addresses */
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
+ ip = ip4.family != 0 ? &ip4 : &ip6;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
+ } else if (server->connrec->family == AF_INET6) {
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
+ /* IPv6 address, use if possible */
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
+ if (ip6.family != 0) {
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
+ ip = &ip6;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
+ } else {
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
+ ip = &ip4;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
+ }
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
+ } else {
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
+ /* IPv4 address, use if possible */
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
+ if (ip4.family != 0) {
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
+ ip = &ip4;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
+ } else {
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
+ ip = &ip6;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
+ }
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
+ }
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
+ server_real_connect(server, ip, NULL);
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
+ #else
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
/* resolve host name */
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
if (pipe(fd) != 0) {
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
g_warning("server_connect(): pipe() failed.");
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
@@ -433,6 +463,7 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
lookup_servers = g_slist_append(lookup_servers, server);
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
signal_emit("server looking", 1, server);
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
+ #endif
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
}
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
return TRUE;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
792796 |
}
|