1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00

audio/mumble: Fix build with protobuf 22+

This commit is contained in:
Po-Chuan Hsieh 2023-12-15 00:22:23 +08:00
parent 808769fdda
commit aa99c00fbd
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
2 changed files with 14 additions and 2 deletions

View File

@ -27,9 +27,9 @@ LIB_DEPENDS= libsndfile.so:audio/libsndfile \
libprotobuf.so:devel/protobuf \
libexpat.so:textproc/expat2
USES= cmake compiler:c++14-lang cpe desktop-file-utils gl \
USES= cmake compiler:c++17-lang cpe desktop-file-utils gl \
pkgconfig python:build qt:5 ssl xorg
USE_CXXSTD= c++14
USE_CXXSTD= c++17
USE_GL= gl
USE_LDCONFIG= yes
USE_QT= buildtools:build concurrent core gui l10n linguist:build network \
@ -41,6 +41,7 @@ CMAKE_OFF= bundled-gsl bundled-json bundle-qt-translations bundled-speex \
crash-report g15 server tracy update
CONFIGURE_ENV= MUMBLE_PYTHON=${PYTHON_CMD}
CXXFLAGS+= -Wno-deprecated-declarations
PLIST_SUB= MUMBLE_VERSION="${DISTVERSION:R}"

View File

@ -0,0 +1,11 @@
--- CMakeLists.txt.orig 2023-01-18 06:54:18 UTC
+++ CMakeLists.txt
@@ -37,7 +37,7 @@ project(Mumble
set(3RDPARTY_DIR "${CMAKE_SOURCE_DIR}/3rdparty")
set(PLUGINS_DIR "${CMAKE_SOURCE_DIR}/plugins")
-set(CMAKE_CXX_STANDARD 14)
+set(CMAKE_CXX_STANDARD 17)
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.13)
list(APPEND CMAKE_MODULE_PATH