git: 20ceda826ece - main - devel/ignition-msgs: Fix build with protobuf 22+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 14 Dec 2023 17:03:26 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=20ceda826ece4a1e56523009b70b1eb93a0085a8

commit 20ceda826ece4a1e56523009b70b1eb93a0085a8
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-12-14 16:22:27 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-12-14 17:03:04 +0000

    devel/ignition-msgs: Fix build with protobuf 22+
    
    Note that this port has a PLIST issue.
    ====> Checking for pkg-plist issues (check-plist)
    ===> Parsing plist
    ===> Checking for items in STAGEDIR missing from pkg-plist
    Error: Orphaned: share/ignition/ignition-%%MSGS_IGN_VER%%_0/ignition-%%MSGS_IGN_VER%%.tag.xml
    ===> Checking for items in pkg-plist which are not in STAGEDIR
    ===> Error: Plist issues found.
    *** Error code 1
---
 devel/ignition-msgs/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/devel/ignition-msgs/Makefile b/devel/ignition-msgs/Makefile
index 504a31cc48f1..d2f4ccd52c79 100644
--- a/devel/ignition-msgs/Makefile
+++ b/devel/ignition-msgs/Makefile
@@ -15,13 +15,15 @@ BUILD_DEPENDS=	ignition-cmake==2:devel/ignition-cmake \
 LIB_DEPENDS=	libprotobuf.so:devel/protobuf \
 		libignition-math6.so:math/ignition-math
 
-USES=		compiler:c++11-lang cmake ruby
+USES=		compiler:c++17-lang cmake localbase:ldflags ruby
 USE_LDCONFIG=	yes
 
 BB_ACCOUNT=	ignitionrobotics
 BB_PROJECT=	ign-msgs
 BB_COMMIT=	4a1cbcabff7d
 
+LDFLAGS+=	-labsl_hash -labsl_log_internal_message -labsl_log_internal_nullguard -labsl_raw_hash_set
+USE_CXXSTD=	c++17
 WRKSRC=		${WRKDIR}/${BB_ACCOUNT}-${BB_PROJECT}-${BB_COMMIT}
 
 PLIST_SUB=	MSGS_IGN_VER=msgs${DISTVERSION:R:R}