wok diff linux-api-headers/receipt @ rev 25065

grub4dos: binutils 2.37 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 09 15:38:57 2022 +0000 (2022-06-09)
parents 4ea0eb3f4881
children
line diff
     1.1 --- a/linux-api-headers/receipt	Tue Dec 18 23:31:18 2018 +0100
     1.2 +++ b/linux-api-headers/receipt	Thu Jun 09 15:38:57 2022 +0000
     1.3 @@ -19,6 +19,13 @@
     1.4  PATCH="$(dirname $WGET_URL)/patch-$VERSION.xz" &&
     1.5  EXTRA_SOURCE_FILES="$(basename $PATCH)"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - $WEB_SITE 2> /dev/null | grep -A 1 longterm | \
    1.11 +	sed '/strong/!d;s|.*<strong>||;s|</s.*||;q'
    1.12 +}
    1.13 +
    1.14  # Rules to compile & install the temporary toolchain.
    1.15  cook_tmp_toolchain()
    1.16  {