From: Wang Mingyu <[email protected]>

0001-libcap-Add-build-ldflags-to-_makenames-rule.patch
removed since it's included in 2.77

Signed-off-by: Wang Mingyu <[email protected]>
Signed-off-by: Mathieu Dubois-Briand <[email protected]>
(cherry picked from commit 192d93102bfce5b014feeb6ee5e03cddf8b434b7)
Signed-off-by: Ankur Tyagi <[email protected]>
---
 ...Add-build-ldflags-to-_makenames-rule.patch | 29 -------------------
 .../libcap/{libcap_2.76.bb => libcap_2.77.bb} |  6 ++--
 2 files changed, 2 insertions(+), 33 deletions(-)
 delete mode 100644 
meta/recipes-support/libcap/files/0001-libcap-Add-build-ldflags-to-_makenames-rule.patch
 rename meta/recipes-support/libcap/{libcap_2.76.bb => libcap_2.77.bb} (91%)

diff --git 
a/meta/recipes-support/libcap/files/0001-libcap-Add-build-ldflags-to-_makenames-rule.patch
 
b/meta/recipes-support/libcap/files/0001-libcap-Add-build-ldflags-to-_makenames-rule.patch
deleted file mode 100644
index 10ddf64935..0000000000
--- 
a/meta/recipes-support/libcap/files/0001-libcap-Add-build-ldflags-to-_makenames-rule.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From e52d3232882c263f5bd4b1980195ac633d706a53 Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Tue, 21 Oct 2025 18:27:51 -0700
-Subject: [PATCH] libcap: Add build ldflags to _makenames rule
-
-its calling compiler and linker in single step
-ensure that build ldflags are respected as it
-might have important information like which runtime
-to use.
-
-Upstream-Status: Backport 
[https://git.kernel.org/pub/scm/libs/libcap/libcap.git/commit/?id=c3ddf45d9afaab85d3b7db0dc7bfd1aafb8fde50]
-Signed-off-by: Khem Raj <[email protected]>
----
- libcap/Makefile | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/libcap/Makefile b/libcap/Makefile
-index e90a950..f0eb87e 100644
---- a/libcap/Makefile
-+++ b/libcap/Makefile
-@@ -80,7 +80,7 @@ $(PSXTITLE).pc: $(PSXTITLE).pc.in
-               $< >$@
-
- _makenames: _makenames.c cap_names.list.h
--      $(BUILD_CC) $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) $< -o $@
-+      $(BUILD_CC) $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) $< -o $@ $(BUILD_LDFLAGS)
-
- cap_names.h: _makenames
-       ./_makenames > cap_names.h
diff --git a/meta/recipes-support/libcap/libcap_2.76.bb 
b/meta/recipes-support/libcap/libcap_2.77.bb
similarity index 91%
rename from meta/recipes-support/libcap/libcap_2.76.bb
rename to meta/recipes-support/libcap/libcap_2.77.bb
index 27093ff3e7..9968cd5f50 100644
--- a/meta/recipes-support/libcap/libcap_2.76.bb
+++ b/meta/recipes-support/libcap/libcap_2.77.bb
@@ -12,13 +12,11 @@ LIC_FILES_CHKSUM = 
"file://License;md5=2965a646645b72ecee859b43c592dcaa \
 
 DEPENDS = "hostperl-runtime-native gperf-native"
 
-SRC_URI = 
"${KERNELORG_MIRROR}/linux/libs/security/linux-privs/${BPN}2/${BPN}-${PV}.tar.xz
 \
-           file://0001-libcap-Add-build-ldflags-to-_makenames-rule.patch \
-                  "
+SRC_URI = 
"${KERNELORG_MIRROR}/linux/libs/security/linux-privs/${BPN}2/${BPN}-${PV}.tar.xz"
 SRC_URI:append:class-nativesdk = " \
            
file://0001-nativesdk-libcap-Raise-the-size-of-arrays-containing.patch \
            "
-SRC_URI[sha256sum] = 
"629da4ab29900d0f7fcc36227073743119925fd711c99a1689bbf5c9b40c8e6f"
+SRC_URI[sha256sum] = 
"897bc18b44afc26c70e78cead3dbb31e154acc24bee085a5a09079a88dbf6f52"
 
 UPSTREAM_CHECK_URI = 
"https://www.kernel.org/pub/linux/libs/security/linux-privs/${BPN}2/";
 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#227635): 
https://lists.openembedded.org/g/openembedded-core/message/227635
Mute This Topic: https://lists.openembedded.org/mt/116760394/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to