mercury: update to 22.01.3.

Fixes build on GCC 12.
This commit is contained in:
Leah Neukirchen 2022-10-10 22:17:08 +02:00
parent 2e75fc08cd
commit a559204329
1 changed files with 4 additions and 2 deletions

View File

@ -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 <emily@alaskanemily.net>"
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*)