From 7c7a6432f7c448535cadfe9c22b4cb1027f1a0c9 Mon Sep 17 00:00:00 2001 From: q66 Date: Tue, 7 Jan 2020 02:04:23 +0100 Subject: [PATCH] dumpet: fix build on big endian musl --- srcpkgs/dumpet/patches/endian.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 srcpkgs/dumpet/patches/endian.patch diff --git a/srcpkgs/dumpet/patches/endian.patch b/srcpkgs/dumpet/patches/endian.patch new file mode 100644 index 00000000000..3b2ee254c6c --- /dev/null +++ b/srcpkgs/dumpet/patches/endian.patch @@ -0,0 +1,18 @@ +commit a3db0a3574271fea9be5f9a8832bead210686130 +Author: q66 +Date: Tue Jan 7 02:03:11 2020 +0100 + + Include byteswap.h to prevent undefined references on BE musl + +diff --git endian.h endian.h +index 7c78807..3cae0e1 100644 +--- endian.h ++++ endian.h +@@ -20,6 +20,7 @@ + #define ENDIAN_H + + #include ++#include + + #if __BYTE_ORDER == __LITTLE_ENDIAN + #define cpu_to_le16(x) (x)