From 2d8d9c45f5ea0730a502e59c629405e2400c37fc Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Mon, 28 Oct 2024 14:46:00 +0100 Subject: [PATCH] package/musl-compat-headers: fix download of queue.h http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/sys/queue.h?rev=1.70 now returns some HTML soup instead of the plain text version of the file, causing the hash check to fail. http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/sys/queue.h?rev=1.70;content-type=text%2Fplain returns the correct data, but the ";" in the URL causes some issues with the parsing logic in Buildroot. So let's switch to https://raw.githubusercontent.com/NetBSD/src/03be82a6b173b3c62116b7a186067fed3004dd44/sys/sys/queue.h which delivers exactly the same file, but hopefully will be more stable. The file name changed to just queue.h, but the contents is the same. Fixes: http://autobuild.buildroot.net/results/57c8078f382f74859076512425b2f1c52f44e95a/ https://gitlab.com/buildroot.org/buildroot/-/jobs/8199992850 (and many other similar cases) Signed-off-by: Thomas Petazzoni Signed-off-by: Romain Naour (cherry picked from commit ebcccdfbd625b2773de705f4519454c131561f17) Signed-off-by: Peter Korsgaard --- package/musl-compat-headers/musl-compat-headers.hash | 2 +- package/musl-compat-headers/musl-compat-headers.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/musl-compat-headers/musl-compat-headers.hash b/package/musl-compat-headers/musl-compat-headers.hash index 626145df34..27e0afb68c 100644 --- a/package/musl-compat-headers/musl-compat-headers.hash +++ b/package/musl-compat-headers/musl-compat-headers.hash @@ -1,2 +1,2 @@ # Locally calculated -sha256 c13407edd0e33be73cae72514cb234f8612e1c0e54401c9448daffd3a240158b queue.h?rev=1.70 +sha256 c13407edd0e33be73cae72514cb234f8612e1c0e54401c9448daffd3a240158b queue.h diff --git a/package/musl-compat-headers/musl-compat-headers.mk b/package/musl-compat-headers/musl-compat-headers.mk index 1cfa894879..865b0bae43 100644 --- a/package/musl-compat-headers/musl-compat-headers.mk +++ b/package/musl-compat-headers/musl-compat-headers.mk @@ -5,7 +5,7 @@ ################################################################################ # No main site, just using extra downloads -MUSL_COMPAT_HEADERS_QUEUE_H = http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/sys/queue.h?rev=1.70 +MUSL_COMPAT_HEADERS_QUEUE_H = https://raw.githubusercontent.com/NetBSD/src/03be82a6b173b3c62116b7a186067fed3004dd44/sys/sys/queue.h MUSL_COMPAT_HEADERS_EXTRA_DOWNLOADS = $(MUSL_COMPAT_HEADERS_QUEUE_H)