developer/check: configure: WARNING: filterdiff not installed; build will not be...
[oi-userland.git] / components / shell / mosh / patches / cxx17.patch
blob31a8a6a5f08e9114ef1e2b94c11ba677a68d0a70
1 diff -Nru mosh-1.4.0.orig/configure.ac mosh-1.4.0/configure.ac
2 --- mosh-1.4.0.orig/configure.ac 2022-10-27 03:18:11.000000000 +0200
3 +++ mosh-1.4.0/configure.ac 2023-10-08 11:06:17.722772504 +0200
4 @@ -22,9 +22,9 @@
5 # automake 1.12 seems to require this, but automake 1.11 doesn't recognize it
6 m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
8 -# Protobuf 3.6+ requires C++11.
9 +# Protobuf 24.4+ (and perhaps earlier) requires C++17.
10 AS_IF([pkg-config --atleast-version 3.6.0 protobuf],
11 - [AX_CXX_COMPILE_STDCXX([11])])
12 + [AX_CXX_COMPILE_STDCXX([17])])
14 WARNING_CXXFLAGS=""
15 PICKY_CXXFLAGS=""