Temporary workaround until I get an ok to add AT_REMOVEDIR to fcntl.h.

ok naddy@
This commit is contained in:
matthew 2011-07-12 18:08:41 +00:00
parent 2cb6c86294
commit 6019203df0
2 changed files with 14 additions and 1 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.18 2010/11/19 07:23:11 espie Exp $
# $OpenBSD: Makefile,v 1.19 2011/07/12 18:08:41 matthew Exp $
COMMENT= finds and then operates on files
DISTNAME= findutils-4.4.2
CATEGORIES= misc
REVISION= 0
HOMEPAGE= http://www.gnu.org/software/findutils/

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-gnulib_lib_openat_h,v 1.1 2011/07/12 18:08:41 matthew Exp $
--- gnulib/lib/openat.h.orig Sun May 10 14:23:57 2009
+++ gnulib/lib/openat.h Tue Jul 12 10:14:29 2011
@@ -53,6 +53,8 @@
there's no real reason to differ. */
#ifndef AT_SYMLINK_NOFOLLOW
# define AT_SYMLINK_NOFOLLOW 4096
+#endif
+#ifndef AT_REMOVEDIR
# define AT_REMOVEDIR 1
#endif