--- grub-1.98.orig/lib/libgcrypt-grub/cipher/des.c	2010-03-06 21:52:26.000000000 +0100
+++ grub-1.98/lib/libgcrypt-grub/cipher/des.c	2010-06-26 20:35:49.335279651 +0200
@@ -119,7 +119,7 @@
 #include "cipher.h"
 
 #if defined(__GNUC__) && defined(__GNU_LIBRARY__)
-#define working_memcmp memcmp
+#define working_memcmp grub_memcmp
 #else
 /*
  * According to the SunOS man page, memcmp returns indeterminate sign
