diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-03-26 19:12:59 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-03-26 19:12:59 +0000 |
commit | cd0f7dce03ab95b48d00da69bdc9a0d29f86832f (patch) | |
tree | 63b0137ece78fd8d71631c36f4313d5a8186a574 /main/rhash/byteorder.patch | |
parent | e9683d537d744d14ad7dfde6f1b39370705e831f (diff) | |
download | aports-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.patch | 13 |
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__) |