summaryrefslogtreecommitdiff
path: root/org.handhelds.familiar/packages/util-linux/files/gcc34.patch
diff options
context:
space:
mode:
Diffstat (limited to 'org.handhelds.familiar/packages/util-linux/files/gcc34.patch')
-rw-r--r--org.handhelds.familiar/packages/util-linux/files/gcc34.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/org.handhelds.familiar/packages/util-linux/files/gcc34.patch b/org.handhelds.familiar/packages/util-linux/files/gcc34.patch
new file mode 100644
index 0000000..8c4a20c
--- /dev/null
+++ b/org.handhelds.familiar/packages/util-linux/files/gcc34.patch
@@ -0,0 +1,23 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- util-linux-2.12o/disk-utils/fsck.cramfs.c~gcc34
++++ util-linux-2.12o/disk-utils/fsck.cramfs.c
+@@ -77,15 +77,7 @@
+ #define PAD_SIZE 512
+
+ #include <asm/page.h>
+-#ifdef PAGE_SIZE
+-#define PAGE_CACHE_SIZE ((int) PAGE_SIZE)
+-#elif defined __ia64__
+-#define PAGE_CACHE_SIZE (16384)
+-#elif defined __alpha__
+-#define PAGE_CACHE_SIZE (8192)
+-#else
+ #define PAGE_CACHE_SIZE (4096)
+-#endif
+
+ /* Guarantee access to at least 8kB at a time */
+ #define ROMBUFFER_BITS 13