libarchive: 3.7.8 -> 3.8.0 (#409300)
This commit is contained in:
commit
e5439382d7
@ -1,18 +0,0 @@
|
|||||||
diff --git a/configure.ac b/configure.ac
|
|
||||||
index 0fdfaf06a5..d08611848c 100644
|
|
||||||
--- a/configure.ac
|
|
||||||
+++ b/configure.ac
|
|
||||||
@@ -453,13 +453,8 @@
|
|
||||||
AC_CHECK_HEADERS([iconv.h],[],[],[#include <stdlib.h>])
|
|
||||||
if test "x$am_cv_func_iconv" = "xyes"; then
|
|
||||||
AC_CHECK_HEADERS([localcharset.h])
|
|
||||||
- am_save_LIBS="$LIBS"
|
|
||||||
LIBS="${LIBS} ${LIBICONV}"
|
|
||||||
- if test -n "$LIBICONV"; then
|
|
||||||
- LIBSREQUIRED="$LIBSREQUIRED${LIBSREQUIRED:+ }iconv"
|
|
||||||
- fi
|
|
||||||
AC_CHECK_FUNCS([locale_charset])
|
|
||||||
- LIBS="${am_save_LIBS}"
|
|
||||||
if test "x$ac_cv_func_locale_charset" != "xyes"; then
|
|
||||||
# If locale_charset() is not in libiconv, we have to find libcharset.
|
|
||||||
AC_CHECK_LIB(charset,locale_charset)
|
|
||||||
@ -2,6 +2,7 @@
|
|||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
|
fetchpatch,
|
||||||
acl,
|
acl,
|
||||||
attr,
|
attr,
|
||||||
autoreconfHook,
|
autoreconfHook,
|
||||||
@ -11,7 +12,6 @@
|
|||||||
lzo,
|
lzo,
|
||||||
openssl,
|
openssl,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
sharutils,
|
|
||||||
xz,
|
xz,
|
||||||
zlib,
|
zlib,
|
||||||
zstd,
|
zstd,
|
||||||
@ -33,29 +33,28 @@
|
|||||||
assert xarSupport -> libxml2 != null;
|
assert xarSupport -> libxml2 != null;
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "libarchive";
|
pname = "libarchive";
|
||||||
version = "3.7.8";
|
version = "3.8.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "libarchive";
|
owner = "libarchive";
|
||||||
repo = "libarchive";
|
repo = "libarchive";
|
||||||
rev = "v${finalAttrs.version}";
|
rev = "v${finalAttrs.version}";
|
||||||
hash = "sha256-fjE3b9rDHf1Xubpm9guvX6I8a2loYsGHj3epLceueUw=";
|
hash = "sha256-nL2p2h+U25fhQQjbj16yhxhU8xEEuhNynIx7SNzl6Mo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
# The `.pc` file lists `iconv` in `Requires.private` when `-liconv`
|
# Remove in next release
|
||||||
# is required, even though common platforms in that situation like
|
|
||||||
# Darwin don’t ship a `.pc` file for their `libiconv`. This isn’t
|
|
||||||
# upstreamed as there are a handful of closed or regressed PRs
|
|
||||||
# trying to fix it already and it seems upstream added this to deal
|
|
||||||
# with some non‐portable MSYS2 thing or something.
|
|
||||||
#
|
#
|
||||||
# See:
|
# Fixes macOS metadata file handling when reading certain tarballs
|
||||||
|
# (e.g, bsdtar-produced tar containing a file with xattrs whose name is exactly 99 bytes long)
|
||||||
|
# <https://github.com/libarchive/libarchive/pull/2636>
|
||||||
#
|
#
|
||||||
# * <https://github.com/libarchive/libarchive/issues/1766>
|
# This also fixes test_copy in the test suite.
|
||||||
# * <https://github.com/libarchive/libarchive/issues/1819>
|
(fetchpatch {
|
||||||
# * <https://github.com/Homebrew/homebrew-core/blob/f8e9e8d4f30979dc99146b5877fce76be6d35124/Formula/lib/libarchive.rb#L48-L52>
|
name = "reset-header-state-after-mac-metadata.patch";
|
||||||
./fix-pkg-config-iconv.patch
|
url = "https://github.com/libarchive/libarchive/commit/5bb36db5e19aecabccec8f351ec22f8c3a8695f0.patch";
|
||||||
|
hash = "sha256-eNGSunYZ5b0TrkBUtOO7MYGXc+SEn1Sxm8MYyI+4JsQ=";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
outputs = [
|
outputs = [
|
||||||
@ -109,7 +108,6 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
zlib
|
zlib
|
||||||
zstd
|
zstd
|
||||||
]
|
]
|
||||||
++ lib.optional stdenv.hostPlatform.isUnix sharutils
|
|
||||||
++ lib.optionals stdenv.hostPlatform.isLinux [
|
++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||||
acl
|
acl
|
||||||
attr
|
attr
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user