summaryrefslogtreecommitdiffstats
path: root/recipes/busybox/busybox-1.13.2/fdisk_nios2.patch
blob: f023f11f75444036b2703abc5c87dbc19aa8616e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: busybox-1.13.2/util-linux/fdisk_osf.c
===================================================================
--- busybox-1.13.2.orig/util-linux/fdisk_osf.c	2010-06-07 07:29:28.000000000 +0200
+++ busybox-1.13.2/util-linux/fdisk_osf.c	2010-06-07 07:29:32.000000000 +0200
@@ -45,7 +45,7 @@
 
 #if defined(i386) || defined(__sparc__) || defined(__arm__) \
  || defined(__m68k__) || defined(__mips__) || defined(__s390__) \
- || defined(__sh__) || defined(__x86_64__)
+ || defined(__sh__) || defined(__x86_64__) || defined (__nios2__)
 #define BSD_LABELSECTOR   1
 #define BSD_LABELOFFSET   0
 #elif defined(__alpha__) || defined(__powerpc__) || defined(__ia64__) \