summaryrefslogtreecommitdiff
path: root/package/grub/patches/patch-lib_libgcrypt-grub_cipher_sha512_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-06-26 21:28:41 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-06-26 21:28:41 +0200
commit5b1852a0214cec5b3b6ed5fd962276b94b369e56 (patch)
treec27a541a8c813e70e10518f5e46aeafba8a32b92 /package/grub/patches/patch-lib_libgcrypt-grub_cipher_sha512_c
parent6bf65192a05ccee7e50ef97eacdab33c2c5e011b (diff)
grub: add needed stuff for static build and busybox grep
Diffstat (limited to 'package/grub/patches/patch-lib_libgcrypt-grub_cipher_sha512_c')
-rw-r--r--package/grub/patches/patch-lib_libgcrypt-grub_cipher_sha512_c11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/grub/patches/patch-lib_libgcrypt-grub_cipher_sha512_c b/package/grub/patches/patch-lib_libgcrypt-grub_cipher_sha512_c
new file mode 100644
index 000000000..070a15dff
--- /dev/null
+++ b/package/grub/patches/patch-lib_libgcrypt-grub_cipher_sha512_c
@@ -0,0 +1,11 @@
+--- grub-1.98.orig/lib/libgcrypt-grub/cipher/sha512.c 2010-03-06 21:52:26.000000000 +0100
++++ grub-1.98/lib/libgcrypt-grub/cipher/sha512.c 2010-06-26 20:24:09.235288423 +0200
+@@ -162,7 +162,7 @@ transform (SHA512_CONTEXT *hd, const uns
+ h = hd->h7;
+
+ #ifdef WORDS_BIGENDIAN
+- memcpy (w, data, 128);
++ grub_memcpy (w, data, 128);
+ #else
+ {
+ int i;