From 5bee8e99d01bc966f5ab46981c442e9ed5bae71c Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 3 Jul 2007 01:13:10 +0000 Subject: fix util-linux compile on avr32 SVN-Revision: 7860 --- package/util-linux/patches/801-cris-label.patch | 11 ----------- package/util-linux/patches/801-cris_avr32_label.patch | 11 +++++++++++ 2 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 package/util-linux/patches/801-cris-label.patch create mode 100644 package/util-linux/patches/801-cris_avr32_label.patch (limited to 'package') diff --git a/package/util-linux/patches/801-cris-label.patch b/package/util-linux/patches/801-cris-label.patch deleted file mode 100644 index 0ccfb52..0000000 --- a/package/util-linux/patches/801-cris-label.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- util-linux-2.12r.orig/fdisk/fdiskbsdlabel.h 2007-06-12 21:32:25.000000000 +0200 -+++ util-linux-2.12r/fdisk/fdiskbsdlabel.h 2007-06-12 21:33:20.000000000 +0200 -@@ -43,7 +43,7 @@ - - #define BSD_LINUX_BOOTDIR "/usr/ucb/mdec" - --#if defined (i386) || defined (__sparc__) || defined (__arm__) || defined (__mips__) || defined (__s390__) || defined (__sh__) || defined(__x86_64__) -+#if defined (i386) || defined (__sparc__) || defined (__arm__) || defined (__mips__) || defined (__s390__) || defined (__sh__) || defined(__x86_64__) || defined (__cris__) - #define BSD_LABELSECTOR 1 - #define BSD_LABELOFFSET 0 - #elif defined (__alpha__) || defined (__powerpc__) || defined (__ia64__) || defined (__hppa__) diff --git a/package/util-linux/patches/801-cris_avr32_label.patch b/package/util-linux/patches/801-cris_avr32_label.patch new file mode 100644 index 0000000..d281949 --- /dev/null +++ b/package/util-linux/patches/801-cris_avr32_label.patch @@ -0,0 +1,11 @@ +--- util-linux-2.12r.orig/fdisk/fdiskbsdlabel.h 2007-06-12 21:32:25.000000000 +0200 ++++ util-linux-2.12r/fdisk/fdiskbsdlabel.h 2007-06-12 21:33:20.000000000 +0200 +@@ -43,7 +43,7 @@ + + #define BSD_LINUX_BOOTDIR "/usr/ucb/mdec" + +-#if defined (i386) || defined (__sparc__) || defined (__arm__) || defined (__mips__) || defined (__s390__) || defined (__sh__) || defined(__x86_64__) ++#if defined (i386) || defined (__sparc__) || defined (__arm__) || defined (__mips__) || defined (__s390__) || defined (__sh__) || defined(__x86_64__) || defined (__cris__) || defined(__avr32__) + #define BSD_LABELSECTOR 1 + #define BSD_LABELOFFSET 0 + #elif defined (__alpha__) || defined (__powerpc__) || defined (__ia64__) || defined (__hppa__) -- cgit v1.1