summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiktor w brodlo <wiktor@brodlo.net>2011-08-03 13:23:24 +0000
committerwiktor w brodlo <wiktor@brodlo.net>2011-08-03 13:23:24 +0000
commita137004caf66bf13fbc9bfdfeeae4811fde8ac37 (patch)
treef4f97785b8f2956278e8b3b20208892abe077c9e /sys-boot/grub/files
parentsys-boot/grub/Manifest (diff)
downloadanaconda-overlay-a137004caf66bf13fbc9bfdfeeae4811fde8ac37.tar.gz
anaconda-overlay-a137004caf66bf13fbc9bfdfeeae4811fde8ac37.tar.bz2
anaconda-overlay-a137004caf66bf13fbc9bfdfeeae4811fde8ac37.zip
sys-boot/grub: add x86 to supported target CPUs
Diffstat (limited to 'sys-boot/grub/files')
-rw-r--r--sys-boot/grub/files/add-x86-to-supported-targets.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/sys-boot/grub/files/add-x86-to-supported-targets.patch b/sys-boot/grub/files/add-x86-to-supported-targets.patch
new file mode 100644
index 0000000..9e9dbc7
--- /dev/null
+++ b/sys-boot/grub/files/add-x86-to-supported-targets.patch
@@ -0,0 +1,24 @@
+diff -rupN grub-1.99.orig//configure grub-1.99//configure
+--- grub-1.99.orig//configure 2011-05-14 20:57:49.000000000 +0000
++++ grub-1.99//configure 2011-08-03 13:18:05.013238567 +0000
+@@ -3821,7 +3821,7 @@ TARGET_CPPFLAGS="$TARGET_CPPFLAGS -I\$(t
+ TARGET_CPPFLAGS="$TARGET_CPPFLAGS -I\$(top_builddir)/include"
+
+ case "$target_cpu" in
+- i[3456]86) target_cpu=i386 ;;
++ i[3456]86|x86) target_cpu=i386 ;;
+ amd64) target_cpu=x86_64 ;;
+ sparc) target_cpu=sparc64 ;;
+ mipsel|mips64el)
+diff -rupN grub-1.99.orig//configure.ac grub-1.99//configure.ac
+--- grub-1.99.orig//configure.ac 2011-05-13 19:47:26.000000000 +0000
++++ grub-1.99//configure.ac 2011-08-03 13:14:35.012238732 +0000
+@@ -68,7 +68,7 @@ TARGET_CPPFLAGS="$TARGET_CPPFLAGS -I\$(t
+ TARGET_CPPFLAGS="$TARGET_CPPFLAGS -I\$(top_builddir)/include"
+
+ case "$target_cpu" in
+- i[[3456]]86) target_cpu=i386 ;;
++ i[[3456]]86|x86) target_cpu=i386 ;;
+ amd64) target_cpu=x86_64 ;;
+ sparc) target_cpu=sparc64 ;;
+ mipsel|mips64el)