Unbreak on 9+ (utmpx).

Seems utmp.h include is not used.

PR:		160934
Reported by:	"Hartmann, O." <ohartman@zedat.fu-berlin.de>
This commit is contained in:
Dmitry Sivachenko 2011-09-29 14:25:50 +00:00
parent 6cc6751fd4
commit a7923f794e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=282618
3 changed files with 20 additions and 4 deletions

View file

@ -20,10 +20,6 @@ MAN1= barrier.1 barrierd.1 clustersed.1 dsh.1 dshbak.1 \
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.if ${OSVERSION} > 900007
BROKEN= fails to build with new utmpx
.endif
.if defined (WITHOUT_X11) .if defined (WITHOUT_X11)
PLIST_SUB+= X11='@comment ' PLIST_SUB+= X11='@comment '
.else .else

View file

@ -0,0 +1,10 @@
--- rvt/command.c.orig 2008-02-27 22:29:48.000000000 +0300
+++ rvt/command.c 2011-09-29 18:18:07.000000000 +0400
@@ -41,7 +41,6 @@ char xvt_command_c_sccsid[] = "@(#)comma
#include <unistd.h>
#include <signal.h>
#include <fcntl.h>
-#include <utmp.h>
#include <errno.h>
#include <string.h>
#include "rvt.h"

View file

@ -0,0 +1,10 @@
--- rvt/ttyinit.c.orig 2007-01-24 22:02:10.000000000 +0300
+++ rvt/ttyinit.c 2011-09-29 18:18:19.000000000 +0400
@@ -41,7 +41,6 @@ char xvt_ttyinit_c_sccsid[] = "@(#)ttyin
#include <unistd.h>
#include <signal.h>
#include <fcntl.h>
-#include <utmp.h>
#include <grp.h>
#include <pwd.h>
#include <errno.h>