From 82281183231cf5d72da214e42e7340bfcd900e13 Mon Sep 17 00:00:00 2001 From: Frans Meulenbroeks Date: Wed, 7 Jun 2006 19:59:03 +0000 Subject: 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 --- packages/util-linux/files/umount.diff | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 packages/util-linux/files/umount.diff (limited to 'packages/util-linux/files') 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 + #ifdef __NR_umount2 + +! static int umount2(const char *path, int flags); + + _syscall2(int, umount2, const char *, path, int, flags); + +--- 40,46 ---- + #include + #ifdef __NR_umount2 + +! int umount2(const char *path, int flags); + + _syscall2(int, umount2, const char *, path, int, flags); + -- cgit v1.2.3