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/file/file/stringb-compat.patch | |
parent | da49de6885ee1bc424e70bc02f21f6ab920efb55 (diff) | |
download | poky-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/file/file/stringb-compat.patch')
-rw-r--r-- | meta/recipes-devtools/file/file/stringb-compat.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-devtools/file/file/stringb-compat.patch b/meta/recipes-devtools/file/file/stringb-compat.patch new file mode 100644 index 0000000000..055e43e30a --- /dev/null +++ b/meta/recipes-devtools/file/file/stringb-compat.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | `B' in file 4.x has the same meaning with `W' in file 5, | ||
2 | let `B' be an alias of `W'. | ||
3 | |||
4 | 8/17/2010 - created by Qing He <qing.he@intel.com> | ||
5 | |||
6 | diff --git a/src/apprentice.c b/src/apprentice.c | ||
7 | index 58826c3..3d4c3cf 100644 | ||
8 | --- a/src/apprentice.c | ||
9 | +++ b/src/apprentice.c | ||
10 | @@ -1340,6 +1340,7 @@ parse(struct magic_set *ms, struct magic_entry **mentryp, uint32_t *nmentryp, | ||
11 | "zero range"); | ||
12 | l = t - 1; | ||
13 | break; | ||
14 | + case CHAR_COMPACT_BLANK: | ||
15 | case CHAR_COMPACT_WHITESPACE: | ||
16 | m->str_flags |= STRING_COMPACT_WHITESPACE; | ||
17 | break; | ||
18 | diff --git a/src/file.h b/src/file.h | ||
19 | index c07f2d4..42cf416 100644 | ||
20 | --- a/src/file.h | ||
21 | +++ b/src/file.h | ||
22 | @@ -282,6 +282,7 @@ struct magic { | ||
23 | #define STRING_TEXTTEST BIT(5) | ||
24 | #define STRING_BINTEST BIT(6) | ||
25 | #define CHAR_COMPACT_WHITESPACE 'W' | ||
26 | +#define CHAR_COMPACT_BLANK 'B' | ||
27 | #define CHAR_COMPACT_OPTIONAL_WHITESPACE 'w' | ||
28 | #define CHAR_IGNORE_LOWERCASE 'c' | ||
29 | #define CHAR_IGNORE_UPPERCASE 'C' | ||