diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-05-06 22:34:36 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-05-06 22:34:36 +0000 |
commit | 1c0a975208eac124823649066be12c0d55af478a (patch) | |
tree | 9a45dab80c923e89ab84dcccfe91d7b60cbe9309 /sys-boot/grub/files | |
parent | Stable on ia64 (Manifest recommit) (diff) | |
download | gentoo-2-1c0a975208eac124823649066be12c0d55af478a.tar.gz gentoo-2-1c0a975208eac124823649066be12c0d55af478a.tar.bz2 gentoo-2-1c0a975208eac124823649066be12c0d55af478a.zip |
add gcc-3.4 patch
Diffstat (limited to 'sys-boot/grub/files')
-rw-r--r-- | sys-boot/grub/files/grub-0.94-gcc3.4.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-boot/grub/files/grub-0.94-gcc3.4.patch b/sys-boot/grub/files/grub-0.94-gcc3.4.patch new file mode 100644 index 000000000000..223f6544c184 --- /dev/null +++ b/sys-boot/grub/files/grub-0.94-gcc3.4.patch @@ -0,0 +1,14 @@ +diff -ur grub-0.94.orig/stage2/char_io.c grub-0.94/stage2/char_io.c +--- grub-0.94.orig/stage2/char_io.c 2003-07-09 11:45:52.000000000 +0000 ++++ grub-0.94/stage2/char_io.c 2004-05-04 16:08:41.983029992 +0000 +@@ -1265,3 +1265,10 @@ + return dest; + } + #endif /* ! STAGE1_5 */ ++ ++#ifndef GRUB_UTIL ++# undef memcpy ++/* GCC emits references to memcpy() for struct copies etc. */ ++void *memcpy (void *dest, const void *src, int n) __attribute__ ((alias ("grub_memmove"))); ++#endif ++ |