summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
Diffstat (limited to 'patches')
-rw-r--r--patches/pixz-1.0.7.local.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/patches/pixz-1.0.7.local.patch b/patches/pixz-1.0.7.local.patch
new file mode 100644
index 00000000..f1d74a95
--- /dev/null
+++ b/patches/pixz-1.0.7.local.patch
@@ -0,0 +1,18 @@
+diff -ru pixz-1.0.7.orig/src/endian.c pixz-1.0.7/src/endian.c
+--- pixz-1.0.7.orig/src/endian.c 2020-05-25 05:30:21.000000000 +0200
++++ pixz-1.0.7/src/endian.c 2020-08-09 15:50:06.411547650 +0200
+@@ -10,12 +10,12 @@
+ OSWriteLittleInt64(d, 0, n);
+ }
+
+-#elif defined(__linux__) || defined(__FreeBSD__)
++#elif defined(__linux__) || defined(__FreeBSD__) || defined(__midipix__)
+
+ #include "config.h"
+ #include <stdint.h>
+ #include <string.h>
+-#ifdef __linux__
++#if defined(__linux__) || defined(__midipix__)
+ #include <endian.h>
+ #include <byteswap.h>
+ #else