summaryrefslogtreecommitdiff
path: root/sysutils/dd_rescue/files/patch-sha512.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/dd_rescue/files/patch-sha512.c')
-rw-r--r--sysutils/dd_rescue/files/patch-sha512.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/dd_rescue/files/patch-sha512.c b/sysutils/dd_rescue/files/patch-sha512.c
new file mode 100644
index 000000000000..e2219fa54e86
--- /dev/null
+++ b/sysutils/dd_rescue/files/patch-sha512.c
@@ -0,0 +1,11 @@
+--- sha512.c.orig 2014-06-29 00:54:18.000000000 +0900
++++ sha512.c 2014-06-29 00:54:36.000000000 +0900
+@@ -19,7 +19,7 @@
+ #include <netinet/in.h>
+ #include <assert.h>
+ #include <unistd.h>
+-#include <endian.h>
++#include <machine/endian.h>
+
+ /*
+ Note 1: All variables are 64 bit unsigned integers and addition is calculated modulo 2^64