From 06c33a5576fcf7c1be85bcdb03bdddea133c5505 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sun, 6 Nov 2022 14:13:54 +0200 Subject: [PATCH 1/1] Up to 1.4.0 - https://github.com/mobile-shell/mosh/releases/tag/mosh-1.4.0 --- mosh-Werror.patch | 11 ----------- mosh-gcc8.patch | 13 ------------- mosh.spec | 8 ++++---- 3 files changed, 4 insertions(+), 28 deletions(-) delete mode 100644 mosh-Werror.patch delete mode 100644 mosh-gcc8.patch diff --git a/mosh-Werror.patch b/mosh-Werror.patch deleted file mode 100644 index 4b2956a..0000000 --- a/mosh-Werror.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- mosh-1.3.2/src/terminal/terminalframebuffer.cc.orig 2017-12-15 21:34:01.064968374 +0100 -+++ mosh-1.3.2/src/terminal/terminalframebuffer.cc 2017-12-15 21:34:05.881877497 +0100 -@@ -52,7 +52,7 @@ - fallback( false ), - wrap( false ) - { -- assert( false ); -+//assert( false ); // this causes "uninitialized" warning on Cell() use in Raw() - } - - void Cell::reset( color_type background_color ) diff --git a/mosh-gcc8.patch b/mosh-gcc8.patch deleted file mode 100644 index 4886c1b..0000000 --- a/mosh-gcc8.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- mosh-1.3.2/src/frontend/mosh-server.cc~ 2017-07-22 23:14:53.000000000 +0200 -+++ mosh-1.3.2/src/frontend/mosh-server.cc 2018-09-24 07:13:02.243766616 +0200 -@@ -764,8 +764,8 @@ - throw NetworkException( std::string( "serve: getnameinfo: " ) + gai_strerror( errcode ), 0 ); - } - -- char tmp[ 64 ]; -- snprintf( tmp, 64, "%s via mosh [%d]", host, getpid() ); -+ char tmp[ 64 + NI_MAXHOST ]; -+ snprintf( tmp, 64 + NI_MAXHOST, "%s via mosh [%d]", host, getpid() ); - utempter_add_record( host_fd, tmp ); - - connected_utmp = true; diff --git a/mosh.spec b/mosh.spec index 0607b9d..d00b72d 100644 --- a/mosh.spec +++ b/mosh.spec @@ -6,15 +6,15 @@ Summary: Mosh mobile shell Summary(pl.UTF-8): Mosh - przenośna powłoka Name: mosh -Version: 1.3.2 -Release: 11 +Version: 1.4.0 +Release: 1 License: GPL v3+ Group: Applications/Networking Source0: https://mosh.org/%{name}-%{version}.tar.gz -# Source0-md5: 5122f4d2b973ab7c38dcdac8c35cb61e +# Source0-md5: c34a647f8545565d79188acacaea7559 Patch0: https://github.com/keithw/mosh/pull/583.patch -Patch1: %{name}-Werror.patch # Patch0-md5: 7eb14665ef06072591e5bcd80780c0e4 +Patch1: %{name}-Werror.patch Patch2: %{name}-gcc8.patch URL: https://mosh.org/ BuildRequires: autoconf >= 2.61 -- 2.44.0