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

From: Tobias C. Berner <tcberner_at_FreeBSD.org>
Date: Tue, 02 Jan 2024 16:27:30 UTC
The branch main has been updated by tcberner:

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

commit ac16a410190ee8bb005d2c8648f6ac0630ee6b6c
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2024-01-02 16:04:07 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2024-01-02 16:16:41 +0000

    print/qpdfview: fix build with upcoming poppler 23.12
    
    - really fix it, c++11 was set inside the project file, so patch it
      there.
    
    PR:             275555
---
 print/qpdfview/Makefile                 | 1 -
 print/qpdfview/files/patch-qpdfview.pri | 8 ++++++++
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/print/qpdfview/Makefile b/print/qpdfview/Makefile
index 8ee8e8ad46b6..183cb009d44a 100644
--- a/print/qpdfview/Makefile
+++ b/print/qpdfview/Makefile
@@ -18,7 +18,6 @@ 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
 
diff --git a/print/qpdfview/files/patch-qpdfview.pri b/print/qpdfview/files/patch-qpdfview.pri
new file mode 100644
index 000000000000..266e872da9ac
--- /dev/null
+++ b/print/qpdfview/files/patch-qpdfview.pri
@@ -0,0 +1,8 @@
+--- qpdfview.pri.orig	2024-01-02 16:01:53 UTC
++++ qpdfview.pri
+@@ -12,4 +12,4 @@ os2:include(qpdfview_os2.pri)
+ win32:include(qpdfview_win32.pri)
+ os2:include(qpdfview_os2.pri)
+ 
+-CONFIG += c++11
++CONFIG += c++17