summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-02-15 20:19:46 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-02-18 11:56:04 +0000
commit59e69a74d2b66084073c0cb56f5012d13c25da8e (patch)
tree3b3c85dbecd4586de78a1becad1f63dc2f9be96a /meta/recipes-core
parent3dcde9dcac17d173c16f120b51df171e2c123142 (diff)
downloadpoky-59e69a74d2b66084073c0cb56f5012d13c25da8e.tar.gz
libxcrypt-compat,libxcrypt: upgrade 4.4.37 -> 4.4.38
Drop patch which is already applied upstream [1] since 4.4.20 [1] https://github.com/besser82/libxcrypt/commit/fed81d1a98fab52839b60a55447d368899034847 (From OE-Core rev: 7b802e4e55b37e985cc7151a8a8561b206563509) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/libxcrypt/files/fix_cflags_handling.patch32
-rw-r--r--meta/recipes-core/libxcrypt/libxcrypt-compat_4.4.38.bb (renamed from meta/recipes-core/libxcrypt/libxcrypt-compat_4.4.37.bb)0
-rw-r--r--meta/recipes-core/libxcrypt/libxcrypt.inc3
-rw-r--r--meta/recipes-core/libxcrypt/libxcrypt_4.4.38.bb (renamed from meta/recipes-core/libxcrypt/libxcrypt_4.4.37.bb)0
4 files changed, 1 insertions, 34 deletions
diff --git a/meta/recipes-core/libxcrypt/files/fix_cflags_handling.patch b/meta/recipes-core/libxcrypt/files/fix_cflags_handling.patch
deleted file mode 100644
index 879950bbe3..0000000000
--- a/meta/recipes-core/libxcrypt/files/fix_cflags_handling.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1From 1e94a03541e35718dc1eaa8023e0ec3cf2de369b Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Fri, 30 Apr 2021 10:35:02 +0100
4Subject: [PATCH] libxcrypt: Update to 4.4.19 release and fix symbol version
5
6If you pass CFLAGS with a leading space, " " gets passed to popen and convinces
7gcc to try and open a file called " ". This results in a confusing error message
8like:
9
10x86_64-pokysdk-linux-gcc: error: : No such file or directory
11
12Avoid this by stripping empty elements out of CFLAGS.
13
14Upstream-Status: Submitted [https://github.com/besser82/libxcrypt/pull/126]
15Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16---
17 build-aux/scripts/compute-symver-floor | 2 ++
18 1 file changed, 2 insertions(+)
19
20diff --git a/build-aux/scripts/compute-symver-floor b/build-aux/scripts/compute-symver-floor
21index 4ec82e1..8117342 100644
22--- a/build-aux/scripts/compute-symver-floor
23+++ b/build-aux/scripts/compute-symver-floor
24@@ -36,6 +36,8 @@ sub preprocessor_check {
25 die "C compiler not available\n" unless @CC;
26
27 @CFLAGS = sh_split($ENV{CFLAGS} // q{});
28+ # Remove empty elements, particularly leading ones which cause issues with popen below
29+ @CFLAGS = grep {$_} @CFLAGS;
30
31 # Remove empty elements, particularly leading ones which
32 # cause issues with popen below.
diff --git a/meta/recipes-core/libxcrypt/libxcrypt-compat_4.4.37.bb b/meta/recipes-core/libxcrypt/libxcrypt-compat_4.4.38.bb
index bb4e2032dd..bb4e2032dd 100644
--- a/meta/recipes-core/libxcrypt/libxcrypt-compat_4.4.37.bb
+++ b/meta/recipes-core/libxcrypt/libxcrypt-compat_4.4.38.bb
diff --git a/meta/recipes-core/libxcrypt/libxcrypt.inc b/meta/recipes-core/libxcrypt/libxcrypt.inc
index 9ecb333fb9..55619daef7 100644
--- a/meta/recipes-core/libxcrypt/libxcrypt.inc
+++ b/meta/recipes-core/libxcrypt/libxcrypt.inc
@@ -10,9 +10,8 @@ LIC_FILES_CHKSUM = "file://LICENSING;md5=c0a30e2b1502c55a7f37e412cd6c6a4b \
10inherit autotools pkgconfig 10inherit autotools pkgconfig
11 11
12SRC_URI = "git://github.com/besser82/libxcrypt.git;branch=${SRCBRANCH};protocol=https \ 12SRC_URI = "git://github.com/besser82/libxcrypt.git;branch=${SRCBRANCH};protocol=https \
13 file://fix_cflags_handling.patch \
14 " 13 "
15SRCREV = "e5714d1f0a477f91ce3986fa63651c7710f0e183" 14SRCREV = "55ea777e8d567e5e86ffac917c28815ac54cc341"
16SRCBRANCH ?= "master" 15SRCBRANCH ?= "master"
17 16
18PROVIDES = "virtual/crypt" 17PROVIDES = "virtual/crypt"
diff --git a/meta/recipes-core/libxcrypt/libxcrypt_4.4.37.bb b/meta/recipes-core/libxcrypt/libxcrypt_4.4.38.bb
index 79dba2f6dc..79dba2f6dc 100644
--- a/meta/recipes-core/libxcrypt/libxcrypt_4.4.37.bb
+++ b/meta/recipes-core/libxcrypt/libxcrypt_4.4.38.bb