summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klausmann <klausman@gentoo.org>2014-06-11 08:24:01 +0000
committerTobias Klausmann <klausman@gentoo.org>2014-06-11 08:24:01 +0000
commitae41c6df5ca82dd621a6914a86ca41181664012e (patch)
tree0b8a09a4be75a9fb03ca565bbaadbd4e9c3ab873 /sys-apps/util-linux/files
parentVersion bump. Remove old. (diff)
downloadgentoo-2-ae41c6df5ca82dd621a6914a86ca41181664012e.tar.gz
gentoo-2-ae41c6df5ca82dd621a6914a86ca41181664012e.tar.bz2
gentoo-2-ae41c6df5ca82dd621a6914a86ca41181664012e.zip
Fix fdisk compile failure on Alpha
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key CE5D54E8)
Diffstat (limited to 'sys-apps/util-linux/files')
-rw-r--r--sys-apps/util-linux/files/util-linux-2.24-fix-fdisk-on-alpha.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-apps/util-linux/files/util-linux-2.24-fix-fdisk-on-alpha.patch b/sys-apps/util-linux/files/util-linux-2.24-fix-fdisk-on-alpha.patch
new file mode 100644
index 000000000000..f01a55d6e662
--- /dev/null
+++ b/sys-apps/util-linux/files/util-linux-2.24-fix-fdisk-on-alpha.patch
@@ -0,0 +1,13 @@
+--- libfdisk/src/bsd.c.orig 2014-06-11 10:15:47.000000000 +0200
++++ libfdisk/src/bsd.c 2014-06-11 10:16:18.000000000 +0200
+@@ -787,8 +787,10 @@
+ case 0x06: /* DOS 16-bit >=32M */
+ case 0xe1: /* DOS access */
+ case 0xe3: /* DOS R/O */
++#if !defined (__alpha__)
+ case 0xf2: /* DOS secondary */
+ return BSD_FS_MSDOS;
++#endif
+ case 0x07: /* OS/2 HPFS */
+ return BSD_FS_HPFS;
+ default: