cvs commit: patches/grub grub-0.94-gcc34-1.patch

jim at linuxfromscratch.org jim at linuxfromscratch.org
Thu May 20 15:58:33 PDT 2004


jim         04/05/20 16:58:33

  Added:       grub     grub-0.94-gcc34-1.patch
  Log:
  Added: grub-0.94-gcc34-1.patch
  
  Revision  Changes    Path
  1.1                  patches/grub/grub-0.94-gcc34-1.patch
  
  Index: grub-0.94-gcc34-1.patch
  ===================================================================
  Submitted By: Jim Gifford (jim at linuxfromscratch dot org)
  Date: 2004-05-13
  Initial Package Version: 0.94
  Origin: Gentoo
  Upstream Status: Already fixed in CVS
  Description: Fixes Compile Issues with GCC 3.4
   
  diff -Naur 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-14 03:51:42.356882818 +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
  +
  
  
  



More information about the patches mailing list