Fix building util-linux under xscale
authormalbon <malbon@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 23 Aug 2006 16:38:52 +0000 (16:38 +0000)
committermalbon <malbon@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 23 Aug 2006 16:38:52 +0000 (16:38 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4637 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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 (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 */