git: b3fd04867222 - main - print/tex-xetex: Bump C++ version to C++17

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sun, 19 Jan 2025 11:02:44 UTC
The branch main has been updated by diizzy:

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

commit b3fd04867222a9e3e7009026836363772c6f9217
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2025-01-19 10:41:33 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2025-01-19 10:41:37 +0000

    print/tex-xetex: Bump C++ version to C++17
    
    Required to fix build with ICU 76.1
    
    PR:             283575
    Approved by:    portmgr (blanket)
---
 print/tex-xetex/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/print/tex-xetex/Makefile b/print/tex-xetex/Makefile
index e6f55bcfa396..40f368c99d95 100644
--- a/print/tex-xetex/Makefile
+++ b/print/tex-xetex/Makefile
@@ -21,9 +21,9 @@ LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
 		libpng.so:graphics/png \
 		libTECkit.so:textproc/teckit
 
-USES=		compiler:c++11-lib localbase gnome perl5 pkgconfig \
+USES=		compiler:c++17-lang localbase gnome perl5 pkgconfig \
 		python:build tar:xz tex xorg
-USE_CXXSTD=	gnu++11
+USE_CXXSTD=	c++17
 USE_GNOME=	cairo
 USE_PERL5=	build
 USE_TEX=	kpathsea web2c formats fmtutil dvipdfmx