From: Yi Zhao Date: Thu, 11 Dec 2025 02:25:15 +0000 (+0800) Subject: libsass: fix runtime version when using git shallow tarball X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=040ca62d0457f174c7c4124b0c4bd96e2e9c4e40;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git libsass: fix runtime version when using git shallow tarball Add tag to SRC_URI to fix runtime version when using git shallow tarball. Before the fix: $ sassc --version sassc: 66f0 libsass: 7037 sass2scss: 1.1.1 sass: 3.5 After the fix: $ sassc --version sassc: 3.6.2 libsass: 3.6.6 sass2scss: 1.1.1 sass: 3.5 Signed-off-by: Yi Zhao Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/sass/libsass_3.6.6.bb b/meta/recipes-support/sass/libsass_3.6.6.bb index de608f0a6b8..26f549e53f8 100644 --- a/meta/recipes-support/sass/libsass_3.6.6.bb +++ b/meta/recipes-support/sass/libsass_3.6.6.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8f34396ca205f5e119ee77aae91fa27d" inherit autotools -SRC_URI = "git://github.com/sass/libsass.git;protocol=https;branch=master \ +SRC_URI = "git://github.com/sass/libsass.git;protocol=https;branch=master;tag=${PV} \ file://0001-Remove-version.h-from-source-directory.patch" SRCREV = "7037f03fabeb2b18b5efa84403f5a6d7a990f460"