summaryrefslogtreecommitdiff
path: root/recipes/util-linux-ng/util-linux-ng-2.17/fdiskbsdlabel.h-nios2.patch
blob: 5b5051e95471b5aa6bfb2284cc09b1eabf63bec8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: util-linux-ng-2.17/fdisk/fdiskbsdlabel.h
===================================================================
--- util-linux-ng-2.17.orig/fdisk/fdiskbsdlabel.h	2010-07-07 14:13:04.073530165 +0200
+++ util-linux-ng-2.17/fdisk/fdiskbsdlabel.h	2010-07-07 14:13:43.053535150 +0200
@@ -48,7 +48,8 @@
 
 #if defined (i386) || defined (__sparc__) || defined (__arm__) || \
     defined (__mips__) || defined (__s390__) || defined (__sh__) || \
-    defined(__x86_64__) || defined (__avr32__) || defined(__cris__)
+    defined(__x86_64__) || defined (__avr32__) || defined(__cris__) || \
+    defined (__nios2__)
 #define BSD_LABELSECTOR   1
 #define BSD_LABELOFFSET   0
 #elif defined (__alpha__) || defined (__powerpc__) || defined (__ia64__) || defined (__hppa__)