We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a61836 commit 7c7a643Copy full SHA for 7c7a643
1 file changed
srcpkgs/dumpet/patches/endian.patch
@@ -0,0 +1,18 @@
1
+commit a3db0a3574271fea9be5f9a8832bead210686130
2
+Author: q66 <daniel@octaforge.org>
3
+Date: Tue Jan 7 02:03:11 2020 +0100
4
+
5
+ Include byteswap.h to prevent undefined references on BE musl
6
7
+diff --git endian.h endian.h
8
+index 7c78807..3cae0e1 100644
9
+--- endian.h
10
++++ endian.h
11
+@@ -20,6 +20,7 @@
12
+ #define ENDIAN_H
13
14
+ #include <endian.h>
15
++#include <byteswap.h>
16
17
+ #if __BYTE_ORDER == __LITTLE_ENDIAN
18
+ #define cpu_to_le16(x) (x)
0 commit comments