aboutsummaryrefslogtreecommitdiffstats
path: root/package/busybox
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-01-07 15:18:15 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-01-07 15:18:15 +0000
commitb2c879a94fa88a984993b35e9f20b2e4dcb55a3a (patch)
treeff9f0c895305aac5cca149716ed6818b49a0ca90 /package/busybox
parent0d6d6e46083fc3026a41d54b19fde069e3fffda1 (diff)
downloadupstream-b2c879a94fa88a984993b35e9f20b2e4dcb55a3a.tar.gz
upstream-b2c879a94fa88a984993b35e9f20b2e4dcb55a3a.tar.bz2
upstream-b2c879a94fa88a984993b35e9f20b2e4dcb55a3a.zip
busybox: remove the bogus SIZEOF_LONG check (#1127)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6012 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/busybox')
-rw-r--r--package/busybox/patches/210-sizeof_long_check.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/busybox/patches/210-sizeof_long_check.patch b/package/busybox/patches/210-sizeof_long_check.patch
new file mode 100644
index 0000000000..5009b49526
--- /dev/null
+++ b/package/busybox/patches/210-sizeof_long_check.patch
@@ -0,0 +1,12 @@
+diff -ur busybox.old/e2fsprogs/ext2fs/unix_io.c busybox.dev/e2fsprogs/ext2fs/unix_io.c
+--- busybox.old/e2fsprogs/ext2fs/unix_io.c 2006-12-27 05:55:58.000000000 +0100
++++ busybox.dev/e2fsprogs/ext2fs/unix_io.c 2007-01-07 16:16:52.000000000 +0100
+@@ -419,7 +419,7 @@
+
+ #ifdef __linux__
+ #undef RLIM_INFINITY
+-#if (defined(__alpha__) || ((defined(__sparc__) || defined(__mips__)) && (SIZEOF_LONG == 4)))
++#if (defined(__alpha__) || defined(__sparc__) || defined(__mips__))
+ #define RLIM_INFINITY ((unsigned long)(~0UL>>1))
+ #else
+ #define RLIM_INFINITY (~0UL)