diff --git a/releases.json b/releases.json index 6cfb355063..f03368ab4a 100644 --- a/releases.json +++ b/releases.json @@ -1411,6 +1411,7 @@ "libarchive" ], "versions": [ + "3.7.4-1", "3.7.3-1", "3.7.2-3", "3.7.2-2", diff --git a/subprojects/libarchive.wrap b/subprojects/libarchive.wrap index 5ff463feb0..58bf30eec1 100644 --- a/subprojects/libarchive.wrap +++ b/subprojects/libarchive.wrap @@ -1,8 +1,8 @@ [wrap-file] -directory = libarchive-3.7.3 -source_url = https://github.com/libarchive/libarchive/releases/download/v3.7.3/libarchive-3.7.3.tar.xz -source_filename = libarchive-3.7.3.tar.xz -source_hash = 63e7a7174638fc7d6b79b4c8b0ad954e0f4f45abe7239c1ecb200232aa9a43d2 +directory = libarchive-3.7.4 +source_url = https://github.com/libarchive/libarchive/releases/download/v3.7.4/libarchive-3.7.4.tar.xz +source_filename = libarchive-3.7.4.tar.xz +source_hash = f887755c434a736a609cbd28d87ddbfbe9d6a3bb5b703c22c02f6af80a802735 patch_directory = libarchive [provide] diff --git a/subprojects/packagefiles/libarchive/meson.build b/subprojects/packagefiles/libarchive/meson.build index ad181ae039..56e4384f9b 100644 --- a/subprojects/packagefiles/libarchive/meson.build +++ b/subprojects/packagefiles/libarchive/meson.build @@ -1,7 +1,7 @@ project( 'libarchive', 'c', - version: '3.7.3', + version: '3.7.4', meson_version: '>=0.54.1', ) @@ -114,6 +114,10 @@ if cc.has_header_symbol('ext2fs/ext2_fs.h', 'EXT2_IOC_GETFLAGS') cdata.set('HAVE_WORKING_EXT2_IOC_GETFLAGS', 1) endif +if cc.has_header_symbol('unistd.h', 'sysconf') + cdata.set('HAVE_SYSCONF', 1) +endif + foreach w : ['_mkgmtime', 'ctime_s', 'gmtime_s', 'localtime_s'] if cc.has_header_symbol('time.h', w) cdata.set('HAVE_@0@'.format(w.to_upper()), 1)