[packages/mosh] - use C++17 for current protobuf; release 3

qboosh qboosh at pld-linux.org
Tue Oct 7 21:44:26 CEST 2025


commit b1ff3aff2fc106a5832784bd90e14e02baa6d285
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Oct 7 21:47:41 2025 +0200

    - use C++17 for current protobuf; release 3

 mosh.spec | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/mosh.spec b/mosh.spec
index 1f8f70e..b125e15 100644
--- a/mosh.spec
+++ b/mosh.spec
@@ -1,13 +1,13 @@
 #
 # Conditional build:
-%bcond_with	agent		# with ssh agent forwarding patch
+%bcond_with	agent		# ssh agent forwarding patch
 
 %define		protobuf_ver	2.6.1
 Summary:	Mosh mobile shell
 Summary(pl.UTF-8):	Mosh - przenośna powłoka
 Name:		mosh
 Version:	1.4.0
-Release:	2
+Release:	3
 License:	GPL v3+
 Group:		Applications/Networking
 Source0:	https://mosh.org/%{name}-%{version}.tar.gz
@@ -18,7 +18,7 @@ URL:		https://mosh.org/
 BuildRequires:	autoconf >= 2.61
 BuildRequires:	automake
 BuildRequires:	binutils >= 2.20.51.0.2
-BuildRequires:	libstdc++-devel >= 5:4.0
+BuildRequires:	libstdc++-devel >= 6:7
 BuildRequires:	libtool
 BuildRequires:	libutempter-devel
 BuildRequires:	ncurses-devel
@@ -63,6 +63,8 @@ szczególności po połączeniach Wi-Fi, komórkowych i długodystansowych.
 %endif
 %{__sed} -i -e '1s,^#!.*perl,#!%{__perl},' scripts/mosh.pl
 
+%{__sed} -i -e '/AX_CXX_COMPILE_STDCXX/ s/11/17/' configure.ac
+
 %build
 %{__libtoolize}
 %{__aclocal} -I m4
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mosh.git/commitdiff/b1ff3aff2fc106a5832784bd90e14e02baa6d285



More information about the pld-cvs-commit mailing list