mingw-w64-gc: update libgc to version 7.6.0 (#2597)
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
--- gc-7.2/include/private/gc_locks.h.orig 2013-04-10 07:18:36 +0400
|
||||
+++ gc-7.2/include/private/gc_locks.h 2013-04-10 07:24:13 +0400
|
||||
@@ -98,7 +98,7 @@
|
||||
/* integers for each thread, though that should be true as much */
|
||||
/* as possible. */
|
||||
/* Refine to exclude platforms on which pthread_t is struct */
|
||||
-# if !defined(GC_WIN32_PTHREADS)
|
||||
+# if !defined(GC_WIN32_PTHREADS) || defined(__WINPTHREADS_VERSION_MAJOR)
|
||||
# define NUMERIC_THREAD_ID(id) ((unsigned long)(id))
|
||||
# define THREAD_EQUAL(id1, id2) ((id1) == (id2))
|
||||
# define NUMERIC_THREAD_ID_UNIQUE
|
||||
@@ -3,8 +3,8 @@
|
||||
_realname=gc
|
||||
pkgbase=mingw-w64-${_realname}
|
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
|
||||
pkgver=7.4.2
|
||||
pkgrel=2
|
||||
pkgver=7.6.0
|
||||
pkgrel=1
|
||||
pkgdesc="A garbage collector for C and C++ (mingw-w64)"
|
||||
arch=('any')
|
||||
url="http://www.hboehm.info/gc"
|
||||
@@ -13,15 +13,12 @@ makedepends=(${MINGW_PACKAGE_PREFIX}-gcc ${MINGW_PACKAGE_PREFIX}-pkg-config)
|
||||
depends=(${MINGW_PACKAGE_PREFIX}-gcc-libs ${MINGW_PACKAGE_PREFIX}-libatomic_ops)
|
||||
options=('staticlibs' 'strip')
|
||||
source=("$url/gc_source/${_realname}-${pkgver}.tar.gz"
|
||||
0001-winpthreads.mingw.patch
|
||||
0003-move-docs.all.patch)
|
||||
sha256sums=('63320ad7c45460e4a40e03f5aa4c6893783f21a16416c3282b994f933312afa2'
|
||||
'e956bb9e5778570f7ebca78e91e1e6a23374cd0d67b32f8f224ff9070707835e'
|
||||
sha256sums=('a14a28b1129be90e55cd6f71127ffc5594e1091d5d54131528c24cd0c03b7d90'
|
||||
'0e65543cc83ddb2de86875635339eb9d0946fa7ad6d7492a544b2bf2075b8983')
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}"/${_realname}-${pkgver}
|
||||
patch -p1 -i ${srcdir}/0001-winpthreads.mingw.patch
|
||||
patch -p1 -i ${srcdir}/0003-move-docs.all.patch
|
||||
|
||||
./autogen.sh
|
||||
|
||||
Reference in New Issue
Block a user