From 2f9e840d82f50305d737f589842318aaea6f205a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Wed, 10 Aug 2022 17:41:48 +0700 Subject: [PATCH] cjs: update to 5.4.1. --- srcpkgs/cjs/template | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/srcpkgs/cjs/template b/srcpkgs/cjs/template index 0c28d41045a..b0fafe6603f 100644 --- a/srcpkgs/cjs/template +++ b/srcpkgs/cjs/template @@ -1,6 +1,6 @@ # Template file for 'cjs' pkgname=cjs -version=5.2.0 +version=5.4.1 revision=1 build_style=meson build_helper=gir @@ -15,13 +15,18 @@ maintainer="Orphaned " license="LGPL-2.0-or-later" homepage="https://github.com/linuxmint/cjs" distfiles="https://github.com/linuxmint/cjs/archive/refs/tags/${version}.tar.gz" -checksum=4141185cc554156ebbad80faf66c52f4287db911528e7f3ef8035f6b9c5f8f8c +checksum=212fa302f15ea955af6dc87fdba3898f751d078df91cb84b0e6615d5a2b84e15 # ΧΧ A single test fails on x86_64, meson reports in the configure stage: # meson.build:663: WARNING: Your libc does not have the C.UTF-8 locale and no # other suitable UTF-8 fallback locale could be found. You can still build GJS, # but some tests will fail. make_check=extended +if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then + makedepends+=" libatomic-devel" + LDFLAGS+=" -latomic" +fi + pre_configure() { # The deleted lines in meson.build try to build and run a simple program, # and that does not work when cross-compiling.