diff --git a/packages/libgc/build.sh b/packages/libgc/build.sh index 629b66d3a15c6c..02f56c89246233 100644 --- a/packages/libgc/build.sh +++ b/packages/libgc/build.sh @@ -1,19 +1,16 @@ TERMUX_PKG_HOMEPAGE=https://www.hboehm.info/gc/ TERMUX_PKG_DESCRIPTION="Library providing the Boehm-Demers-Weiser conservative garbage collector" -TERMUX_PKG_LICENSE="GPL-2.0" +TERMUX_PKG_LICENSE="MIT" +TERMUX_PKG_LICENSE_FILE="README.QUICK" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION=(8.0.6 - 7.6.12) -TERMUX_PKG_SRCURL=(https://github.com/ivmai/bdwgc/releases/download/v$TERMUX_PKG_VERSION/gc-$TERMUX_PKG_VERSION.tar.gz - https://github.com/ivmai/libatomic_ops/releases/download/v${TERMUX_PKG_VERSION[1]}/libatomic_ops-${TERMUX_PKG_VERSION[1]}.tar.gz) -TERMUX_PKG_SHA256=(3b4914abc9fa76593596773e4da671d7ed4d5390e3d46fbf2e5f155e121bea11 - f0ab566e25fce08b560e1feab6a3db01db4a38e5bc687804334ef3920c549f3e) +TERMUX_PKG_VERSION=8.2.2 +TERMUX_PKG_SRCURL=https://github.com/ivmai/bdwgc/releases/download/v$TERMUX_PKG_VERSION/gc-$TERMUX_PKG_VERSION.tar.gz +TERMUX_PKG_SHA256=f30107bcb062e0920a790ffffa56d9512348546859364c23a14be264b38836a0 TERMUX_PKG_BREAKS="libgc-dev" TERMUX_PKG_REPLACES="libgc-dev" +TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-libatomic-ops=none" TERMUX_PKG_RM_AFTER_INSTALL="share/gc" - termux_step_post_get_source() { - mv libatomic_ops-${TERMUX_PKG_VERSION[1]} libatomic_ops ./autogen.sh } diff --git a/packages/libgc/include-private-gcconfig.h.patch b/packages/libgc/include-private-gcconfig.h.patch deleted file mode 100644 index f2ccafa3023c15..00000000000000 --- a/packages/libgc/include-private-gcconfig.h.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -u -r ../gc-8.0.2/include/private/gcconfig.h ./include/private/gcconfig.h ---- ../gc-8.0.2/include/private/gcconfig.h 2018-12-23 21:28:41.000000000 +0000 -+++ ./include/private/gcconfig.h 2019-01-20 21:31:50.050945027 +0000 -@@ -2283,6 +2283,7 @@ - # define HBLKSIZE 4096 - # endif - # ifdef LINUX -+# define SEARCH_FOR_DATA_START - # define OS_TYPE "LINUX" - # define LINUX_STACKBOTTOM - # define DYNAMIC_LOADING