diff mbox series

tcf-agent: upgrade 1.11.0 -> 1.11.1

Message ID 20261110112610.80766-1-jaipaul.cheernam@est.tech
State Under Review
Headers show
Series tcf-agent: upgrade 1.11.0 -> 1.11.1 | expand

Commit Message

Jaipaul Cheernam Nov. 10, 2026, 11:26 a.m. UTC
TCF Agent: fixed possible NULL pointer dereference in Processes.getCapabilities

- Drop ldflag patch and add LDFLAGS to EXTRA_OEMAKE

Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
---
 .../tcf-agent/tcf-agent/ldflags.patch         | 33 -------------------
 ...cf-agent_1.11.0.bb => tcf-agent_1.11.1.bb} |  9 +++--
 2 files changed, 4 insertions(+), 38 deletions(-)
 delete mode 100644 meta/recipes-devtools/tcf-agent/tcf-agent/ldflags.patch
 rename meta/recipes-devtools/tcf-agent/{tcf-agent_1.11.0.bb => tcf-agent_1.11.1.bb} (94%)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/tcf-agent/tcf-agent/ldflags.patch b/meta/recipes-devtools/tcf-agent/tcf-agent/ldflags.patch
deleted file mode 100644
index 9a911051e6b..00000000000
--- a/meta/recipes-devtools/tcf-agent/tcf-agent/ldflags.patch
+++ /dev/null
@@ -1,33 +0,0 @@ 
-From 2132bc5206b5d619c74caa391bc00d6f91d6ebe2 Mon Sep 17 00:00:00 2001
-From: Abdur Rehman <abdur_rehman@mentor.com>
-Date: Wed, 26 Aug 2015 19:18:11 +0500
-Subject: [PATCH] tcf-agent: obey LDFLAGS
-
-We need LDFLAGS to be respected otherwise there are QA warnings as the right
-flags don't get used.
-
-Upstream-Status: Inappropriate [oe-core specific]
-Signed-off-by: Ross Burton <ross.burton@arm.com>
-
-Signed-off-by: Abdur Rehman <abdur_rehman@mentor.com>
-
-Rebased to 4a2c4baaccbc8c29ce0297705de9a4e096d57ce5 version
-
-Signed-off-by: Mark hatle <mark.hatle@amd.com>
----
- Makefile.inc | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Makefile.inc b/Makefile.inc
-index 63f062b2..5da23c02 100644
---- a/Makefile.inc
-+++ b/Makefile.inc
-@@ -111,7 +111,7 @@ NO_LINK_F   ?= -c
- # Linker definition and flags
- 
- LINK        ?= $(CC)
--LINK_FLAGS  ?= $(CFLAGS)
-+LINK_FLAGS  ?= $(LDFLAGS) $(CFLAGS)
- LINK_OUT_F  ?= $(OUT_OBJ_F)
- 
- # Archiver definition and flags
diff --git a/meta/recipes-devtools/tcf-agent/tcf-agent_1.11.0.bb b/meta/recipes-devtools/tcf-agent/tcf-agent_1.11.1.bb
similarity index 94%
rename from meta/recipes-devtools/tcf-agent/tcf-agent_1.11.0.bb
rename to meta/recipes-devtools/tcf-agent/tcf-agent_1.11.1.bb
index 01e4b7df497..94c502371ab 100644
--- a/meta/recipes-devtools/tcf-agent/tcf-agent_1.11.0.bb
+++ b/meta/recipes-devtools/tcf-agent/tcf-agent_1.11.1.bb
@@ -6,14 +6,13 @@  BUGTRACKER = "https://bugs.eclipse.org/bugs/"
 LICENSE = "BSD-3-Clause OR EPL-1.0"
 LIC_FILES_CHKSUM = "file://edl-v10.html;md5=522a390a83dc186513f0500543ad3679"
 
-SRCREV = "3051a4806ac4b041ec7c49ffc6d07f0014b8480c"
+SRCREV = "8e23af30895e085e3e6a9d694f2c5b521d844742"
 
 UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
-SRC_URI = "git://gitlab.eclipse.org/eclipse/tcf/tcf.agent.git;protocol=https;branch=master;tag=${PV} \
-           file://ldflags.patch \
+SRC_URI = "git://gitlab.eclipse.org/eclipse/tcf/tcf.agent.git;protocol=https;branch=1.11;tag=${PV} \
            file://tcf-agent.init \
            file://tcf-agent.service \
-          "
+           "
 
 DEPENDS = "util-linux openssl"
 RDEPENDS:${PN} = "bash"
@@ -31,7 +30,7 @@  INITSCRIPT_PARAMS = "start 99 3 5 . stop 20 0 1 2 6 ."
 MAKE_ARCH = "`echo ${TARGET_ARCH} | sed s,i.86,i686, | sed s,aarch64.*,a64, | sed s,armeb,arm,`"
 MAKE_OS = "`echo ${TARGET_OS} | sed s,^linux.*,GNU/Linux,`"
 
-EXTRA_OEMAKE = "MACHINE=${MAKE_ARCH} OPSYS=${MAKE_OS} 'CC=${CC}' 'AR=${AR}'"
+EXTRA_OEMAKE = "MACHINE=${MAKE_ARCH} OPSYS=${MAKE_OS} 'CC=${CC}' 'AR=${AR}' 'LINK_FLAGS=${LDFLAGS} ${CFLAGS}'"
 
 LCL_STOP_SERVICES = "-DSERVICE_RunControl=0 -DSERVICE_Breakpoints=0 \
     -DSERVICE_Memory=0 -DSERVICE_Registers=0 -DSERVICE_MemoryMap=0 \