aboutsummaryrefslogtreecommitdiffstats
path: root/packages/util-linux/files/glibc-umount2.patch
blob: 3da3a85cfc73650f2d0e48ff52fddc20a293ccb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/sh /usr/share/dpatch/dpatch-run
## 10sparcumount.dpatch by Jeff Bailey <jbailey@ubuntu.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Sparc and Arm have umount2 in glibc.

@DPATCH@
--- util-linux/mount/umount.c	2005-05-20 11:39:07.000000000 +0000
+++ util-linux/mount/umount.c	2005-05-20 11:39:15.000000000 +0000
@@ -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 */