1
0
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:
Po-Chuan Hsieh 2023-12-15 00:22:22 +08:00
parent ff78a16bf8
commit 808769fdda
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
2 changed files with 13 additions and 2 deletions

View File

@ -17,7 +17,7 @@ USE_GITHUB= yes
GH_ACCOUNT= scrosby GH_ACCOUNT= scrosby
GH_PROJECT= OSM-binary GH_PROJECT= OSM-binary
USES= cmake compiler:c++11-lang USES= cmake compiler:c++17-lang
USE_CXXSTD= c++11 USE_CXXSTD= c++17
.include <bsd.port.mk> .include <bsd.port.mk>

View 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)