summaryrefslogtreecommitdiff
path: root/Ports/dropbear/patches
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-06-08 21:40:22 +0200
committerAndreas Kling <kling@serenityos.org>2020-06-08 21:40:22 +0200
commit3ee1b3cbd427f50f1d08e696d8165ba0469a5167 (patch)
tree0777d0cadae63f521d97915ba28076ae835936aa /Ports/dropbear/patches
parent53d4c7e207a75a293d9d9b4fbf37ad81efa0d369 (diff)
downloadserenity-3ee1b3cbd427f50f1d08e696d8165ba0469a5167.zip
LibC: Add ws_xpixel and ws_ypixel members to struct winsize
This matches what other systems have, although we don't use them. Gets rid of one dropbear patch. :^)
Diffstat (limited to 'Ports/dropbear/patches')
-rw-r--r--Ports/dropbear/patches/winsize-remove-pixels.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/Ports/dropbear/patches/winsize-remove-pixels.patch b/Ports/dropbear/patches/winsize-remove-pixels.patch
deleted file mode 100644
index 97212e1c4d..0000000000
--- a/Ports/dropbear/patches/winsize-remove-pixels.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- a/sshpty.c.orig
-+++ b/sshpty.c
-@@ -347,8 +347,6 @@
-
- w.ws_row = row;
- w.ws_col = col;
-- w.ws_xpixel = xpixel;
-- w.ws_ypixel = ypixel;
- (void) ioctl(ptyfd, TIOCSWINSZ, &w);
- }
-
---- a/cli-chansession.c.orig
-+++ b/cli-chansession.c
-@@ -234,14 +234,12 @@
- /* Some sane defaults */
- ws.ws_row = 25;
- ws.ws_col = 80;
-- ws.ws_xpixel = 0;
-- ws.ws_ypixel = 0;
- }
-
- buf_putint(ses.writepayload, ws.ws_col); /* Cols */
- buf_putint(ses.writepayload, ws.ws_row); /* Rows */
-- buf_putint(ses.writepayload, ws.ws_xpixel); /* Width */
-- buf_putint(ses.writepayload, ws.ws_ypixel); /* Height */
-+ buf_putint(ses.writepayload, 0); /* Width */
-+ buf_putint(ses.writepayload, 0); /* Height */
-
- }
-