diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 15:14:24 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 15:29:45 +0100 |
commit | 29d6678fd546377459ef75cf54abeef5b969b5cf (patch) | |
tree | 8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-devtools/dosfstools/dosfstools/2.6.20-syscall.patch | |
parent | da49de6885ee1bc424e70bc02f21f6ab920efb55 (diff) | |
download | openembedded-core-contrib-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz |
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things
and is generally overwhelming. This commit splits it into several
logical sections roughly based on function, recipes.txt gives more
information about the classifications used.
The opportunity is also used to switch from "packages" to "recipes"
as used in OpenEmbedded as the term "packages" can be confusing to
people and has many different meanings.
Not all recipes have been classified yet, this is just a first pass
at separating things out. Some packages are moved to meta-extras as
they're no longer actively used or maintained.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/dosfstools/dosfstools/2.6.20-syscall.patch')
-rw-r--r-- | meta/recipes-devtools/dosfstools/dosfstools/2.6.20-syscall.patch | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/meta/recipes-devtools/dosfstools/dosfstools/2.6.20-syscall.patch b/meta/recipes-devtools/dosfstools/dosfstools/2.6.20-syscall.patch new file mode 100644 index 0000000000..7cf2662d27 --- /dev/null +++ b/meta/recipes-devtools/dosfstools/dosfstools/2.6.20-syscall.patch @@ -0,0 +1,65 @@ +Index: dosfstools-2.10/dosfsck/io.c +=================================================================== +--- dosfstools-2.10.orig/dosfsck/io.c 2007-06-07 16:15:52.000000000 +0200 ++++ dosfstools-2.10/dosfsck/io.c 2007-06-07 16:16:06.000000000 +0200 +@@ -42,28 +42,11 @@ + /* Use the _llseek system call directly, because there (once?) was a bug in + * the glibc implementation of it. */ + #include <linux/unistd.h> +-#if defined __alpha || defined __ia64__ || defined __s390x__ || defined __x86_64__ || defined __ppc64__ + /* On alpha, the syscall is simply lseek, because it's a 64 bit system. */ + static loff_t llseek( int fd, loff_t offset, int whence ) + { + return lseek(fd, offset, whence); + } +-#else +-# ifndef __NR__llseek +-# error _llseek system call not present +-# endif +-static _syscall5( int, _llseek, uint, fd, ulong, hi, ulong, lo, +- loff_t *, res, uint, wh ); +- +-static loff_t llseek( int fd, loff_t offset, int whence ) +-{ +- loff_t actual; +- +- if (_llseek(fd, offset>>32, offset&0xffffffff, &actual, whence) != 0) +- return (loff_t)-1; +- return actual; +-} +-#endif + + + void fs_open(char *path,int rw) +Index: dosfstools-2.10/mkdosfs/mkdosfs.c +=================================================================== +--- dosfstools-2.10.orig/mkdosfs/mkdosfs.c 2007-06-07 16:15:11.000000000 +0200 ++++ dosfstools-2.10/mkdosfs/mkdosfs.c 2007-06-07 16:15:30.000000000 +0200 +@@ -116,27 +116,11 @@ + /* Use the _llseek system call directly, because there (once?) was a bug in + * the glibc implementation of it. */ + #include <linux/unistd.h> +-#if defined __alpha || defined __ia64__ || defined __s390x__ || defined __x86_64__ || defined __ppc64__ + /* On alpha, the syscall is simply lseek, because it's a 64 bit system. */ + static loff_t llseek( int fd, loff_t offset, int whence ) + { + return lseek(fd, offset, whence); + } +-#else +-# ifndef __NR__llseek +-# error _llseek system call not present +-# endif +-static _syscall5( int, _llseek, uint, fd, ulong, hi, ulong, lo, +- loff_t *, res, uint, wh ); +-static loff_t llseek( int fd, loff_t offset, int whence ) +-{ +- loff_t actual; +- +- if (_llseek(fd, offset>>32, offset&0xffffffff, &actual, whence) != 0) +- return (loff_t)-1; +- return actual; +-} +-#endif + + #define ROUND_UP(value, divisor) (value + (divisor - (value % divisor))) / divisor + |