From f0c3adb7a78a39e66c14aa3c0bc66db32416716f Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Thu, 1 Sep 2022 00:31:44 +0300 Subject: [PATCH] gc: Update to 8.2.2 Other cleanups: * Remove --enable-mmap (which is the default configure option now) * No longer depends on libatomic_ops (provided the compiler is gcc or clang) * Fix license (it is MIT, not GPL) * Remove unneeded CFLAGS * Set maintainer --- srcpkgs/gc/template | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/srcpkgs/gc/template b/srcpkgs/gc/template index 3e00fa2ab468..34dd2dab690e 100644 --- a/srcpkgs/gc/template +++ b/srcpkgs/gc/template @@ -1,22 +1,16 @@ # Template file for 'gc' pkgname=gc -version=8.0.6 +version=8.2.2 revision=1 build_style=gnu-configure -configure_args="--enable-static --enable-mmap" +configure_args="--enable-static" hostmakedepends="pkg-config" -makedepends="libatomic_ops-devel" short_desc="Garbage collector for C and C++" -maintainer="Orphaned " -license="GPL-2.0-or-later" +maintainer="Ivan Maidanski " +license="MIT" homepage="https://www.hboehm.info/gc/" distfiles="https://github.com/ivmai/bdwgc/releases/download/v${version}/gc-${version}.tar.gz" -checksum=3b4914abc9fa76593596773e4da671d7ed4d5390e3d46fbf2e5f155e121bea11 - -case "$XBPS_TARGET_MACHINE" in -*-musl) - CFLAGS='-D_GNU_SOURCE -DNO_GETCONTEXT -DSEARCH_FOR_DATA_START -DUSE_MMAP -DHAVE_DL_ITERATE_PHDR' -esac +checksum=f30107bcb062e0920a790ffffa56d9512348546859364c23a14be264b38836a0 post_install() { mkdir -p ${DESTDIR}/usr/include/gc/