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:
parent
808769fdda
commit
aa99c00fbd
@ -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}"
|
||||
|
||||
|
11
audio/mumble/files/patch-protobuf
Normal file
11
audio/mumble/files/patch-protobuf
Normal 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
|
Loading…
Reference in New Issue
Block a user