From 7be23671b7a7cacfa42f21351ef8ff96def78c73 Mon Sep 17 00:00:00 2001 From: Stefan Fiedler Date: Sun, 5 Aug 2007 19:46:08 +0000 Subject: [PATCH] Stefan Fiedler: util-linux: bugfix/workaround for architectures that don't define a _syscall2 macro rediffed [2007071812301322461] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@8654 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/base/util-linux/no-_syscall2.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/base/util-linux/no-_syscall2.patch diff --git a/package/base/util-linux/no-_syscall2.patch b/package/base/util-linux/no-_syscall2.patch new file mode 100644 index 000000000..0ec5fc438 --- /dev/null +++ b/package/base/util-linux/no-_syscall2.patch @@ -0,0 +1,12 @@ +--- util-linux-2.12r/mount/umount.c~ 2007-07-04 23:57:17.000000000 +0200 ++++ util-linux-2.12r/mount/umount.c 2007-07-04 23:57:31.000000000 +0200 +@@ -42,7 +42,9 @@ + + int umount2(const char *path, int flags); + ++#ifdef _syscall2 + _syscall2(int, umount2, const char *, path, int, flags); ++#endif + + #else /* __NR_umount2 */ +