aboutsummaryrefslogtreecommitdiffstats
path: root/main/rhash/byteorder.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-03-26 19:12:59 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-03-26 19:12:59 +0000
commitcd0f7dce03ab95b48d00da69bdc9a0d29f86832f (patch)
tree63b0137ece78fd8d71631c36f4313d5a8186a574 /main/rhash/byteorder.patch
parente9683d537d744d14ad7dfde6f1b39370705e831f (diff)
downloadaports-cd0f7dce03ab95b48d00da69bdc9a0d29f86832f.tar.bz2
aports-cd0f7dce03ab95b48d00da69bdc9a0d29f86832f.tar.xz
main/rhash: use patch instead of sed
Diffstat (limited to 'main/rhash/byteorder.patch')
-rw-r--r--main/rhash/byteorder.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/rhash/byteorder.patch b/main/rhash/byteorder.patch
new file mode 100644
index 0000000000..a0cb83d6bc
--- /dev/null
+++ b/main/rhash/byteorder.patch
@@ -0,0 +1,13 @@
+diff --git a/librhash/byte_order.h b/librhash/byte_order.h
+index 1ea1096..b248b57 100644
+--- a/librhash/byte_order.h
++++ b/librhash/byte_order.h
+@@ -4,7 +4,7 @@
+ #include "ustd.h"
+ #include <stdlib.h>
+
+-#if defined(__GLIBC__)
++#if defined(__linux__)
+ # include <endian.h>
+ #endif
+ #if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__APPLE__)