diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-05-27 11:05:11 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-05-28 07:54:28 +0200 |
commit | 29632d44b49ea1d5b216cea7179d75156df59eff (patch) | |
tree | a8679cb625c87b0bc7bb2c5be103ede37be08130 /patches/zsync-0.6.2 | |
parent | cd58f72119ac99bbe7f536b4c6f48e34506d18e7 (diff) | |
download | ptxdist-29632d44b49ea1d5b216cea7179d75156df59eff.tar.gz ptxdist-29632d44b49ea1d5b216cea7179d75156df59eff.tar.xz |
zsync: version bump 0.6.1 -> 0.6.2
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches/zsync-0.6.2')
-rw-r--r-- | patches/zsync-0.6.2/0001-make-sure-config.h-is-included-first.patch | 42 | ||||
-rw-r--r-- | patches/zsync-0.6.2/series | 4 |
2 files changed, 46 insertions, 0 deletions
diff --git a/patches/zsync-0.6.2/0001-make-sure-config.h-is-included-first.patch b/patches/zsync-0.6.2/0001-make-sure-config.h-is-included-first.patch new file mode 100644 index 000000000..4ac0c8ac7 --- /dev/null +++ b/patches/zsync-0.6.2/0001-make-sure-config.h-is-included-first.patch @@ -0,0 +1,42 @@ +From: Michael Olbrich <m.olbrich@pengutronix.de> +Date: Sun, 27 May 2018 11:01:51 +0200 +Subject: [PATCH] make sure config.h is included first + +Otherwise off_t may be defined incorrectly. + +Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> +--- + librcksum/md4.c | 3 +-- + librcksum/md4.h | 3 +-- + 2 files changed, 2 insertions(+), 4 deletions(-) + +diff --git a/librcksum/md4.c b/librcksum/md4.c +index dcf04ff4115e..4cb3a3b17711 100644 +--- a/librcksum/md4.c ++++ b/librcksum/md4.c +@@ -22,9 +22,8 @@ + static const char rcsid[] = "$OpenBSD: md4.c,v 1.6 2004/05/28 15:10:27 millert Exp $"; + #endif /* LIBC_SCCS and not lint */ + +-#include <sys/types.h> +-#include <string.h> + #include "md4.h" ++#include <string.h> + + /* Map Solaris endian stuff to something useful */ + #if defined(_BIG_ENDIAN) && !defined(_BYTE_ORDER) +diff --git a/librcksum/md4.h b/librcksum/md4.h +index e90603a83a68..e6a5fe4712f2 100644 +--- a/librcksum/md4.h ++++ b/librcksum/md4.h +@@ -20,9 +20,8 @@ + + #ifdef HAVE_INTTYPES_H + #include <inttypes.h> +-#else +-#include <sys/types.h> + #endif ++#include <sys/types.h> + + #define MD4_BLOCK_LENGTH 64 + #define MD4_DIGEST_LENGTH 16 diff --git a/patches/zsync-0.6.2/series b/patches/zsync-0.6.2/series new file mode 100644 index 000000000..699a2af81 --- /dev/null +++ b/patches/zsync-0.6.2/series @@ -0,0 +1,4 @@ +# generated by git-ptx-patches +#tag:base --start-number 1 +0001-make-sure-config.h-is-included-first.patch +# a0fd298b34a430b0b459e7f4737628f6 - git-ptx-patches magic |