fix lsof after FMARK and FDEFER rename

input from matthew@
ok pvalchev@ (MAINTAINER)
This commit is contained in:
jasper 2011-06-30 19:13:58 +00:00
parent 889b9d9187
commit 0927362ecd
2 changed files with 21 additions and 2 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.79 2011/06/21 20:21:21 naddy Exp $
# $OpenBSD: Makefile,v 1.80 2011/06/30 19:13:58 jasper Exp $
COMMENT= list information about open files
VERSION= 4.83
DISTNAME= lsof_${VERSION}
PKGNAME= ${DISTNAME:S/_/-/}
REVISION= 4
REVISION= 5
CATEGORIES= sysutils
MASTER_SITES= http://www.mirrorservice.org/sites/vic.cc.purdue.edu/pub/tools/unix/lsof/OLD/ \
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ \

View File

@ -0,0 +1,19 @@
$OpenBSD: patch-dialects_n+obsd_dstore_c,v 1.1 2011/06/30 19:13:58 jasper Exp $
Adjust after FMARK/FDEFER removal.
--- dialects/n+obsd/dstore.c.orig Thu Jun 30 09:26:50 2011
+++ dialects/n+obsd/dstore.c Thu Jun 30 09:28:19 2011
@@ -103,8 +103,12 @@ struct pff_tab Pff_tab[] = {
{ (long)FRSYNC, FF_RSYNC },
# endif /* defined(FRSYNC( */
+# if defined(FMARK)
{ (long)FMARK, FF_MARK },
+# endif /* defined(FMARK) */
+# if defined(FDEFER)
{ (long)FDEFER, FF_DEFER },
+# endif /* defined(FDEFER) */
{ (long)FHASLOCK, FF_HASLOCK },
{ (long)O_NOCTTY, FF_NOCTTY },
{ (long)0, NULL }