diff options
| author | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:11 +0100 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:57 +0100 |
| commit | d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch) | |
| tree | f36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta/packages/util-linux/files/glibc-fix.patch | |
| parent | caab7fc509bf27706ff3248689f6afd04225cfda (diff) | |
| download | poky-d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612.tar.gz | |
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/util-linux/files/glibc-fix.patch')
| -rw-r--r-- | meta/packages/util-linux/files/glibc-fix.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/meta/packages/util-linux/files/glibc-fix.patch b/meta/packages/util-linux/files/glibc-fix.patch deleted file mode 100644 index 6d0c2fcefa..0000000000 --- a/meta/packages/util-linux/files/glibc-fix.patch +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | --- /tmp/cmos.c 2006-11-21 11:38:55.000000000 +0100 | ||
| 2 | +++ util-linux-2.12r/hwclock/cmos.c 2006-11-21 11:41:45.458554000 +0100 | ||
| 3 | @@ -46,15 +46,16 @@ | ||
| 4 | |||
| 5 | #include <unistd.h> /* for geteuid() */ | ||
| 6 | #include <fcntl.h> /* for O_RDWR */ | ||
| 7 | +#include <linux/version.h> | ||
| 8 | #include <errno.h> | ||
| 9 | #include "../defines.h" /* for HAVE_sys_io_h */ | ||
| 10 | #include "nls.h" | ||
| 11 | |||
| 12 | #if defined(__i386__) | ||
| 13 | -#ifdef HAVE_sys_io_h | ||
| 14 | -#include <sys/io.h> | ||
| 15 | +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0) | ||
| 16 | +#include <asm/io.h> | ||
| 17 | #else | ||
| 18 | -#include <asm/io.h> /* for inb, outb */ | ||
| 19 | +#include <sys/io.h> /* for inb, outb */ | ||
| 20 | #endif | ||
| 21 | #elif defined(__alpha__) | ||
| 22 | /* <asm/io.h> fails to compile, probably because of u8 etc */ | ||
