Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id CF39B84EE0 for ; Wed, 16 Aug 2023 07:52:04 +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 Z1S79tvEXOgs for ; Wed, 16 Aug 2023 07:52:04 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 2C43D84D21 for ; Wed, 16 Aug 2023 07:52:04 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 299ABFBDB; Wed, 16 Aug 2023 07:52:04 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1692172324184010" MIME-Version: 1.0 Date: Wed, 16 Aug 2023 07:52:04 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc/devel/flatbuffers To: pkgsrc-changes@NetBSD.org Approved: commit_and_comment Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20230816075204.299ABFBDB@cvs.NetBSD.org> This is a multi-part message in MIME format. --_----------=_1692172324184010 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: nia Date: Wed Aug 16 07:52:04 UTC 2023 Modified Files: pkgsrc/devel/flatbuffers: Makefile Log Message: flatbuffers: Strip out -Werror to fix the build with newer compilers While here, use USE_CXX_FEATURES to indicate a language requirement rather than USE_LANGUAGES - it sets -std=c++0x by itself. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/flatbuffers/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1692172324184010 Content-Disposition: inline Content-Length: 909 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/flatbuffers/Makefile diff -u pkgsrc/devel/flatbuffers/Makefile:1.5 pkgsrc/devel/flatbuffers/Makefile:1.6 --- pkgsrc/devel/flatbuffers/Makefile:1.5 Sat May 9 13:46:59 2020 +++ pkgsrc/devel/flatbuffers/Makefile Wed Aug 16 07:52:04 2023 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2020/05/09 13:46:59 mef Exp $ +# $NetBSD: Makefile,v 1.6 2023/08/16 07:52:04 nia Exp $ DISTNAME= flatbuffers-1.9.0 CATEGORIES= devel @@ -11,11 +11,15 @@ COMMENT= Memory efficient serialization LICENSE= apache-2.0 USE_CMAKE= yes -USE_LANGUAGES= c c++11 +USE_LANGUAGES= c c++ CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release CMAKE_ARGS+= -DFLATBUFFERS_BUILD_SHAREDLIB=ON +USE_CXX_FEATURES+= c++11 + +BUILDLINK_TRANSFORM+= rm:-Werror + post-install: ${RM} -f ${DESTDIR}${PREFIX}/include/flatbuffers/flatbuffers.h.orig ${RM} -f ${DESTDIR}${PREFIX}/include/flatbuffers/reflection.h.orig --_----------=_1692172324184010--