summaryrefslogtreecommitdiff
path: root/package/grub/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-08 02:52:30 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-13 20:30:02 +0100
commitdf894ff3f570536ea1aa3e96a9d063e8f2f7c746 (patch)
treec7b6d43a1934c30f8e4253cfa0b30fd0896d4d95 /package/grub/patches
parent5366aa37eca50b97c477d423f3417c6f4a504f8f (diff)
grub: rework package, add mips support, update to latest git
Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
Diffstat (limited to 'package/grub/patches')
-rw-r--r--package/grub/patches/patch-configure11
-rw-r--r--package/grub/patches/patch-grub-core_gnulib_stdio_in_h14
-rw-r--r--package/grub/patches/patch-grub-core_kern_emu_hostdisk_c36
3 files changed, 0 insertions, 61 deletions
diff --git a/package/grub/patches/patch-configure b/package/grub/patches/patch-configure
deleted file mode 100644
index a3920a1c1..000000000
--- a/package/grub/patches/patch-configure
+++ /dev/null
@@ -1,11 +0,0 @@
---- grub-2.00.orig/configure 2012-06-26 13:59:16.000000000 +0200
-+++ grub-2.00/configure 2014-04-06 20:34:33.000000000 +0200
-@@ -3880,7 +3882,7 @@ TARGET_CPPFLAGS="$TARGET_CPPFLAGS -I\$(t
-
- case "$target_cpu" in
- i[3456]86) target_cpu=i386 ;;
-- amd64) target_cpu=x86_64 ;;
-+ amd64|x86_64) target_cpu=x86_64 ;;
- sparc) target_cpu=sparc64 ;;
- mipsel|mips64el)
- target_cpu=mipsel;
diff --git a/package/grub/patches/patch-grub-core_gnulib_stdio_in_h b/package/grub/patches/patch-grub-core_gnulib_stdio_in_h
deleted file mode 100644
index 79ab772ad..000000000
--- a/package/grub/patches/patch-grub-core_gnulib_stdio_in_h
+++ /dev/null
@@ -1,14 +0,0 @@
---- grub-2.00.orig/grub-core/gnulib/stdio.in.h 2010-12-01 15:45:43.000000000 +0100
-+++ grub-2.00/grub-core/gnulib/stdio.in.h 2014-04-05 10:02:52.000000000 +0200
-@@ -137,11 +137,6 @@ _GL_WARN_ON_USE (fflush, "fflush is not
- "use gnulib module fflush for portable POSIX compliance");
- #endif
-
--/* It is very rare that the developer ever has full control of stdin,
-- so any use of gets warrants an unconditional warning. Assume it is
-- always declared, since it is required by C89. */
--#undef gets
--_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
-
- #if @GNULIB_FOPEN@
- # if @REPLACE_FOPEN@
diff --git a/package/grub/patches/patch-grub-core_kern_emu_hostdisk_c b/package/grub/patches/patch-grub-core_kern_emu_hostdisk_c
deleted file mode 100644
index e238bb7fd..000000000
--- a/package/grub/patches/patch-grub-core_kern_emu_hostdisk_c
+++ /dev/null
@@ -1,36 +0,0 @@
---- grub-2.00.orig/grub-core/kern/emu/hostdisk.c 2012-06-25 10:32:04.000000000 +0200
-+++ grub-2.00/grub-core/kern/emu/hostdisk.c 2014-04-06 13:14:06.000000000 +0200
-@@ -761,25 +761,6 @@ linux_find_partition (char *dev, grub_di
- }
- #endif /* __linux__ */
-
--#if defined(__linux__) && (!defined(__GLIBC__) || \
-- ((__GLIBC__ < 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ < 1))))
-- /* Maybe libc doesn't have large file support. */
--grub_err_t
--grub_util_fd_seek (int fd, const char *name, grub_uint64_t off)
--{
-- loff_t offset, result;
-- static int _llseek (uint filedes, ulong hi, ulong lo,
-- loff_t *res, uint wh);
-- _syscall5 (int, _llseek, uint, filedes, ulong, hi, ulong, lo,
-- loff_t *, res, uint, wh);
--
-- offset = (loff_t) off;
-- if (_llseek (fd, offset >> 32, offset & 0xffffffff, &result, SEEK_SET))
-- return grub_error (GRUB_ERR_BAD_DEVICE, N_("cannot seek `%s': %s"),
-- name, strerror (errno));
-- return GRUB_ERR_NONE;
--}
--#else
- grub_err_t
- grub_util_fd_seek (int fd, const char *name, grub_uint64_t off)
- {
-@@ -790,7 +771,6 @@ grub_util_fd_seek (int fd, const char *n
- name, strerror (errno));
- return 0;
- }
--#endif
-
- static void
- flush_initial_buffer (const char *os_dev __attribute__ ((unused)))