aboutsummaryrefslogtreecommitdiffstats
path: root/main/mosh/fix-ppc64le-build-with-musl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/mosh/fix-ppc64le-build-with-musl.patch')
-rw-r--r--main/mosh/fix-ppc64le-build-with-musl.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/mosh/fix-ppc64le-build-with-musl.patch b/main/mosh/fix-ppc64le-build-with-musl.patch
index 8d918a963a7..c921a46b5fa 100644
--- a/main/mosh/fix-ppc64le-build-with-musl.patch
+++ b/main/mosh/fix-ppc64le-build-with-musl.patch
@@ -13,8 +13,8 @@ lost.
+++ b/src/frontend/mosh-server.cc
@@ -714,7 +714,12 @@
}
- window_size.ws_col = res->width;
- window_size.ws_row = res->height;
+ window_size.ws_col = res.width;
+ window_size.ws_row = res.height;
- if ( ioctl( host_fd, TIOCSWINSZ, &window_size ) < 0 ) {
+
+ #if defined(__powerpc64__) && (!defined(__GLIBC__) && !defined(__UCLIBC__))