summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2024-09-30 17:09:34 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-10-08 13:26:39 +0100
commit963c1378eb7c261f04d454e234ec8febacb89d47 (patch)
treee60fe5141099ce13ef38d78ceb50c8e5999f63ec
parent312488228ad408fb0f29b2aa272e72cf87de8e93 (diff)
downloadpoky-963c1378eb7c261f04d454e234ec8febacb89d47.tar.gz
libarchive: upgrade 3.7.4 -> 3.7.6
Drop configurehack.patch, no longer needed Upstream changes break the python3-libarchive-c test suite, a second patch follows. (From OE-Core rev: e093f603963f10dd8a4cfb2a8d3c3f0efb3fb5bf) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/libarchive/libarchive/configurehack.patch55
-rw-r--r--meta/recipes-extended/libarchive/libarchive_3.7.6.bb (renamed from meta/recipes-extended/libarchive/libarchive_3.7.4.bb)4
2 files changed, 2 insertions, 57 deletions
diff --git a/meta/recipes-extended/libarchive/libarchive/configurehack.patch b/meta/recipes-extended/libarchive/libarchive/configurehack.patch
deleted file mode 100644
index 45fddd9147..0000000000
--- a/meta/recipes-extended/libarchive/libarchive/configurehack.patch
+++ /dev/null
@@ -1,55 +0,0 @@
1To work with autoconf 2.73, tweak the macro ordering in configure.in.
2
3Upstream-Status: Pending
4Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5---
6 configure.ac | 26 +++++++++++++-------------
7 1 file changed, 13 insertions(+), 13 deletions(-)
8
9diff --git a/configure.ac b/configure.ac
10index 503bb75..e3101da 100644
11--- a/configure.ac
12+++ b/configure.ac
13@@ -414,6 +414,19 @@ if test "x$with_bz2lib" != "xno"; then
14 esac
15 fi
16
17+# Checks for typedefs, structures, and compiler characteristics.
18+AC_C_CONST
19+# la_TYPE_UID_T defaults to "int", which is incorrect for MinGW
20+# and MSVC. Use a customized version.
21+la_TYPE_UID_T
22+AC_TYPE_MODE_T
23+# AC_TYPE_OFF_T defaults to "long", which limits us to 4GB files on
24+# most systems... default to "long long" instead.
25+AC_CHECK_TYPE(off_t, [long long])
26+AC_TYPE_SIZE_T
27+AC_CHECK_TYPE(id_t, [unsigned long])
28+AC_CHECK_TYPE(uintptr_t, [unsigned int])
29+
30 AC_ARG_WITH([libb2],
31 AS_HELP_STRING([--without-libb2], [Don't build support for BLAKE2 through libb2]))
32
33@@ -678,19 +691,6 @@ fi
34
35 AC_SUBST(DEAD_CODE_REMOVAL)
36
37-# Checks for typedefs, structures, and compiler characteristics.
38-AC_C_CONST
39-# la_TYPE_UID_T defaults to "int", which is incorrect for MinGW
40-# and MSVC. Use a customized version.
41-la_TYPE_UID_T
42-AC_TYPE_MODE_T
43-# AC_TYPE_OFF_T defaults to "long", which limits us to 4GB files on
44-# most systems... default to "long long" instead.
45-AC_CHECK_TYPE(off_t, [long long])
46-AC_TYPE_SIZE_T
47-AC_CHECK_TYPE(id_t, [unsigned long])
48-AC_CHECK_TYPE(uintptr_t, [unsigned int])
49-
50 # Check for tm_gmtoff in struct tm
51 AC_CHECK_MEMBERS([struct tm.tm_gmtoff, struct tm.__tm_gmtoff],,,
52 [
53--
542.34.1
55
diff --git a/meta/recipes-extended/libarchive/libarchive_3.7.4.bb b/meta/recipes-extended/libarchive/libarchive_3.7.6.bb
index da85764116..de4d1ef764 100644
--- a/meta/recipes-extended/libarchive/libarchive_3.7.4.bb
+++ b/meta/recipes-extended/libarchive/libarchive_3.7.6.bb
@@ -30,10 +30,10 @@ PACKAGECONFIG[zstd] = "--with-zstd,--without-zstd,zstd,"
30EXTRA_OECONF += "--enable-largefile --without-iconv" 30EXTRA_OECONF += "--enable-largefile --without-iconv"
31 31
32SRC_URI = "http://libarchive.org/downloads/libarchive-${PV}.tar.gz" 32SRC_URI = "http://libarchive.org/downloads/libarchive-${PV}.tar.gz"
33SRC_URI += "file://configurehack.patch" 33
34UPSTREAM_CHECK_URI = "http://libarchive.org/" 34UPSTREAM_CHECK_URI = "http://libarchive.org/"
35 35
36SRC_URI[sha256sum] = "7875d49596286055b52439ed42f044bd8ad426aa4cc5aabd96bfe7abb971d5e8" 36SRC_URI[sha256sum] = "b4071807367b15b72777c2eaac80f42c8ea2d20212ab279514a19fe1f6f96ef4"
37 37
38CVE_STATUS[CVE-2023-30571] = "upstream-wontfix: upstream has documented that reported function is not thread-safe" 38CVE_STATUS[CVE-2023-30571] = "upstream-wontfix: upstream has documented that reported function is not thread-safe"
39 39