-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
52 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
pkgs/by-name/zs/zsync/read-blocksums-declaration-fix.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/libzsync/zsync.c b/libzsync/zsync.c | ||
index 793a426..783c349 100644 | ||
--- a/libzsync/zsync.c | ||
+++ b/libzsync/zsync.c | ||
@@ -116,7 +116,7 @@ struct zsync_state { | ||
}; | ||
|
||
static int zsync_read_blocksums(struct zsync_state *zs, FILE * f, | ||
- int rsum_bytes, int checksum_bytes, | ||
+ int rsum_bytes, unsigned int checksum_bytes, | ||
int seq_matches); | ||
static int zsync_sha1(struct zsync_state *zs, int fh); | ||
static int zsync_recompress(struct zsync_state *zs); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
diff --git a/c/librcksum/Makefile.am b/c/librcksum/Makefile.am | ||
index 0216e49..f4fce72 100644 | ||
--- a/librcksum/Makefile.am | ||
+++ b/librcksum/Makefile.am | ||
@@ -2,9 +2,8 @@ | ||
|
||
noinst_LIBRARIES = librcksum.a | ||
|
||
-TESTS = md4test rsumtest | ||
-noinst_PROGRAMS = md4test rsumtest | ||
+TESTS = md4test | ||
+noinst_PROGRAMS = md4test | ||
|
||
md4test_SOURCES = md4test.c md4.h md4.c | ||
-rsumtest_SOURCES = rsum.c rsumtest.c hash.c range.c state.c md4.c ../progress.c | ||
librcksum_a_SOURCES = internal.h rcksum.h md4.h rsum.c hash.c state.c range.c md4.c | ||
|