diff options
-rw-r--r-- | meta/recipes-core/libxcrypt/files/fix_cflags_handling.patch | 32 | ||||
-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.inc | 3 | ||||
-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 @@ | |||
1 | From 1e94a03541e35718dc1eaa8023e0ec3cf2de369b Mon Sep 17 00:00:00 2001 | ||
2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
3 | Date: Fri, 30 Apr 2021 10:35:02 +0100 | ||
4 | Subject: [PATCH] libxcrypt: Update to 4.4.19 release and fix symbol version | ||
5 | |||
6 | If you pass CFLAGS with a leading space, " " gets passed to popen and convinces | ||
7 | gcc to try and open a file called " ". This results in a confusing error message | ||
8 | like: | ||
9 | |||
10 | x86_64-pokysdk-linux-gcc: error: : No such file or directory | ||
11 | |||
12 | Avoid this by stripping empty elements out of CFLAGS. | ||
13 | |||
14 | Upstream-Status: Submitted [https://github.com/besser82/libxcrypt/pull/126] | ||
15 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
16 | --- | ||
17 | build-aux/scripts/compute-symver-floor | 2 ++ | ||
18 | 1 file changed, 2 insertions(+) | ||
19 | |||
20 | diff --git a/build-aux/scripts/compute-symver-floor b/build-aux/scripts/compute-symver-floor | ||
21 | index 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 \ | |||
10 | inherit autotools pkgconfig | 10 | inherit autotools pkgconfig |
11 | 11 | ||
12 | SRC_URI = "git://github.com/besser82/libxcrypt.git;branch=${SRCBRANCH};protocol=https \ | 12 | SRC_URI = "git://github.com/besser82/libxcrypt.git;branch=${SRCBRANCH};protocol=https \ |
13 | file://fix_cflags_handling.patch \ | ||
14 | " | 13 | " |
15 | SRCREV = "e5714d1f0a477f91ce3986fa63651c7710f0e183" | 14 | SRCREV = "55ea777e8d567e5e86ffac917c28815ac54cc341" |
16 | SRCBRANCH ?= "master" | 15 | SRCBRANCH ?= "master" |
17 | 16 | ||
18 | PROVIDES = "virtual/crypt" | 17 | PROVIDES = "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 | |||