From ce37d9e810bdd8ba325e9eef9ee28e5e5409d618 Mon Sep 17 00:00:00 2001 From: Stefan Fiedler Date: Mon, 17 Jul 2006 13:29:44 +0000 Subject: [PATCH] Stefan Fiedler: util-linux: patch for gcc40 (when cross-compiling) [2006071317242732731] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@7737 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/base/util-linux/gcc40.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/base/util-linux/gcc40.patch diff --git a/package/base/util-linux/gcc40.patch b/package/base/util-linux/gcc40.patch new file mode 100644 index 000000000..2cdfad539 --- /dev/null +++ b/package/base/util-linux/gcc40.patch @@ -0,0 +1,11 @@ +--- ./mount/umount.c~ 2005-09-10 20:07:38.000000000 +0200 ++++ ./mount/umount.c 2006-07-13 16:32:41.000000000 +0200 +@@ -40,7 +40,7 @@ + #include + #ifdef __NR_umount2 + +-static int umount2(const char *path, int flags); ++int umount2(const char *path, int flags); + + _syscall2(int, umount2, const char *, path, int, flags); +