From 6170020898ca154f9a8c83bf9068207ae958594b Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Sun, 14 Nov 2021 16:34:36 +0300 Subject: [PATCH] package/bdwgc: bump to 8.0.6 - Remove patch (already in version) - Change URL to Github releases - Hash of the license file changed due to a copyright year update Signed-off-by: Ivan Maidanski Signed-off-by: Thomas Petazzoni --- ...ference-to-__data_start-linker-error.patch | 33 ------------------- package/bdwgc/Config.in | 2 +- package/bdwgc/bdwgc.hash | 4 +-- package/bdwgc/bdwgc.mk | 4 +-- 4 files changed, 5 insertions(+), 38 deletions(-) delete mode 100644 package/bdwgc/0001-Fix-undefined-reference-to-__data_start-linker-error.patch diff --git a/package/bdwgc/0001-Fix-undefined-reference-to-__data_start-linker-error.patch b/package/bdwgc/0001-Fix-undefined-reference-to-__data_start-linker-error.patch deleted file mode 100644 index 81221c9f66..0000000000 --- a/package/bdwgc/0001-Fix-undefined-reference-to-__data_start-linker-error.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 301ef15aefa6764466c374d07efb511b1c3862cc Mon Sep 17 00:00:00 2001 -From: Nikita Ermakov -Date: Wed, 20 May 2020 17:57:17 +0300 -Subject: [PATCH] Fix 'undefined reference to __data_start' linker error on - RISC-V - -Issue #294 (bdwgc). - -* include/private/gcconfig.h [RISCV && LINUX] (__data_start): Add -attribute(weak). - -(cherry picked from commit 538562ad01b181f4cc3913da1ac06a77945cd9b9) -Signed-off-by: Romain Naour ---- - include/private/gcconfig.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h -index d9d45da1..d6cefa6f 100644 ---- a/include/private/gcconfig.h -+++ b/include/private/gcconfig.h -@@ -2943,7 +2943,7 @@ EXTERN_C_BEGIN - # define ALIGNMENT (CPP_WORDSZ/8) - # ifdef LINUX - # define OS_TYPE "LINUX" -- extern int __data_start[]; -+ extern int __data_start[] __attribute__((__weak__)); - # define DATASTART ((ptr_t)__data_start) - # define LINUX_STACKBOTTOM - # define DYNAMIC_LOADING --- -2.30.2 - diff --git a/package/bdwgc/Config.in b/package/bdwgc/Config.in index 95139efb93..aad2bc9ef2 100644 --- a/package/bdwgc/Config.in +++ b/package/bdwgc/Config.in @@ -7,4 +7,4 @@ config BR2_PACKAGE_BDWGC be used as a garbage collecting replacement for C 'malloc' or C++ 'new'. - http://www.hboehm.info/gc/ + https://www.hboehm.info/gc/ diff --git a/package/bdwgc/bdwgc.hash b/package/bdwgc/bdwgc.hash index 4d22131964..d0459969b5 100644 --- a/package/bdwgc/bdwgc.hash +++ b/package/bdwgc/bdwgc.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 436a0ddc67b1ac0b0405b61a9675bca9e075c8156f4debd1d06f3a56c7cd289d gc-8.0.4.tar.gz -sha256 aeeaabbf44e67d413e18719f0c6ac9c23387ab0b33e7a15ee46cf59ddef12cc7 README.QUICK +sha256 3b4914abc9fa76593596773e4da671d7ed4d5390e3d46fbf2e5f155e121bea11 gc-8.0.6.tar.gz +sha256 0aab7a56a92ed878c4a5464cf282d65f38bcdee64fe9cf213e26254bddb3f340 README.QUICK diff --git a/package/bdwgc/bdwgc.mk b/package/bdwgc/bdwgc.mk index 57dd82cab4..d1c9d4dfdc 100644 --- a/package/bdwgc/bdwgc.mk +++ b/package/bdwgc/bdwgc.mk @@ -4,9 +4,9 @@ # ################################################################################ -BDWGC_VERSION = 8.0.4 +BDWGC_VERSION = 8.0.6 BDWGC_SOURCE = gc-$(BDWGC_VERSION).tar.gz -BDWGC_SITE = http://www.hboehm.info/gc/gc_source +BDWGC_SITE = https://github.com/ivmai/bdwgc/releases/download/v$(BDWGC_VERSION) BDWGC_INSTALL_STAGING = YES BDWGC_LICENSE = bdwgc license BDWGC_LICENSE_FILES = README.QUICK