From 759a98590ea326b56c8ab1aed9ee77a41c69f166 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Mon, 13 Aug 2018 12:36:46 -0300 Subject: [PATCH] gc: update to 7.6.8. --- srcpkgs/gc/template | 27 ++++++++++----------------- 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/srcpkgs/gc/template b/srcpkgs/gc/template index f0b10c07231..067ffc3dba2 100644 --- a/srcpkgs/gc/template +++ b/srcpkgs/gc/template @@ -1,28 +1,21 @@ # Template file for 'gc' pkgname=gc -version=7.6.4 -revision=2 +version=7.6.8 +revision=1 build_style=gnu-configure -hostmakedepends="automake pkg-config libtool" +hostmakedepends="pkg-config" makedepends="libatomic_ops-devel" +short_desc="A garbage collector for C and C++" +maintainer="Juan RP " +license="GPL-2.0-or-later" +homepage="http://www.hboehm.info/gc/" +distfiles="https://github.com/ivmai/bdwgc/releases/download/v${version}/gc-${version}.tar.gz" +checksum=040ac5cdbf1bebc7c8cd4928996bbae0c54497c151ea5639838fa0128102e258 + case "$XBPS_TARGET_MACHINE" in *-musl) CFLAGS='-D_GNU_SOURCE -DNO_GETCONTEXT -DSEARCH_FOR_DATA_START -DUSE_MMAP -DHAVE_DL_ITERATE_PHDR' esac -short_desc="A garbage collector for C and C++" -maintainer="Juan RP " -homepage="http://www.hboehm.info/gc/" -license="GPL-2" -distfiles="http://www.hboehm.info/gc/gc_source/gc-${version}.tar.gz" -checksum=b94c1f2535f98354811ee644dccab6e84a0cf73e477ca03fb5a3758fb1fecd1c - -post_extract() { - sed -i '1i#include ' pthread_stop_world.c -} - -pre_configure() { - autoreconf -fi -} post_install() { mkdir -p ${DESTDIR}/usr/include/gc/