bump version
[buildroot.git] / package / util-linux / util-linux-gcc41.patch
blob4730bb8a7939a614065f90943720e236caabbe10
1 diff -urN util-linux-2.12q/disk-utils/fsck.cramfs.c util-linux-2.12q-patched/disk-utils/fsck.cramfs.c
2 --- util-linux-2.12q/disk-utils/fsck.cramfs.c 2004-12-11 08:53:16.000000000 -0600
3 +++ util-linux-2.12q-patched/disk-utils/fsck.cramfs.c 2005-10-03 17:27:13.000000000 -0500
4 @@ -77,15 +77,7 @@
5 #define PAD_SIZE 512
7 #include <asm/page.h>
8 -#ifdef PAGE_SIZE
9 -#define PAGE_CACHE_SIZE ((int) PAGE_SIZE)
10 -#elif defined __ia64__
11 -#define PAGE_CACHE_SIZE (16384)
12 -#elif defined __alpha__
13 -#define PAGE_CACHE_SIZE (8192)
14 -#else
15 #define PAGE_CACHE_SIZE (4096)
16 -#endif
18 /* Guarantee access to at least 8kB at a time */
19 #define ROMBUFFER_BITS 13
20 @@ -95,7 +87,7 @@
21 static unsigned long read_buffer_block = ~0UL;
23 /* Uncompressing data structures... */
24 -static char outbuffer[PAGE_CACHE_SIZE*2];
25 +static char outbuffer[4096*2];
26 z_stream stream;
28 #endif /* INCLUDE_FS_TESTS */