From: Yi Zhao Date: Thu, 11 Dec 2025 02:25:16 +0000 (+0800) Subject: sassc: fix runtime version when using git shallow tarball X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5eaa3757a30faa467f027e0b5a63ef087fd7c976;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git sassc: 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/sassc_3.6.2.bb b/meta/recipes-support/sass/sassc_3.6.2.bb index 1de02f44b6..65849bb1f1 100644 --- a/meta/recipes-support/sass/sassc_3.6.2.bb +++ b/meta/recipes-support/sass/sassc_3.6.2.bb @@ -7,7 +7,7 @@ DEPENDS = "libsass" inherit autotools pkgconfig -SRC_URI = "git://github.com/sass/sassc.git;protocol=https;branch=master \ +SRC_URI = "git://github.com/sass/sassc.git;protocol=https;branch=master;tag=${PV} \ file://0001-Remove-sassc_version.h-from-source-directory.patch" SRCREV = "66f0ef37e7f0ad3a65d2f481eff09d09408f42d0"