Received: by mail.netbsd.org (Postfix, from userid 605) id 8924484EFA; Fri, 13 May 2022 08:56:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id C3A5984EF8 for ; Fri, 13 May 2022 08:56:30 +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 1dvwQirCc4dH for ; Fri, 13 May 2022 08:56:30 +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 39F1A84CE3 for ; Fri, 13 May 2022 08:56:30 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 7C351FA94; Fri, 13 May 2022 08:56:52 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_165243221278410" MIME-Version: 1.0 Date: Fri, 13 May 2022 08:56:52 +0000 From: "Frederic Cambus" Subject: CVS commit: pkgsrc/devel/wabt To: pkgsrc-changes@NetBSD.org Reply-To: fcambus@netbsd.org X-Mailer: log_accum Message-Id: <20220513085652.7C351FA94@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_165243221278410 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: fcambus Date: Fri May 13 08:56:52 UTC 2022 Modified Files: pkgsrc/devel/wabt: Makefile distinfo Added Files: pkgsrc/devel/wabt/patches: patch-CMakeLists.txt Log Message: wabt: needs gnu++17 for alloca(3). This should fix the build on aarch64. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/wabt/Makefile cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/wabt/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/devel/wabt/patches/patch-CMakeLists.txt Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_165243221278410 Content-Disposition: inline Content-Length: 2117 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/wabt/Makefile diff -u pkgsrc/devel/wabt/Makefile:1.11 pkgsrc/devel/wabt/Makefile:1.12 --- pkgsrc/devel/wabt/Makefile:1.11 Thu May 12 08:10:30 2022 +++ pkgsrc/devel/wabt/Makefile Fri May 13 08:56:52 2022 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2022/05/12 08:10:30 fcambus Exp $ +# $NetBSD: Makefile,v 1.12 2022/05/13 08:56:52 fcambus Exp $ DISTNAME= wabt-1.0.29 CATEGORIES= devel @@ -13,7 +13,7 @@ CONFIGURE_DIRS= ${WRKDIR}/build CMAKE_ARG_PATH= ${WRKSRC} USE_CMAKE= yes -USE_LANGUAGES= c c++17 +USE_LANGUAGES= c gnu++17 CMAKE_ARGS+= -DBUILD_TESTS=OFF -DBUILD_LIBWASM=OFF Index: pkgsrc/devel/wabt/distinfo diff -u pkgsrc/devel/wabt/distinfo:1.12 pkgsrc/devel/wabt/distinfo:1.13 --- pkgsrc/devel/wabt/distinfo:1.12 Thu May 5 07:04:29 2022 +++ pkgsrc/devel/wabt/distinfo Fri May 13 08:56:52 2022 @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.12 2022/05/05 07:04:29 fcambus Exp $ +$NetBSD: distinfo,v 1.13 2022/05/13 08:56:52 fcambus Exp $ BLAKE2s (wabt-1.0.29.tar.gz) = 757bfe1aa05672c15493929d53d57564cce26af30386ca2d205340705168e969 SHA512 (wabt-1.0.29.tar.gz) = 7783e16c848da76392cd9f35aa1d205872d3d42e6aea1a815b28df3373cd547d2f139df4899de495bb6ee753c7c0bd608adc35538c2d3eb7325498457d6b3e08 Size (wabt-1.0.29.tar.gz) = 1150946 bytes +SHA1 (patch-CMakeLists.txt) = 3f53b60fdeed352cd41090c07d13ae15a1629155 Added files: Index: pkgsrc/devel/wabt/patches/patch-CMakeLists.txt diff -u /dev/null pkgsrc/devel/wabt/patches/patch-CMakeLists.txt:1.1 --- /dev/null Fri May 13 08:56:52 2022 +++ pkgsrc/devel/wabt/patches/patch-CMakeLists.txt Fri May 13 08:56:52 2022 @@ -0,0 +1,15 @@ +$NetBSD: patch-CMakeLists.txt,v 1.1 2022/05/13 08:56:52 fcambus Exp $ + +Do not disable extensions, needs gnu++17 for alloca(3). + +--- CMakeLists.txt.orig 2022-05-04 14:41:06.000000000 +0000 ++++ CMakeLists.txt +@@ -153,7 +153,7 @@ else () + -Wall -Wextra -Wno-unused-parameter -Wpointer-arith -Wuninitialized + ) + +- set(CMAKE_CXX_EXTENSIONS OFF) ++ set(CMAKE_CXX_EXTENSIONS ON) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wold-style-cast") + + if (NOT WITH_EXCEPTIONS) --_----------=_165243221278410--