From owner-freebsd-ports@FreeBSD.ORG Sun Jan 9 16:05:16 2011 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B32DA1065673 for ; Sun, 9 Jan 2011 16:05:16 +0000 (UTC) (envelope-from bjk@luxsci.net) Received: from rs49.luxsci.com (rs49.luxsci.com [65.61.166.75]) by mx1.freebsd.org (Postfix) with ESMTP id 6EF998FC16 for ; Sun, 9 Jan 2011 16:05:16 +0000 (UTC) Received: from rs49.luxsci.com (localhost [127.0.0.1]) by rs49.luxsci.com (8.13.1/8.13.7) with ESMTP id p09FtAqW023484 for ; Sun, 9 Jan 2011 09:55:10 -0600 Received: (from root@localhost) by rs49.luxsci.com (8.13.1/8.13.7/Submit) id p09Ft22H023380 for ports@FreeBSD.org; Sun, 9 Jan 2011 15:55:02 GMT Message-Id: <201101091555.p09Ft22H023380@rs49.luxsci.com> Received: (from sender 30582) by Lux Scientiae SP; Sun, 09 Jan 2011 15:55:02 +0000 Date: Sun, 9 Jan 2011 10:54:28 -0500 From: Ben Kibbey To: ports@FreeBSD.org Content-Type: text/plain; charset=us-ascii Content-Disposition: inline MIME-Version: 1.0 X-Comment: Lux Scientiae SP Message ID - 1294588502-5308658.4815321 Cc: Subject: FreeBSD Port: sysutils/userinfo X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jan 2011 16:05:16 -0000 I noticed a build failure for the userinfo utility not too long ago. There is no longer a ports maintainer for this one so I thought I'd try to get it fixed here. Could someone see if the following patch fixes it as I don't have a FreeBSD box. Also, where are the build logs? I can't seem to find them again. diff --git a/src/modules/login.c b/src/modules/login.c index 0f354a7..9bf0b24 100644 --- a/src/modules/login.c +++ b/src/modules/login.c @@ -24,7 +24,6 @@ #include #include #include -#include #ifdef HAVE_CONFIG_H #include diff --git a/src/modules/login.h b/src/modules/login.h index 55bd5bb..2a20765 100644 --- a/src/modules/login.h +++ b/src/modules/login.h @@ -59,6 +59,7 @@ #endif typedef struct utmpx UTMP; #else +#include typedef struct utmp UTMP; #endif -- Ben Kibbey [XMPP: bjk AT thiessen DOT org] - [IRC: (bjk) FreeNode/OFTC]