summaryrefslogtreecommitdiff
path: root/packages/util-linux/files/glibc-umount2.patch
diff options
context:
space:
mode:
authorStelios Koroneos <skoroneos@digital-opsis.com>2007-04-29 15:52:25 +0000
committerStelios Koroneos <skoroneos@digital-opsis.com>2007-04-29 15:52:25 +0000
commit91a272da8c2875e7f56113afe07f4a05b932cf1d (patch)
treec3aba45a4f032e3ad371dbb68dfe6fb3b0c1351a /packages/util-linux/files/glibc-umount2.patch
parentd6ccf0e7c2823988481bc8ed2cfa2bfedbe8d7d9 (diff)
parenta158914c5574126c5b99211a9cbd5f61d539984e (diff)
merge of '2087be8072069ca04fed4f7641aed94abcddeabd'
and '62ddceade7b13ecdec3ff4ff1a0f8412312a23e2'
Diffstat (limited to 'packages/util-linux/files/glibc-umount2.patch')
-rw-r--r--packages/util-linux/files/glibc-umount2.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/util-linux/files/glibc-umount2.patch b/packages/util-linux/files/glibc-umount2.patch
new file mode 100644
index 0000000000..3da3a85cfc
--- /dev/null
+++ b/packages/util-linux/files/glibc-umount2.patch
@@ -0,0 +1,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 */