From 8fd7a9209d0ce4a7ebc0b10bb26f386b264f5dbe Mon Sep 17 00:00:00 2001 From: q66 Date: Wed, 8 Jan 2020 13:20:45 +0100 Subject: [PATCH] pixz: fix build on musl/big endian --- srcpkgs/pixz/patches/endian.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 srcpkgs/pixz/patches/endian.patch diff --git a/srcpkgs/pixz/patches/endian.patch b/srcpkgs/pixz/patches/endian.patch new file mode 100644 index 0000000000..a4805a2b5d --- /dev/null +++ b/srcpkgs/pixz/patches/endian.patch @@ -0,0 +1,18 @@ +commit 3315d1f6cae5a3d7f24e16798587999a5804fad6 +Author: q66 +Date: Wed Jan 8 13:19:14 2020 +0100 + + Add missing include to fix build on musl/BE + +diff --git src/endian.c src/endian.c +index b7724f3..09b2315 100644 +--- src/endian.c ++++ src/endian.c +@@ -15,6 +15,7 @@ void xle64enc(uint8_t *d, uint64_t n) { + #include + #ifdef __linux__ + #include ++ #include + #else + #include + #endif