git: 23a053c8062d - main - graphics/qtpbfimageplugin: Fix build with protobuf 22+

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=23a053c8062da5e0d8337a0368ef4f1f22025a59

commit 23a053c8062da5e0d8337a0368ef4f1f22025a59
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-12-14 16:22:33 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-12-14 17:03:05 +0000

    graphics/qtpbfimageplugin: Fix build with protobuf 22+
---
 graphics/qtpbfimageplugin/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/graphics/qtpbfimageplugin/Makefile b/graphics/qtpbfimageplugin/Makefile
index b383620c1644..359e822ca521 100644
--- a/graphics/qtpbfimageplugin/Makefile
+++ b/graphics/qtpbfimageplugin/Makefile
@@ -12,7 +12,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	libprotobuf-lite.so:devel/protobuf
 
-USES=		compiler:c++11-lang gl qmake qt:5
+USES=		compiler:c++17-lang gl qmake qt:5
 USE_QT=		core gui buildtools:build
 USE_GL=		gl
 USE_LDCONFIG=	${PREFIX}/${QT_LIBDIR_REL}
@@ -21,6 +21,8 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	tumic0
 GH_PROJECT=	QtPBFImagePlugin
 
+USE_CXXSTD=	c++17
+
 PLIST_FILES=	${QT_PLUGINDIR}/imageformats/libpbf.so
 
 .include <bsd.port.mk>