From 59398c2c416ae30018050c69ab2772a2a0e4b609 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Sun, 23 Oct 2016 22:18:57 +0200 Subject: Revert "Irssi: remove getsockopt(2) workaround patch." This reverts commit 96f2b22c0d67e1c89bf10b69bd3eebdb46a2f8e6. --- irssi-0.8.18.local.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'irssi-0.8.18.local.patch') diff --git a/irssi-0.8.18.local.patch b/irssi-0.8.18.local.patch index c8b8e778..8c72336e 100644 --- a/irssi-0.8.18.local.patch +++ b/irssi-0.8.18.local.patch @@ -45,6 +45,22 @@ } return TRUE; } +--- irssi-0.8.18/src/core/network.c.orig 2016-02-08 21:20:37.000000000 +0100 ++++ irssi-0.8.18/src/core/network.c 2016-06-17 16:34:16.870746400 +0200 +@@ -572,9 +572,13 @@ + int data; + socklen_t len = sizeof(data); + ++#ifndef __midipix__ + if (getsockopt(g_io_channel_unix_get_fd(handle), + SOL_SOCKET, SO_ERROR, (void *) &data, &len) == -1) + return -1; ++#else ++ data = 0; ++#endif + + return data; + } --- irssi-0.8.18/src/core/pidwait.c.orig 2014-09-02 11:13:51.000000000 +0200 +++ irssi-0.8.18/src/core/pidwait.c 2016-06-19 00:20:33.327763200 +0200 @@ -39,8 +39,10 @@ -- cgit v1.2.3