git: 7c1225d18f6a - main - print/qpdfview: fix build with upcoming poppler 23.12

From: Tobias C. Berner <tcberner_at_FreeBSD.org>
Date: Sat, 09 Dec 2023 20:29:49 UTC
The branch main has been updated by tcberner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7c1225d18f6a36673acfddb3282ccba722b62b7b

commit 7c1225d18f6a36673acfddb3282ccba722b62b7b
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2023-12-09 19:56:19 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2023-12-09 20:28:57 +0000

    print/qpdfview: fix build with upcoming poppler 23.12
    
    PR:             275555
---
 print/qpdfview/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/print/qpdfview/Makefile b/print/qpdfview/Makefile
index 5ccaa8665a67..8ee8e8ad46b6 100644
--- a/print/qpdfview/Makefile
+++ b/print/qpdfview/Makefile
@@ -13,11 +13,12 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libpoppler-qt5.so:graphics/poppler-qt5
 
-USES=		compiler:c++11-lang desktop-file-utils gl pkgconfig qmake qt:5
+USES=		compiler:c++17-lang desktop-file-utils gl pkgconfig qmake qt:5
 USE_GL=		gl
 USE_LDCONFIG=	yes
 USE_QT=		concurrent core dbus gui imageformats linguisttools \
 		printsupport sql sql-sqlite3 svg widgets xml buildtools:build
+USE_CXXSTD=	c++17
 
 QMAKE_SOURCE_PATH=	${PORTNAME}.pro