mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
astro/libosmpbf: Fix build with protobuf 22+
This commit is contained in:
parent
ff78a16bf8
commit
808769fdda
@ -17,7 +17,7 @@ USE_GITHUB= yes
|
||||
GH_ACCOUNT= scrosby
|
||||
GH_PROJECT= OSM-binary
|
||||
|
||||
USES= cmake compiler:c++11-lang
|
||||
USE_CXXSTD= c++11
|
||||
USES= cmake compiler:c++17-lang
|
||||
USE_CXXSTD= c++17
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
11
astro/libosmpbf/files/patch-protobuf
Normal file
11
astro/libosmpbf/files/patch-protobuf
Normal file
@ -0,0 +1,11 @@
|
||||
--- CMakeLists.txt.orig 2021-01-06 13:47:22 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -4,7 +4,7 @@ project(osmpbf VERSION 1.5.0)
|
||||
|
||||
include(GNUInstallDirs)
|
||||
|
||||
-set(CMAKE_CXX_STANDARD 11)
|
||||
+set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
find_package(Protobuf REQUIRED)
|
||||
|
Loading…
Reference in New Issue
Block a user