Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 9001784DC2 for ; Tue, 18 Jul 2023 18:31:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id oHUztYSE1ai3 for ; Tue, 18 Jul 2023 18:31:21 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 0D99B84CFA for ; Tue, 18 Jul 2023 18:31:21 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 0B69FFBDB; Tue, 18 Jul 2023 18:31:21 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1689705081297210" MIME-Version: 1.0 Date: Tue, 18 Jul 2023 18:31:21 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc/misc To: pkgsrc-changes@NetBSD.org Approved: commit_and_comment Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20230718183121.0B69FFBDB@cvs.NetBSD.org> This is a multi-part message in MIME format. --_----------=_1689705081297210 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: nia Date: Tue Jul 18 18:31:20 UTC 2023 Modified Files: pkgsrc/misc/libcec: Makefile pkgsrc/misc/libreoffice: Makefile Log Message: misc: Adapt packages (where possible) to USE_(CC|CXX)_FEATURES To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 pkgsrc/misc/libcec/Makefile cvs rdiff -u -r1.310 -r1.311 pkgsrc/misc/libreoffice/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1689705081297210 Content-Disposition: inline Content-Length: 1674 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/misc/libcec/Makefile diff -u pkgsrc/misc/libcec/Makefile:1.6 pkgsrc/misc/libcec/Makefile:1.7 --- pkgsrc/misc/libcec/Makefile:1.6 Thu Jun 30 11:18:38 2022 +++ pkgsrc/misc/libcec/Makefile Tue Jul 18 18:31:20 2023 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2022/06/30 11:18:38 nia Exp $ +# $NetBSD: Makefile,v 1.7 2023/07/18 18:31:20 nia Exp $ DISTNAME= libcec-4.0.4 PKGREVISION= 2 @@ -14,10 +14,9 @@ LICENSE= gnu-gpl-v2 USE_CMAKE= yes USE_TOOLS+= pkg-config -USE_LANGUAGES= c c++11 +USE_LANGUAGES= c c++ -# C++11 -GCC_REQD+= 4.8 +USE_CXX_FEATURES+= c++11 CMAKE_ARGS+= -DSKIP_PYTHON_WRAPPER=ON Index: pkgsrc/misc/libreoffice/Makefile diff -u pkgsrc/misc/libreoffice/Makefile:1.310 pkgsrc/misc/libreoffice/Makefile:1.311 --- pkgsrc/misc/libreoffice/Makefile:1.310 Mon Jul 17 14:30:50 2023 +++ pkgsrc/misc/libreoffice/Makefile Tue Jul 18 18:31:20 2023 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.310 2023/07/17 14:30:50 ryoon Exp $ +# $NetBSD: Makefile,v 1.311 2023/07/18 18:31:20 nia Exp $ VERREL= 7.5.4 VERRC= 2 @@ -15,9 +15,9 @@ LICENSE= gnu-lgpl-v3 UNLIMIT_RESOURCES+= cputime -USE_LANGUAGES= c gnu++17 +USE_LANGUAGES= c c++ -# Do not use alloca(3) in libc at least on NetBSD. +# Needed to get a proper (builtin) definition of alloca(3) on NetBSD. BUILDLINK_TRANSFORM+= opt:-std=c++17:-std=gnu++17 BUILDLINK_TRANSFORM+= opt:-std=c++1z:-std=gnu++1z BUILDLINK_TRANSFORM+= opt:-std=c++2a:-std=gnu++2a @@ -43,7 +43,7 @@ SUBST_MESSAGE.font-path= Use pkgsrc font SUBST_FILES.font-path+= external/pdfium/pkgsrc.patch.1 SUBST_VARS.font-path+= X11BASE -GCC_REQD+= 7 +USE_CXX_FEATURES+= c++17 BUILD_TARGET= build --_----------=_1689705081297210--