net-misc/sshpass: remove unused patch
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>
Sat, 7 Jan 2017 17:25:04 +0000 (18:25 +0100)
committerDavid Seifert <soap@gentoo.org>
Sun, 29 Jan 2017 20:08:28 +0000 (21:08 +0100)
Closes: https://github.com/gentoo/gentoo/pull/3369

net-misc/sshpass/files/sshpass-1.04-ssh5.6.patch [deleted file]

diff --git a/net-misc/sshpass/files/sshpass-1.04-ssh5.6.patch b/net-misc/sshpass/files/sshpass-1.04-ssh5.6.patch
deleted file mode 100644 (file)
index 2d02c4e..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
---- main.c.orig        2011-02-01 10:00:45.571260395 +0000
-+++ main.c     2011-02-01 11:14:48.571421997 +0000
-@@ -311,6 +311,11 @@
- 
-     int numread=read(fd, buffer, sizeof(buffer) );
- 
-+    // New versions of ssh probably set the terminal to non-blocking, so we get lots of unused or empty responses.
-+    if( numread<0 && errno ==5 ) {
-+        return 0;
-+    }
-+
-     if( numread<0 ) {
-         // Comment no. 3.1416
-         // Select is doing a horrid job of waking us up at the right time - it wakes up with "read ready" when the slave
-
-