aboutsummaryrefslogtreecommitdiffstats
path: root/package/util-linux
diff options
context:
space:
mode:
authorMike Albon <malbon@openwrt.org>2006-08-23 16:38:52 +0000
committerMike Albon <malbon@openwrt.org>2006-08-23 16:38:52 +0000
commit4fee97645f4cfadbecb734977d2c4de32adc33ff (patch)
tree56f1b713d29063a3fd62e28709ae72ac0437b104 /package/util-linux
parentb026653d76e3e9a6aa07f5aa30a2a963bcebb1cf (diff)
downloadupstream-4fee97645f4cfadbecb734977d2c4de32adc33ff.tar.gz
upstream-4fee97645f4cfadbecb734977d2c4de32adc33ff.tar.bz2
upstream-4fee97645f4cfadbecb734977d2c4de32adc33ff.zip
Fix building util-linux under xscale
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4637 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/util-linux')
-rw-r--r--package/util-linux/patches/601-util-linux-2.12r-umount-no-special.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/util-linux/patches/601-util-linux-2.12r-umount-no-special.patch b/package/util-linux/patches/601-util-linux-2.12r-umount-no-special.patch
new file mode 100644
index 0000000000..d79598fc84
--- /dev/null
+++ b/package/util-linux/patches/601-util-linux-2.12r-umount-no-special.patch
@@ -0,0 +1,11 @@
+--- util-linux-2.12r.old/mount/umount.c
++++ util-linux-2.12r/mount/umount.c
+@@ -31,7 +31,7 @@
+ #include <arpa/inet.h>
+ #endif
+
+-#if defined(MNT_FORCE) && !defined(__sparc__) && !defined(__arm__)
++#if defined(MNT_FORCE)
+ /* Interesting ... it seems libc knows about MNT_FORCE and presumably
+ about umount2 as well -- need not do anything */
+ #else /* MNT_FORCE */