[net-im/spectrum2] try a fix for newer protobuf
This commit is contained in:
parent
5806fb08e2
commit
31a70a95d0
16
net-im/spectrum2/files/spectrum2-cxx14.patch
Normal file
16
net-im/spectrum2/files/spectrum2-cxx14.patch
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
CMakeLists.txt | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
index 0c2ab857..1195c8b9 100644
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -4,7 +4,7 @@ cmake_policy(SET CMP0037 OLD)
|
||||||
|
|
||||||
|
project(libtransport)
|
||||||
|
|
||||||
|
-set(CMAKE_CXX_STANDARD 11)
|
||||||
|
+set(CMAKE_CXX_STANDARD 14)
|
||||||
|
if(WIN32)
|
||||||
|
set(CMAKE_CXX_STANDARD 17)
|
||||||
|
endif(WIN32)
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
@ -64,7 +64,9 @@ DEPEND="
|
|||||||
doc? ( app-doc/doxygen )
|
doc? ( app-doc/doxygen )
|
||||||
test? ( dev-util/cppunit )
|
test? ( dev-util/cppunit )
|
||||||
"
|
"
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${PN}-cxx14.patch"
|
||||||
|
)
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
# Respect users LDFLAGS
|
# Respect users LDFLAGS
|
||||||
|
Loading…
Reference in New Issue
Block a user