diff options
Diffstat (limited to 'meta/recipes-core/util-linux/files/gcc34.patch')
-rw-r--r-- | meta/recipes-core/util-linux/files/gcc34.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-core/util-linux/files/gcc34.patch b/meta/recipes-core/util-linux/files/gcc34.patch new file mode 100644 index 0000000000..8c4a20cdca --- /dev/null +++ b/meta/recipes-core/util-linux/files/gcc34.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | |||
2 | # | ||
3 | # Patch managed by http://www.holgerschurig.de/patcher.html | ||
4 | # | ||
5 | |||
6 | --- util-linux-2.12o/disk-utils/fsck.cramfs.c~gcc34 | ||
7 | +++ util-linux-2.12o/disk-utils/fsck.cramfs.c | ||
8 | @@ -77,15 +77,7 @@ | ||
9 | #define PAD_SIZE 512 | ||
10 | |||
11 | #include <asm/page.h> | ||
12 | -#ifdef PAGE_SIZE | ||
13 | -#define PAGE_CACHE_SIZE ((int) PAGE_SIZE) | ||
14 | -#elif defined __ia64__ | ||
15 | -#define PAGE_CACHE_SIZE (16384) | ||
16 | -#elif defined __alpha__ | ||
17 | -#define PAGE_CACHE_SIZE (8192) | ||
18 | -#else | ||
19 | #define PAGE_CACHE_SIZE (4096) | ||
20 | -#endif | ||
21 | |||
22 | /* Guarantee access to at least 8kB at a time */ | ||
23 | #define ROMBUFFER_BITS 13 | ||