summaryrefslogtreecommitdiff
path: root/meta/packages/util-linux/files/gcc34.patch
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-04-11 11:08:20 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-04-11 11:08:20 +0000
commitc917bf85ab4229246c87aef2cbd4669adb36fd92 (patch)
tree3f702b3558039d9495b429b69911f54694ba77fc /meta/packages/util-linux/files/gcc34.patch
parent5fc01adae4a49cfd0754e53962fd1e4913a6220f (diff)
downloadopenembedded-core-c917bf85ab4229246c87aef2cbd4669adb36fd92.tar.gz
openembedded-core-c917bf85ab4229246c87aef2cbd4669adb36fd92.tar.bz2
openembedded-core-c917bf85ab4229246c87aef2cbd4669adb36fd92.tar.xz
openembedded-core-c917bf85ab4229246c87aef2cbd4669adb36fd92.zip
util-linux: added 2.12r from OE (needed by fakeroot)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1478 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/util-linux/files/gcc34.patch')
-rw-r--r--meta/packages/util-linux/files/gcc34.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/packages/util-linux/files/gcc34.patch b/meta/packages/util-linux/files/gcc34.patch
new file mode 100644
index 000000000..8c4a20cdc
--- /dev/null
+++ b/meta/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