From d4dc9de8d223efe1bdff2c0f23b0529d5a357c2e Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Fri, 30 Sep 2016 12:48:48 +0000 Subject: [PATCH] removed extra/gc --- extra/gc/PKGBUILD | 48 ------------------- .../gc-7.4.2-Export-GC-push-all-eager.patch | 38 --------------- 2 files changed, 86 deletions(-) delete mode 100644 extra/gc/PKGBUILD delete mode 100644 extra/gc/gc-7.4.2-Export-GC-push-all-eager.patch diff --git a/extra/gc/PKGBUILD b/extra/gc/PKGBUILD deleted file mode 100644 index 37bc548ea..000000000 --- a/extra/gc/PKGBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# $Id$ -# Maintainer: Daniel Isenmann -# Contributor: dorphell - -# ALARM: Kevin Mihelich -# - drop noelision.patch, breaks everything - -pkgname=gc -pkgver=7.4.2 -pkgrel=4 -pkgdesc="A garbage collector for C and C++" -arch=('i686' 'x86_64') -url="http://www.hboehm.info/gc/" -license=('GPL') -depends=('gcc-libs' 'libatomic_ops') -source=("http://www.hboehm.info/gc/gc_source/${pkgname}-${pkgver}.tar.gz" - gc-7.4.2-Export-GC-push-all-eager.patch) -md5sums=('12c05fd2811d989341d8c6d81f66af87' - '26984d81b4ab2b0281583a5442c26863') - -prepare() { - cd ${pkgname}-${pkgver} - - patch -p1 -i ../gc-7.4.2-Export-GC-push-all-eager.patch - - sed -i 's#pkgdata#doc#' doc/doc.am -} - -build() { - cd ${pkgname}-${pkgver} - autoreconf -fi - ./configure --prefix=/usr --enable-cplusplus --disable-static - make -} - -check() { - cd ${pkgname}-${pkgver} - make check -} - -package() { - cd ${pkgname}-${pkgver} - make DESTDIR="${pkgdir}" install - - sed -i -e 's/GC_MALLOC 1L/gc 3/' doc/gc.man - install -m755 -d "${pkgdir}/usr/share/man/man3" - install -m644 doc/gc.man "${pkgdir}/usr/share/man/man3/gc.3" -} diff --git a/extra/gc/gc-7.4.2-Export-GC-push-all-eager.patch b/extra/gc/gc-7.4.2-Export-GC-push-all-eager.patch deleted file mode 100644 index f78e1ab34..000000000 --- a/extra/gc/gc-7.4.2-Export-GC-push-all-eager.patch +++ /dev/null @@ -1,38 +0,0 @@ -From e2a14481796cd4b073298a9c895b03015c72e02c Mon Sep 17 00:00:00 2001 -From: Ivan Maidanski -Date: Tue, 23 Jun 2015 15:17:27 +0300 -Subject: [PATCH] Export GC_push_all_eager - -* include/gc_mark.h (GC_push_all_eager): New API function declaration. -* mark.c (GC_push_all_eager): Add GC_API, GC_CALL; change arguments -type from ptr_t to char*. ---- - include/gc_mark.h | 1 + - mark.c | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -diff --git a/include/gc_mark.h b/include/gc_mark.h -index dcadf42..0b19ea9 100644 ---- a/include/gc_mark.h -+++ b/include/gc_mark.h -@@ -276,6 +276,7 @@ GC_API void GC_CALL GC_set_mark_bit(const void *) GC_ATTR_NONNULL(1); - /* (GC_push_conditional pushes either all or only dirty pages depending */ - /* on the third argument.) */ - GC_API void GC_CALL GC_push_all(char * /* bottom */, char * /* top */); -+GC_API void GC_CALL GC_push_all_eager(char * /* bottom */, char * /* top */); - GC_API void GC_CALL GC_push_conditional(char * /* bottom */, char * /* top */, - int /* bool all */); - -diff --git a/mark.c b/mark.c -index 80d09cf..89f64cc 100644 ---- a/mark.c -+++ b/mark.c -@@ -1488,7 +1488,7 @@ void GC_print_trace(word gc_no) - * and scans the entire region immediately, in case the contents - * change. - */ --GC_INNER void GC_push_all_eager(ptr_t bottom, ptr_t top) -+GC_API void GC_CALL GC_push_all_eager(char *bottom, char *top) - { - word * b = (word *)(((word) bottom + ALIGNMENT-1) & ~(ALIGNMENT-1)); - word * t = (word *)(((word) top) & ~(ALIGNMENT-1));