Skip to contentSkip to conversation

libxcrypt-compat,libxcrypt: upgrade 4.4.37 -> 4.4.38

PATCH Superseded Khem Raj 1 participant 1 message Feb 16, 2025

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH v2 1/1 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

---
v2: Drop doubly applied patch

 .../libxcrypt/files/fix_cflags_handling.patch | 32 -------------------
 ...t_4.4.37.bb => libxcrypt-compat_4.4.38.bb} |  0
 meta/recipes-core/libxcrypt/libxcrypt.inc     |  3 +-
 ...ibxcrypt_4.4.37.bb => libxcrypt_4.4.38.bb} |  0
 4 files changed, 1 insertion(+), 34 deletions(-)
 delete mode 100644 meta/recipes-core/libxcrypt/files/fix_cflags_handling.patch
 rename meta/recipes-core/libxcrypt/{libxcrypt-compat_4.4.37.bb => libxcrypt-compat_4.4.38.bb} (100%)
 rename meta/recipes-core/libxcrypt/{libxcrypt_4.4.37.bb => libxcrypt_4.4.38.bb} (100%)
meta/recipes-core/libxcrypt/files/fix_cflags_handling.patch deleted +0 -32
deleted file mode 100644
index 879950bbe37..00000000000
@@ -1,32 +0,0 @@
-From 1e94a03541e35718dc1eaa8023e0ec3cf2de369b Mon Sep 17 00:00:00 2001
-From: Richard Purdie <[email protected]>
-Date: Fri, 30 Apr 2021 10:35:02 +0100
-Subject: [PATCH] libxcrypt: Update to 4.4.19 release and fix symbol version
-
-If you pass CFLAGS with a leading space, " " gets passed to popen and convinces
-gcc to try and open a file called " ". This results in a confusing error message
-like:
-
-x86_64-pokysdk-linux-gcc: error: : No such file or directory
-
-Avoid this by stripping empty elements out of CFLAGS.
-
-Upstream-Status: Submitted [https://github.com/besser82/libxcrypt/pull/126]
-Signed-off-by: Richard Purdie <[email protected]>
----
- build-aux/scripts/compute-symver-floor | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/build-aux/scripts/compute-symver-floor b/build-aux/scripts/compute-symver-floor
-index 4ec82e1..8117342 100644
---- a/build-aux/scripts/compute-symver-floor
-+++ b/build-aux/scripts/compute-symver-floor
-@@ -36,6 +36,8 @@ sub preprocessor_check {
-         die "C compiler not available\n" unless @CC;
- 
-         @CFLAGS = sh_split($ENV{CFLAGS} // q{});
-+        # Remove empty elements, particularly leading ones which cause issues with popen below
-+        @CFLAGS = grep {$_} @CFLAGS;
- 
-         # Remove empty elements, particularly leading ones which
-         # cause issues with popen below.
meta/recipes-core/libxcrypt/libxcrypt-compat_4.4.38.bb renamed from meta/recipes-core/libxcrypt/libxcrypt-compat_4.4.37.bb +0 -0
similarity index 100%
rename from meta/recipes-core/libxcrypt/libxcrypt-compat_4.4.37.bb
rename to meta/recipes-core/libxcrypt/libxcrypt-compat_4.4.38.bb
meta/recipes-core/libxcrypt/libxcrypt.inc +1 -2
index 9ecb333fb96..55619daef7d 100644
@@ -10,9 +10,8 @@ LIC_FILES_CHKSUM = "file://LICENSING;md5=c0a30e2b1502c55a7f37e412cd6c6a4b \
 inherit autotools pkgconfig
 
 SRC_URI = "git://github.com/besser82/libxcrypt.git;branch=${SRCBRANCH};protocol=https \
-           file://fix_cflags_handling.patch \
            "
-SRCREV = "e5714d1f0a477f91ce3986fa63651c7710f0e183"
+SRCREV = "55ea777e8d567e5e86ffac917c28815ac54cc341"
 SRCBRANCH ?= "master"
 
 PROVIDES = "virtual/crypt"
meta/recipes-core/libxcrypt/libxcrypt_4.4.38.bb renamed from meta/recipes-core/libxcrypt/libxcrypt_4.4.37.bb +0 -0
similarity index 100%
rename from meta/recipes-core/libxcrypt/libxcrypt_4.4.37.bb
rename to meta/recipes-core/libxcrypt/libxcrypt_4.4.38.bb