diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-06-15 16:01:06 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-06-15 16:16:41 +0000 |
commit | 7927966d8799ccceeee04d1e9e7119f0cac65d7b (patch) | |
tree | 1ed6dafe26d90b7b9f712bcc2c220ceb16ed790d /irssi-0.8.18.local.patch | |
parent | afcefa6fa131bbcca37337471be260e3f9f22bae (diff) | |
download | midipix_build-7927966d8799ccceeee04d1e9e7119f0cac65d7b.tar.bz2 midipix_build-7927966d8799ccceeee04d1e9e7119f0cac65d7b.tar.xz |
Disable NLS for all packages minus the runtime components.
Followup to <2696b7e8fb2972e72fab7ca8b5a3ab87022814af>:
- Restore src/process/_execve.c NT_SEC_IMAGE vs. NT_SEC_RESERVE patch for
builds on lucio-vm.local. to allow for running Midipix from a network share.
Move previous psxscl patches into psxscl.local@lucio-vm.local.patch.
Prevent Irssi from using g_child_watch_add_full() when resolving hostnames
for testing purposes as clone(2) is not currently implemented.
Updated Create `Midipix mintty shell' shortcut.vbs:
- Always update the shortcut file.
- Launch sh(1) instead of Mintty (via Elieux.)
- Obtain the pathname to Cygwin from the command line, defaulting to `C:\cygwin64'.
Updated midipix.sh:
- Automatically determine ${MIDIPIX_DRIVE} and ${MIDIPIX_PNAME} via cygpath(1) (via Elieux.)
- Export MSYS2_ARG_CONV_EXCL="*" when running within Msys (via Elieux.)
- Prepend `/bin' to ${PATH} if not present (via Elieux.)
- Set and restore the previous cygdrive prefix.
- Use /proc/cygdrive instead of /cygdrive (via Elieux.)
Diffstat (limited to 'irssi-0.8.18.local.patch')
-rw-r--r-- | irssi-0.8.18.local.patch | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/irssi-0.8.18.local.patch b/irssi-0.8.18.local.patch index f21ce2fe..a65fd02b 100644 --- a/irssi-0.8.18.local.patch +++ b/irssi-0.8.18.local.patch @@ -20,3 +20,50 @@ | -linux-newlib* | -linux-musl* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ +--- irssi-0.8.18/src/core/servers.c.orig 2016-01-20 22:08:07.000000000 +0000 ++++ irssi-0.8.18/src/core/servers.c 2016-06-13 11:28:49.187797037 +0000 +@@ -407,6 +407,36 @@ + /* connect with unix socket */ + server_real_connect(server, NULL, server->connrec->address); + } else { ++ #ifdef __midipix__ ++ IPADDR ip4, ip6, *ip; ++ ++ connect_address = server->connrec->proxy != NULL ? ++ server->connrec->proxy : server->connrec->address; ++ if (net_gethostbyname(connect_address, &ip4, &ip6) == -1) { ++ g_warning("net_gethostbyname(): -1"); ++ g_free(server->tag); ++ g_free(server->nick); ++ return FALSE; ++ } else if (server->connrec->family == 0) { ++ /* prefer IPv4 addresses */ ++ ip = ip4.family != 0 ? &ip4 : &ip6; ++ } else if (server->connrec->family == AF_INET6) { ++ /* IPv6 address, use if possible */ ++ if (ip6.family != 0) { ++ ip = &ip6; ++ } else { ++ ip = &ip4; ++ } ++ } else { ++ /* IPv4 address, use if possible */ ++ if (ip4.family != 0) { ++ ip = &ip4; ++ } else { ++ ip = &ip6; ++ } ++ } ++ server_real_connect(server, ip, NULL); ++ #else + /* resolve host name */ + if (pipe(fd) != 0) { + g_warning("server_connect(): pipe() failed."); +@@ -433,6 +463,7 @@ + lookup_servers = g_slist_append(lookup_servers, server); + + signal_emit("server looking", 1, server); ++ #endif + } + return TRUE; + } |