diff mbox series

[meta-oe,2/4] lockfile-progs: upgrade from 0.1.19 to 0.2.0

Message ID 20260313072948.2254502-2-Qi.Chen@windriver.com
State New
Headers show
Series [meta-oe,1/4] unixodbc: upgrade from 2.3.12 to 2.3.14 | expand

Commit Message

ChenQi March 13, 2026, 7:29 a.m. UTC
From: Chen Qi <Qi.Chen@windriver.com>

In this new version, we need to 'rewrite-time' first as
it's a build host tool that is used during the actual build.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 .../{lockfile-progs_0.1.19.bb => lockfile-progs_0.2.0.bb}   | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-extended/lockfile-progs/{lockfile-progs_0.1.19.bb => lockfile-progs_0.2.0.bb} (73%)
diff mbox series

Patch

diff --git a/meta-oe/recipes-extended/lockfile-progs/lockfile-progs_0.1.19.bb b/meta-oe/recipes-extended/lockfile-progs/lockfile-progs_0.2.0.bb
similarity index 73%
rename from meta-oe/recipes-extended/lockfile-progs/lockfile-progs_0.1.19.bb
rename to meta-oe/recipes-extended/lockfile-progs/lockfile-progs_0.2.0.bb
index 834687b43b..a8c5bab78d 100644
--- a/meta-oe/recipes-extended/lockfile-progs/lockfile-progs_0.1.19.bb
+++ b/meta-oe/recipes-extended/lockfile-progs/lockfile-progs_0.2.0.bb
@@ -8,10 +8,12 @@  LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
 DEPENDS = "liblockfile"
 
-SRC_URI = "${DEBIAN_MIRROR}/main/l/${BPN}/${BPN}_${PV}.tar.gz"
-SRC_URI[sha256sum] = "2c5704b01c8f474f82921780e4592a927b2bf6a6d7616354a6c5d7cd5664857e"
+SRC_URI = "${DEBIAN_MIRROR}/main/l/${BPN}/${BPN}_${PV}.tar.xz"
+SRC_URI[sha256sum] = "2988fb5a8b407e52e2aa6282ce45497f465c921d591138c100f4898215844c90"
 
 do_compile() {
+    ${BUILD_CC} ${BUILD_CPPFLAGS} ${BUILD_CFLAGS} -c rewrite-time.c
+    ${BUILD_CC} -o rewrite-time ${BUILD_LDFLAGS} rewrite-time.o
     oe_runmake CFLAGS=' -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ${DEBUG_PREFIX_MAP}'
 }