mosh: rebuild against protobuf-23.3_1

This commit is contained in:
John
2023-06-27 12:02:57 +02:00
committed by John Zimmermann
parent 34e6b3edbe
commit ef97903678
2 changed files with 17 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
--- a/configure.ac 2022-10-27 05:29:47.000000000 +0200
+++ - 2023-07-08 13:19:05.270079012 +0200
@@ -22,9 +22,9 @@
# automake 1.12 seems to require this, but automake 1.11 doesn't recognize it
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
-# Protobuf 3.6+ requires C++11.
+# Protobuf 3.6+ requires C++11., 4.2.2 with abseil requires C++17
AS_IF([pkg-config --atleast-version 3.6.0 protobuf],
- [AX_CXX_COMPILE_STDCXX([11])])
+ [AX_CXX_COMPILE_STDCXX([17])])
WARNING_CXXFLAGS=""
PICKY_CXXFLAGS=""

View File

@@ -1,9 +1,9 @@
# Template file for 'mosh'
pkgname=mosh
version=1.4.0
revision=3
revision=4
build_style=gnu-configure
hostmakedepends="perl pkg-config protobuf"
hostmakedepends="perl pkg-config protobuf autoconf automake"
makedepends="ncurses-devel protobuf-devel libutempter-devel openssl-devel"
depends="perl-IO-Tty"
short_desc="Mobile shell, remote terminal application that allows roaming"
@@ -16,4 +16,5 @@ checksum=872e4b134e5df29c8933dff12350785054d2fd2839b5ae6b5587b14db1465ddd
pre_configure() {
# make local.test always succeed. It fails due to missing X server in chroot.
printf "%s\n" "#!/bin/sh" ":" > src/tests/local.test
autoreconf -fi
}