]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
sassc: fix runtime version when using git shallow tarball
authorYi Zhao <yi.zhao@windriver.com>
Thu, 11 Dec 2025 02:25:16 +0000 (10:25 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 15 Dec 2025 18:00:31 +0000 (18:00 +0000)
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 <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/sass/sassc_3.6.2.bb

index 1de02f44b61ae8f38f34d9d8403bc2b5dce61fee..65849bb1f1c3a109133c7a8233dd800ab34446a4 100644 (file)
@@ -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"