summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2008-09-15 19:45:14 +0000
committerMarkus Ullmann <jokey@gentoo.org>2008-09-15 19:45:14 +0000
commit0669da016ccf4d187cb2299ce5e72ea10024ba03 (patch)
treee879263854421e0c12bc55f72f5bed529c4a1eba /dev-util/kbuild/files
parentCleanup (diff)
downloadgentoo-2-0669da016ccf4d187cb2299ce5e72ea10024ba03.tar.gz
gentoo-2-0669da016ccf4d187cb2299ce5e72ea10024ba03.tar.bz2
gentoo-2-0669da016ccf4d187cb2299ce5e72ea10024ba03.zip
(Proxy-Commit) Port from dev overlay
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 i686)
Diffstat (limited to 'dev-util/kbuild/files')
-rw-r--r--dev-util/kbuild/files/kbuild-fix-acl-include.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-util/kbuild/files/kbuild-fix-acl-include.patch b/dev-util/kbuild/files/kbuild-fix-acl-include.patch
new file mode 100644
index 000000000000..72a356b7bc40
--- /dev/null
+++ b/dev-util/kbuild/files/kbuild-fix-acl-include.patch
@@ -0,0 +1,24 @@
+--- src/kmk/kmkbuiltin/mv.c.orig 2008-09-07 23:35:35.000000000 +0200
++++ src/kmk/kmkbuiltin/mv.c 2008-09-07 23:37:50.000000000 +0200
+@@ -48,9 +48,6 @@
+
+ #include <sys/types.h>
+ #ifndef _MSC_VER
+-# ifndef __OS2__
+-# include <sys/acl.h>
+-# endif
+ # include <sys/param.h>
+ # include <sys/time.h>
+ # include <sys/wait.h>
+@@ -91,6 +88,11 @@
+
+ static int do_move(char *, char *);
+ #ifdef CROSS_DEVICE_MOVE
++#ifndef _MSC_VER
++# ifndef __OS2__
++# include <sys/acl.h>
++# endif
++#endif
+ static int fastcopy(char *, char *, struct stat *);
+ static int copy(char *, char *);
+ #endif