diff options
author | Wilken 'Akiko' Gottwalt | 2021-05-27 09:29:01 +0200 |
---|---|---|
committer | Wilken 'Akiko' Gottwalt | 2021-05-27 09:29:01 +0200 |
commit | 79b08b2af3a551bcc32dd469ef8b50666c581c14 (patch) | |
tree | a5fddf03bc13818aaac4fdeaf41f72ecead86e84 /special-devices.patch | |
parent | 7c7ee87e51afb0b166e93fc399d39cf5c0729717 (diff) | |
download | aur-79b08b2af3a551bcc32dd469ef8b50666c581c14.tar.gz |
updated version to last maintained debian version (77)
Current binutils 2.36+ introduces an odd bug that causes the stage1
and stage2 files to bloat to over 100 MiB. This is not fixed yet.
Diffstat (limited to 'special-devices.patch')
-rw-r--r-- | special-devices.patch | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/special-devices.patch b/special-devices.patch deleted file mode 100644 index 894f3e8872e8..000000000000 --- a/special-devices.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- grub-0.93/lib/device.c.raid 2002-05-20 05:53:46.000000000 -0400 -+++ grub-0.93/lib/device.c 2002-12-28 23:24:10.000000000 -0500 -@@ -689,7 +689,14 @@ - if (strcmp (dev + strlen(dev) - 5, "/disc") == 0) - strcpy (dev + strlen(dev) - 5, "/part"); - } -- sprintf (dev + strlen(dev), "%d", ((partition >> 16) & 0xFF) + 1); -+ -+ sprintf (dev + strlen(dev), "%s%d", -+ /* Compaq smart and others */ -+ (strncmp(dev, "/dev/ida/", 9) == 0 || -+ strncmp(dev, "/dev/ataraid/", 13) == 0 || -+ strncmp(dev, "/dev/cciss/", 11) == 0 || -+ strncmp(dev, "/dev/rd/", 8) == 0) ? "p" : "", -+ ((partition >> 16) & 0xFF) + 1); - - /* Open the partition. */ - fd = open (dev, O_RDWR); |