summaryrefslogtreecommitdiffstats
path: root/package/grub/patches/110-remove_configure_errors.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/grub/patches/110-remove_configure_errors.patch')
-rw-r--r--package/grub/patches/110-remove_configure_errors.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/package/grub/patches/110-remove_configure_errors.patch b/package/grub/patches/110-remove_configure_errors.patch
new file mode 100644
index 000000000..f090aa975
--- /dev/null
+++ b/package/grub/patches/110-remove_configure_errors.patch
@@ -0,0 +1,38 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -177,26 +177,22 @@ grub_ASM_ABSOLUTE_WITHOUT_ASTERISK
+
+ grub_CHECK_START_SYMBOL
+ grub_CHECK_USCORE_START_SYMBOL
+-if test "x$grub_cv_check_start_symbol" != "xyes" \
+- -a "x$grub_cv_check_uscore_start_symbol" != "xyes"; then
+- AC_MSG_ERROR([Neither start nor _start is defined])
+-fi
+
+ grub_CHECK_USCORE_USCORE_BSS_START_SYMBOL
+ grub_CHECK_USCORE_EDATA_SYMBOL
+ grub_CHECK_EDATA_SYMBOL
+-if test "x$grub_cv_check_uscore_uscore_bss_start_symbol" != "xyes" \
+- -a "x$grub_cv_check_uscore_edata_symbol" != "xyes" \
+- -a "x$grub_cv_check_edata_symbol" != "xyes"; then
+- AC_MSG_ERROR([None of __bss_start, _edata, edata defined])
+-fi
++# if test "x$grub_cv_check_uscore_uscore_bss_start_symbol" != "xyes" \
++# -a "x$grub_cv_check_uscore_edata_symbol" != "xyes" \
++# -a "x$grub_cv_check_edata_symbol" != "xyes"; then
++# AC_MSG_ERROR([None of __bss_start, _edata, edata defined])
++# fi
+
+ grub_CHECK_END_SYMBOL
+ grub_CHECK_USCORE_END_SYMBOL
+-if test "x$grub_cv_check_end_symbol" != "xyes" \
+- -a "x$grub_cv_check_uscore_end_symbol" != "xyes"; then
+- AC_MSG_ERROR([Neither end nor _end is defined])
+-fi
++#if test "x$grub_cv_check_end_symbol" != "xyes" \
++# -a "x$grub_cv_check_uscore_end_symbol" != "xyes"; then
++# AC_MSG_ERROR([Neither end nor _end is defined])
++#fi
+
+ # Check for curses libraries.
+ AC_ARG_WITH(curses,