summaryrefslogtreecommitdiff
path: root/recipes/util-linux/files/fdiskbsdlabel_thumb.diff
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/util-linux/files/fdiskbsdlabel_thumb.diff')
-rw-r--r--recipes/util-linux/files/fdiskbsdlabel_thumb.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes/util-linux/files/fdiskbsdlabel_thumb.diff b/recipes/util-linux/files/fdiskbsdlabel_thumb.diff
new file mode 100644
index 0000000000..e6f82b5b46
--- /dev/null
+++ b/recipes/util-linux/files/fdiskbsdlabel_thumb.diff
@@ -0,0 +1,12 @@
+--- util-linux-2.12r/fdisk/fdiskbsdlabel.h.orig 2006-01-21 23:53:51.000000000 +0100
++++ util-linux-2.12r/fdisk/fdiskbsdlabel.h 2006-01-21 23:54:35.000000000 +0100
+@@ -52,6 +52,9 @@
+ #elif defined (__s390__) || defined (__s390x__)
+ #define BSD_LABELSECTOR 1
+ #define BSD_LABELOFFSET 0
++#elif defined (__thumb__)
++#define BSD_LABELSECTOR 1
++#define BSD_LABELOFFSET 0
+ #else
+ #error unknown architecture
+ #endif