OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.6 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../dietlibc/patches/pkg_grub.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. # Copyright (C) 1998 - 2004 Clifford Wolf
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This patch file is dual-licensed. It is available under the license the
  11. # patched project is licensed under, as long as it is an OpenSource license
  12. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  13. # of the GNU General Public License as published by the Free Software
  14. # Foundation; either version 2 of the License, or (at your option) any later
  15. # version.
  16. # --- T2-COPYRIGHT-NOTE-END ---
  17. --- grub-0.93/lib/device.c.orig Thu Sep 4 16:25:24 2003
  18. +++ grub-0.93/lib/device.c Thu Sep 4 16:23:46 2003
  19. @@ -699,7 +699,7 @@
  20. return 0;
  21. }
  22. -#if defined(__linux__) && (!defined(__GLIBC__) || \
  23. +#if defined(__linux__) && (!defined(__dietlibc__)) && (!defined(__GLIBC__) || \
  24. ((__GLIBC__ < 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ < 1))))
  25. /* Maybe libc doesn't have large file support. */
  26. {
  27. --- grub-0.93/grub/asmstub.c~ Mon Dec 2 23:20:45 2002
  28. +++ grub-0.93/grub/asmstub.c Thu Sep 4 16:30:09 2003
  29. @@ -934,7 +934,7 @@
  30. return BIOSDISK_ERROR_GEOMETRY;
  31. /* Seek to the specified location. */
  32. -#if defined(__linux__) && (!defined(__GLIBC__) || \
  33. +#if defined(__linux__) && (!defined(__dietlibc__)) && (!defined(__GLIBC__) || \
  34. ((__GLIBC__ < 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ < 1))))
  35. /* Maybe libc doesn't have large file support. */
  36. {