Skip to content

Commit

Permalink
libarchive: update to 3.7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit-pierre committed Apr 26, 2024
1 parent ec25da7 commit 4779d41
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
1 change: 1 addition & 0 deletions releases.json
Original file line number Diff line number Diff line change
Expand Up @@ -1411,6 +1411,7 @@
"libarchive"
],
"versions": [
"3.7.4-1",
"3.7.3-1",
"3.7.2-3",
"3.7.2-2",
Expand Down
8 changes: 4 additions & 4 deletions subprojects/libarchive.wrap
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
6 changes: 5 additions & 1 deletion subprojects/packagefiles/libarchive/meson.build
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
project(
'libarchive',
'c',
version: '3.7.3',
version: '3.7.4',
meson_version: '>=0.54.1',
)

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 4779d41

Please sign in to comment.