Fix building util-linux under xscale
authorMike Albon <malbon@openwrt.org>
Wed, 23 Aug 2006 16:38:52 +0000 (16:38 +0000)
committerMike Albon <malbon@openwrt.org>
Wed, 23 Aug 2006 16:38:52 +0000 (16:38 +0000)
SVN-Revision: 4637

openwrt/package/util-linux/patches/601-util-linux-2.12r-umount-no-special.patch [new file with mode: 0644]

diff --git a/openwrt/package/util-linux/patches/601-util-linux-2.12r-umount-no-special.patch b/openwrt/package/util-linux/patches/601-util-linux-2.12r-umount-no-special.patch
new file mode 100644 (file)
index 0000000..d79598f
--- /dev/null
@@ -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 */