summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/libxcrypt/files/configure-c99.patch39
-rw-r--r--meta/recipes-core/libxcrypt/files/fix_cflags_handling.patch3
-rw-r--r--meta/recipes-core/libxcrypt/libxcrypt-compat_4.4.37.bb (renamed from meta/recipes-core/libxcrypt/libxcrypt-compat_4.4.36.bb)1
-rw-r--r--meta/recipes-core/libxcrypt/libxcrypt.inc9
-rw-r--r--meta/recipes-core/libxcrypt/libxcrypt_4.4.37.bb (renamed from meta/recipes-core/libxcrypt/libxcrypt_4.4.36.bb)0
5 files changed, 6 insertions, 46 deletions
diff --git a/meta/recipes-core/libxcrypt/files/configure-c99.patch b/meta/recipes-core/libxcrypt/files/configure-c99.patch
deleted file mode 100644
index b77ea7af07..0000000000
--- a/meta/recipes-core/libxcrypt/files/configure-c99.patch
+++ /dev/null
@@ -1,39 +0,0 @@
1From cfe9f4d6b0a5d10a15e10e987d528c5c513a42f1 Mon Sep 17 00:00:00 2001
2From: Florian Weimer <fweimer@redhat.com>
3Date: Tue, 19 Dec 2023 11:00:11 +0100
4Subject: [PATCH] configure: Only text the makecontext signature we need
5
6The test/explicit-bzero.c test uses a start routine without any
7arguments. There is no need for the multi-argument version.
8
9This avoids a build failure with glibc and future compilers.
10The GNU C library declares the makecontext callback of
11type void (*) (void), so no cast is needed. On other systems,
12the type may be the (currently distinct) type void (*) (),
13but given that this only affects the ability to execute a test,
14no further machinery is added here to detect that different type.
15
16Upstream-Status: Submitted [https://github.com/besser82/libxcrypt/pull/178/]
17Signed-off-by: Ross Burton <ross.burton@arm.com>
18---
19 configure.ac | 2 --
20 1 file changed, 2 deletions(-)
21
22diff --git a/configure.ac b/configure.ac
23index 016997c..4b8afd8 100644
24--- a/configure.ac
25+++ b/configure.ac
26@@ -303,13 +303,11 @@ AS_IF([test $ac_cv_header_ucontext_h = yes],
27 #include <ucontext.h>
28 static int x;
29 static void fn1(void) {}
30-static void fn2(int a, int b) { x = a - b; }
31 ]], [[
32 ucontext_t uc1, uc2;
33 if (getcontext(&uc1)) return 1;
34 if (setcontext(&uc1)) return 1;
35 makecontext(&uc1, fn1, 0);
36- makecontext(&uc2, fn2, 2, 1, 1);
37 if (swapcontext(&uc1, &uc2)) return 1;
38 return x;
39 ]])],
diff --git a/meta/recipes-core/libxcrypt/files/fix_cflags_handling.patch b/meta/recipes-core/libxcrypt/files/fix_cflags_handling.patch
index 94aa3fed49..879950bbe3 100644
--- a/meta/recipes-core/libxcrypt/files/fix_cflags_handling.patch
+++ b/meta/recipes-core/libxcrypt/files/fix_cflags_handling.patch
@@ -1,4 +1,4 @@
1From 7b2a0cdc281d94a5782c37ef87040c341447b4b4 Mon Sep 17 00:00:00 2001 1From 1e94a03541e35718dc1eaa8023e0ec3cf2de369b Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org> 2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Fri, 30 Apr 2021 10:35:02 +0100 3Date: Fri, 30 Apr 2021 10:35:02 +0100
4Subject: [PATCH] libxcrypt: Update to 4.4.19 release and fix symbol version 4Subject: [PATCH] libxcrypt: Update to 4.4.19 release and fix symbol version
@@ -13,7 +13,6 @@ Avoid this by stripping empty elements out of CFLAGS.
13 13
14Upstream-Status: Submitted [https://github.com/besser82/libxcrypt/pull/126] 14Upstream-Status: Submitted [https://github.com/besser82/libxcrypt/pull/126]
15Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> 15Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16
17--- 16---
18 build-aux/scripts/compute-symver-floor | 2 ++ 17 build-aux/scripts/compute-symver-floor | 2 ++
19 1 file changed, 2 insertions(+) 18 1 file changed, 2 insertions(+)
diff --git a/meta/recipes-core/libxcrypt/libxcrypt-compat_4.4.36.bb b/meta/recipes-core/libxcrypt/libxcrypt-compat_4.4.37.bb
index 30ec6a4674..bb4e2032dd 100644
--- a/meta/recipes-core/libxcrypt/libxcrypt-compat_4.4.36.bb
+++ b/meta/recipes-core/libxcrypt/libxcrypt-compat_4.4.37.bb
@@ -16,3 +16,4 @@ do_install:append () {
16 rm -rf ${D}${libdir}/libcrypt.so 16 rm -rf ${D}${libdir}/libcrypt.so
17 rm -rf ${D}${datadir} 17 rm -rf ${D}${datadir}
18} 18}
19
diff --git a/meta/recipes-core/libxcrypt/libxcrypt.inc b/meta/recipes-core/libxcrypt/libxcrypt.inc
index ee6875aa05..9ecb333fb9 100644
--- a/meta/recipes-core/libxcrypt/libxcrypt.inc
+++ b/meta/recipes-core/libxcrypt/libxcrypt.inc
@@ -9,13 +9,12 @@ LIC_FILES_CHKSUM = "file://LICENSING;md5=c0a30e2b1502c55a7f37e412cd6c6a4b \
9 9
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 \
13SRCREV = "f531a36aa916a22ef2ce7d270ba381e264250cbf" 13 file://fix_cflags_handling.patch \
14 "
15SRCREV = "e5714d1f0a477f91ce3986fa63651c7710f0e183"
14SRCBRANCH ?= "master" 16SRCBRANCH ?= "master"
15 17
16SRC_URI += "file://fix_cflags_handling.patch \
17 file://configure-c99.patch"
18
19PROVIDES = "virtual/crypt" 18PROVIDES = "virtual/crypt"
20 19
21S = "${WORKDIR}/git" 20S = "${WORKDIR}/git"
diff --git a/meta/recipes-core/libxcrypt/libxcrypt_4.4.36.bb b/meta/recipes-core/libxcrypt/libxcrypt_4.4.37.bb
index 79dba2f6dc..79dba2f6dc 100644
--- a/meta/recipes-core/libxcrypt/libxcrypt_4.4.36.bb
+++ b/meta/recipes-core/libxcrypt/libxcrypt_4.4.37.bb