summaryrefslogtreecommitdiff
path: root/openwrt/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
commit222f81f3b218a39657f194c0370e689a3cd13159 (patch)
tree237d567e37e3411c3f4a3b7d0f0fc730432b8cd7 /openwrt/package/util-linux
parentffae714eac3edf22021454dd677df69600045204 (diff)
downloadmtk-20170518-222f81f3b218a39657f194c0370e689a3cd13159.zip
mtk-20170518-222f81f3b218a39657f194c0370e689a3cd13159.tar.gz
mtk-20170518-222f81f3b218a39657f194c0370e689a3cd13159.tar.bz2
Fix building util-linux under xscale
SVN-Revision: 4637
Diffstat (limited to 'openwrt/package/util-linux')
-rw-r--r--openwrt/package/util-linux/patches/601-util-linux-2.12r-umount-no-special.patch11
1 files changed, 11 insertions, 0 deletions
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
index 0000000..d79598f
--- /dev/null
+++ b/openwrt/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 */