diff options
author | Eric Andersen <andersen@codepoet.org> | 2005-01-12 04:56:20 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2005-01-12 04:56:20 +0000 |
commit | 268771fe4c91f4a6cbe98ab07f53476e9ab64bc1 (patch) | |
tree | 1bb7d5b62b5e82ce9b1fc09f729f11ca678c72e7 /package/util-linux | |
parent | 6ea1a70ee1595034983559d553c166dd4368d12d (diff) | |
download | buildroot-novena-268771fe4c91f4a6cbe98ab07f53476e9ab64bc1.tar.gz buildroot-novena-268771fe4c91f4a6cbe98ab07f53476e9ab64bc1.zip |
fixup util-linux compile
Diffstat (limited to 'package/util-linux')
-rw-r--r-- | package/util-linux/util-linux.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/package/util-linux/util-linux.patch b/package/util-linux/util-linux.patch index 601e7dc11..4a30e4b68 100644 --- a/package/util-linux/util-linux.patch +++ b/package/util-linux/util-linux.patch @@ -26,3 +26,34 @@ # Prepare test CC=${CC-cc} compile="$CC -o conftest conftest.c >/dev/null 2>&1" +--- util-linux-2.12/fdisk/sfdisk.c.orig 2005-01-11 16:46:36.000000000 -0700 ++++ util-linux-2.12/fdisk/sfdisk.c 2005-01-11 16:47:14.000000000 -0700 +@@ -47,7 +47,7 @@ + #include <sys/stat.h> + #include <sys/utsname.h> + #ifdef __linux__ +-#include <linux/unistd.h> /* _syscall */ ++#include <sys/syscall.h> /* _syscall */ + #endif + #include "nls.h" + #include "common.h" +--- util-linux-2.12/fdisk/llseek.c.orig 2005-01-11 17:05:55.000000000 -0700 ++++ util-linux-2.12/fdisk/llseek.c 2005-01-11 17:07:11.000000000 -0700 +@@ -24,7 +24,7 @@ + #define my_llseek lseek + + #else +-#include <linux/unistd.h> /* for __NR__llseek */ ++#include <sys/syscall.h> /* for __NR__llseek */ + + static int _llseek (unsigned int, unsigned long, + unsigned long, long long *, unsigned int); +@@ -33,7 +33,7 @@ + + static _syscall5(int,_llseek,unsigned int,fd,unsigned long,offset_high, + unsigned long, offset_low,long long *,result, +- unsigned int, origin) ++ unsigned int, origin); + + #else + |