Skip to content

Commit

Permalink
xar: 498 -> 501
Browse files Browse the repository at this point in the history
  • Loading branch information
reckenrode committed Oct 4, 2024
1 parent e6f6bc0 commit 22a832f
Show file tree
Hide file tree
Showing 20 changed files with 27 additions and 27 deletions.
4 changes: 2 additions & 2 deletions pkgs/by-name/xa/xar/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@
}:
stdenv.mkDerivation (finalAttrs: {
pname = "xar${lib.optionalString (e2fsprogs == null) "-minimal"}";
version = "498";
version = "501";

src = fetchFromGitHub {
owner = "apple-oss-distributions";
repo = "xar";
rev = "xar-${finalAttrs.version}";
hash = "sha256-RyWeR/ZnDBHIZhwzVxETdrTTPQA2VgsLZegRkxX1240=";
hash = "sha256-Fq+Re0LCBIGhW2FR+pgV8SWtaDOEFgTh+rQ8JFWK/k0=";
};

# Update patch set with
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -957,5 +957,5 @@ index dfe69eb..a5fbe37 100644
}

--
2.44.1
2.46.0

Original file line number Diff line number Diff line change
Expand Up @@ -149,5 +149,5 @@ index ba9c868..8dcb484 100644
LZMA_CONTEXT(context)->lzma.next_out = ((unsigned char *)out) + offset;
LZMA_CONTEXT(context)->lzma.avail_out = outlen - offset;
--
2.44.1
2.46.0

Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ index 767891a..2380846 100644
flags |= EXT2_BTREE_FL ;
if( e2prop_get(f, "HashIndexed", (char **)&tmp) == 0 )
--
2.44.1
2.46.0

Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@ index 66876ad..cb4f6cf 100644

*nbyte = HASH_CTX(hash)->length;
--
2.44.1
2.46.0

Original file line number Diff line number Diff line change
Expand Up @@ -119,5 +119,5 @@ index 0ea661a..1db2daa 100644
optimal_rsize = fs_iosize;
}
--
2.44.1
2.46.0

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Subject: [PATCH 06/19] Fix more non-Darwin stuff
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/xar/include/xar.h.in b/xar/include/xar.h.in
index 9c93798..3d24b4f 100644
index 054b742..a4811d1 100644
--- a/xar/include/xar.h.in
+++ b/xar/include/xar.h.in
@@ -52,6 +52,7 @@ extern "C" {
Expand All @@ -34,5 +34,5 @@ index 0fec2bb..58ee6a8 100644
free(tmp);
free(bname);
--
2.44.1
2.46.0

Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ index f31682a..9c30c03 100644

// If the two pointers match, call it the same.
--
2.44.1
2.46.0

Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ index 26d41a5..3d8e5de 100644

dnl Some libtool envy
--
2.44.1
2.46.0

Original file line number Diff line number Diff line change
Expand Up @@ -109,5 +109,5 @@ index 3d8e5de..0cc04dd 100644

dnl
--
2.44.1
2.46.0

Original file line number Diff line number Diff line change
Expand Up @@ -123,5 +123,5 @@ index 0cc04dd..e466ee0 100644
dnl Configure libpthread.
dnl
--
2.44.1
2.46.0

Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ index 1db2daa..ac0b822 100644
#include <sys/types.h>
#include <sys/mount.h>
diff --git a/xar/src/xar_internal.h b/xar/src/xar_internal.h
index b78745c..2e6199e 100644
index b97aba3..8f5ff7b 100644
--- a/xar/src/xar_internal.h
+++ b/xar/src/xar_internal.h
@@ -8,11 +8,7 @@
Expand All @@ -100,5 +100,5 @@ index b78745c..2e6199e 100644
// Undeprecate these for internal usage
xar_t xar_open(const char *file, int32_t flags) API_AVAILABLE(macos(10.4));
--
2.44.1
2.46.0

Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ index 9977e8a..1bceb63 100644
const char *tocfile = NULL;
int arglen, i, err;
--
2.44.1
2.46.0

Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ index 58ee6a8..496dd82 100644

for(p = xar_prop_pfirst(f); p; p = xar_prop_pnext(p)) {
--
2.44.1
2.46.0

Original file line number Diff line number Diff line change
Expand Up @@ -119,5 +119,5 @@ index 496dd82..30c85c2 100644
}

--
2.44.1
2.46.0

Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ index dcb5783..cfb3d58 100644
+ return XAR(x)->attrcopy_from_heap(x, f, tmpp, xar_data_verify_callback, (void *)(&context));
}
diff --git a/xar/lib/io.c b/xar/lib/io.c
index fb9a72e..64c69af 100644
index ac636eb..efcb5dc 100644
--- a/xar/lib/io.c
+++ b/xar/lib/io.c
@@ -529,9 +529,6 @@ int32_t xar_attrcopy_from_heap(xar_t x, xar_file_t f, xar_prop_t p, write_callba
@@ -527,9 +527,6 @@ int32_t xar_attrcopy_from_heap(xar_t x, xar_file_t f, xar_prop_t p, write_callba

readsofar += bsize;

Expand All @@ -55,5 +55,5 @@ index fb9a72e..64c69af 100644
}

--
2.44.1
2.46.0

Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,5 @@ index b0cce7c..81771dc 100644
if( a ) {
char *t;
--
2.44.1
2.46.0

Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,5 @@ index 81771dc..d71a613 100644
} else {
tv[MTIME].tv_sec = time(NULL);
--
2.44.1
2.46.0

Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ Subject: [PATCH 18/19] Replace memcpy with memmove for musl
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xar/lib/io.c b/xar/lib/io.c
index 64c69af..c962c4b 100644
index efcb5dc..3aa882f 100644
--- a/xar/lib/io.c
+++ b/xar/lib/io.c
@@ -650,7 +650,7 @@ static int32_t flush_stream(xar_stream *stream) {
@@ -648,7 +648,7 @@ static int32_t flush_stream(xar_stream *stream) {
state->pending_buf = NULL;
} else if( state->pending_buf_size > len ) {
state->pending_buf_size -= len;
Expand All @@ -21,5 +21,5 @@ index 64c69af..c962c4b 100644
}

--
2.44.1
2.46.0

Original file line number Diff line number Diff line change
Expand Up @@ -146,5 +146,5 @@ index cb4f6cf..b99eca9 100644
CCDigestDestroy(HASH_CTX(hash)->digest);
#else
--
2.44.1
2.46.0

0 comments on commit 22a832f

Please sign in to comment.