diff options
Diffstat (limited to 'net-misc/zsync/files/zsync-0.6.2-musl-off_t-fix.patch')
-rw-r--r-- | net-misc/zsync/files/zsync-0.6.2-musl-off_t-fix.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/net-misc/zsync/files/zsync-0.6.2-musl-off_t-fix.patch b/net-misc/zsync/files/zsync-0.6.2-musl-off_t-fix.patch new file mode 100644 index 000000000000..277f23b425cc --- /dev/null +++ b/net-misc/zsync/files/zsync-0.6.2-musl-off_t-fix.patch @@ -0,0 +1,16 @@ +diff --git a/libzsync/sha1.h b/libzsync/sha1.h +index 3946505..8840570 100644 +--- a/libzsync/sha1.h ++++ b/libzsync/sha1.h +@@ -11,9 +11,10 @@ + + #include "config.h" + +-#ifdef HAVE_INTTYPES_H ++#if defined(HAVE_INTTYPES_H) && defined(__GLIBC__) + #include <inttypes.h> + #else ++#include <stdint.h> + #include <sys/types.h> + #endif + |