wok-current diff xcb-util/receipt @ rev 25586

Fix linux build with gcc > 6 again
author Stanislas Leduc <shann@slitaz.org>
date Mon May 29 12:23:26 2023 +0000 (19 months ago)
parents 3b6916480692
children 5926178cd6fa
line diff
     1.1 --- a/xcb-util/receipt	Thu Nov 07 08:12:52 2019 +0100
     1.2 +++ b/xcb-util/receipt	Mon May 29 12:23:26 2023 +0000
     1.3 @@ -21,6 +21,12 @@
     1.4  	arm*) BUILD_DEPENDS="libxcb-dev xorg-libXdmcp-dev" ;;
     1.5  esac
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    1.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    1.11 +}
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {