1. 25 Jan, 2014 1 commit
    • Andrey Borzenkov's avatar
      fix Mingw W64-32 cross compile failure due to printf redefinition in libintl.h · 5ae584c0
      Andrey Borzenkov authored
      In file included from util/misc.c:36:0:
      ./include/grub/emu/misc.h:56:1: error: 'libintl_printf' is an unrecognized format function type [-Werror=format=]
       char * EXPORT_FUNC(xasprintf) (const char *fmt, ...) __attribute__ ((format (printf, 1, 2))) WARN_UNUSED_RESULT;
       ^
      ./include/grub/emu/misc.h:58:1: error: 'libintl_printf' is an unrecognized format function type [-Werror=format=]
      
      The reason is libintl.h which redefines printf as libintl_printf. The problem
      is not present in native MinGW build which avoids redefinition.  Use
      (format (__printf__) instead which is valid replacement in GCC.
      
      v2: add grub-core/lib/libgcrypt/src/g10lib.h
      v3: modify g10lib.h during import
      5ae584c0
  2. 21 Dec, 2013 2 commits
  3. 21 Nov, 2013 1 commit
  4. 12 Nov, 2013 1 commit
  5. 07 Nov, 2013 1 commit
  6. 04 Oct, 2013 1 commit
  7. 22 Aug, 2013 1 commit
  8. 14 Jan, 2013 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Fix compilation with older compilers. · 4a9950ec
      Vladimir 'phcoder' Serbinenko authored
      	* grub-core/Makefile.core.def (mpi): Add mpi-inline.c.
      	* grub-core/lib/libgcrypt_wrap/cipher_wrap.h: Remove redundant
      	declarations.
      	* grub-core/lib/posix_wrap/string.h: Include sys/types.h.
      	* grub-core/lib/posix_wrap/sys/types.h: Add common types.
      	* grub-core/lib/xzembed/xz_dec_lzma2.c (dict_put): Replace byte
      	identifier with b.
      	* grub-core/lib/xzembed/xz_dec_stream.c (dec_vli): Likewise.
      	* include/grub/crypto.h: Add type defines.
      	* util/import_gcrypth.sed: Remove duplicate type defines.
      4a9950ec
  9. 12 Jan, 2013 1 commit
  10. 08 Feb, 2012 1 commit
  11. 13 Dec, 2011 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Unify and improve RAID and crypto xor. · 496bd074
      Vladimir 'phcoder' Serbinenko authored
      	* grub-core/disk/raid.c (grub_raid_block_xor): Removed. All users
      	changed to grub_crypto_xor
      	* grub-core/lib/crypto.c (grub_crypto_xor): Moved from here ...
      	* include/grub/crypto.h (grub_crypto_xor): ... here. Inlined.
      	Use bigger types when possible.
      496bd074
  12. 06 Nov, 2011 2 commits
  13. 24 Apr, 2011 3 commits
  14. 23 Apr, 2011 1 commit
  15. 22 Apr, 2011 1 commit
  16. 05 Sep, 2010 1 commit
  17. 17 Aug, 2010 1 commit
  18. 06 May, 2010 1 commit
  19. 23 Dec, 2009 1 commit
  20. 07 Dec, 2009 1 commit
  21. 24 Nov, 2009 1 commit
  22. 16 Nov, 2009 1 commit
  23. 24 Nov, 2009 1 commit
  24. 13 Nov, 2009 3 commits
  25. 12 Nov, 2009 1 commit
  26. 11 Nov, 2009 1 commit
  27. 10 Nov, 2009 2 commits
  28. 09 Nov, 2009 1 commit