Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gc: Update to 8.2.2 #39014

Merged
merged 1 commit into from
Sep 2, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 7 additions & 11 deletions srcpkgs/gc/template
Original file line number Diff line number Diff line change
@@ -1,28 +1,24 @@
# Template file for 'gc'
pkgname=gc
version=8.0.6
revision=2
version=8.2.2
revision=1
build_style=gnu-configure
# libatomic_ops is replaced by C11 atomic
configure_args="--enable-static --enable-mmap --with-libatomic-ops=none"
configure_args="--enable-static --with-libatomic-ops=none"
hostmakedepends="pkg-config"
short_desc="Garbage collector for C and C++"
maintainer="Orphaned <[email protected]>"
license="GPL-2.0-or-later"
maintainer="Ivan Maidanski <[email protected]>"
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/
mv ${wrksrc}/include/* ${DESTDIR}/usr/include/gc/
mv ${DESTDIR}/usr/include/gc/extra/* ${DESTDIR}/usr/include/
rmdir ${DESTDIR}/usr/include/gc/extra
vlicense README.QUICK
}

gc-devel_package() {
Expand Down