summaryrefslogtreecommitdiff
path: root/packages/util-linux/files
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@yahoo.com>2006-06-07 19:59:03 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-06-07 19:59:03 +0000
commit82281183231cf5d72da214e42e7340bfcd900e13 (patch)
treec436176cf39102858e8d614eaa010c3d93c02503 /packages/util-linux/files
parenta072b606633f34ac647d49a735713d5a0a4cc9dc (diff)
util-linux: gcc 4.1.1 did not like umount being redeclared as static
made patch to remove static, included it in the inc file bumped all PRs of the files that include that file
Diffstat (limited to 'packages/util-linux/files')
-rw-r--r--packages/util-linux/files/umount.diff19
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/util-linux/files/umount.diff b/packages/util-linux/files/umount.diff
new file mode 100644
index 0000000000..78330789ef
--- /dev/null
+++ b/packages/util-linux/files/umount.diff
@@ -0,0 +1,19 @@
+*** util-linux-2.12r/mount/umount.c.orig 2005-09-10 20:07:38.000000000 +0200
+--- util-linux-2.12r/mount/umount.c 2006-06-07 21:14:04.000000000 +0200
+***************
+*** 40,46 ****
+ #include <linux/unistd.h>
+ #ifdef __NR_umount2
+
+! static int umount2(const char *path, int flags);
+
+ _syscall2(int, umount2, const char *, path, int, flags);
+
+--- 40,46 ----
+ #include <linux/unistd.h>
+ #ifdef __NR_umount2
+
+! int umount2(const char *path, int flags);
+
+ _syscall2(int, umount2, const char *, path, int, flags);
+