From a559204329428ed147755bf2649db9fa9fb29060 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Mon, 10 Oct 2022 22:17:08 +0200 Subject: [PATCH] mercury: update to 22.01.3. Fixes build on GCC 12. --- srcpkgs/mercury/template | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/srcpkgs/mercury/template b/srcpkgs/mercury/template index 27374a91e3b..bc3f4874874 100644 --- a/srcpkgs/mercury/template +++ b/srcpkgs/mercury/template @@ -1,6 +1,6 @@ # Template file for 'mercury' pkgname=mercury -version=22.01 +version=22.01.3 revision=1 wrksrc="mercury-srcdist-${version}" hostmakedepends="flex bison gettext texinfo" @@ -10,10 +10,12 @@ maintainer="Emily McDonough " license="GPL-2.0-only, custom:LGPL-2.0-only-linking-exception" homepage="https://mercurylang.org/" distfiles="https://dl.mercurylang.org/release/mercury-srcdist-${version}.tar.xz" -checksum=4ab0734aaa66808c91ffe7f54c7d818bdc4f0247aa255932e1e3d50610db4150 +checksum=4b0783ee9205021e4193b0404fd654e9c6fd288bc9bb7e144b1c1f6cd45dcd2e nocross="Mercury cannot be cross-compiled to different architectures" noverifyrdeps=yes +CFLAGS="-Wno-array-bounds -fno-tree-slp-vectorize" + # asm_fast is preferable, but does not work on all architectures. case "$XBPS_MACHINE" in *x86_64*|*arm*)