Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 May 2023 23:09:11 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8e1e95d482a4 - main - x11-fonts/ots: unbreak build after 4aec6e124381
Message-ID:  <202305062309.346N9BRG044983@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

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

commit 8e1e95d482a43e11323ecb4bd83a7e70171a1329
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-05-06 21:43:21 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-05-06 23:06:49 +0000

    x11-fonts/ots: unbreak build after 4aec6e124381
    
    In file included from ../tests/cff_charstring_test.cc:7:
    In file included from /usr/local/include/gtest/gtest.h:64:
    In file included from /usr/local/include/gtest/gtest-assertion-result.h:46:
    In file included from /usr/local/include/gtest/gtest-message.h:57:
    /usr/local/include/gtest/internal/gtest-port.h:270:2: error: C++ versions less than C++14 are not supported.
     #error C++ versions less than C++14 are not supported.
      ^
    
    Reported by:    pkg-fallout
---
 x11-fonts/ots/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/x11-fonts/ots/Makefile b/x11-fonts/ots/Makefile
index 1ef563fba129..2b2cc1c08480 100644
--- a/x11-fonts/ots/Makefile
+++ b/x11-fonts/ots/Makefile
@@ -17,7 +17,8 @@ LIB_DEPENDS=	libbrotlidec.so:archivers/brotli \
 		liblz4.so:archivers/liblz4 \
 		libwoff2dec.so:devel/woff2
 
-USES=		compiler:c++11-lang meson pkgconfig tar:xz
+USES=		compiler:c++14-lang meson pkgconfig tar:xz
+USE_CXXSTD=	c++14 # googletest 1.13
 
 MESON_ARGS=	--default-library=both -Ddebug=false -Dgraphite=true
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202305062309.346N9BRG044983>