+++ /dev/null
---- 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 )
+++ /dev/null
---- 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;
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