From owner-svn-ports-head@FreeBSD.ORG Sat Oct 19 14:13:28 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9C3915FA; Sat, 19 Oct 2013 14:13:28 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8955F2C08; Sat, 19 Oct 2013 14:13:28 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9JEDSWE073392; Sat, 19 Oct 2013 14:13:28 GMT (envelope-from tijl@svn.freebsd.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9JEDS21073387; Sat, 19 Oct 2013 14:13:28 GMT (envelope-from tijl@svn.freebsd.org) Message-Id: <201310191413.r9JEDS21073387@svn.freebsd.org> From: Tijl Coosemans Date: Sat, 19 Oct 2013 14:13:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r330870 - in head/net/widentd: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Oct 2013 14:13:28 -0000 Author: tijl Date: Sat Oct 19 14:13:27 2013 New Revision: 330870 URL: http://svnweb.freebsd.org/changeset/ports/330870 Log: Fix build with clang and -Wmissing-variable-declarations by moving the variables into main. PR: ports/182117 Submitted by: Dirk-Willem van Gulik (maintainer) Added: head/net/widentd/files/patch-widentd.c (contents, props changed) Modified: head/net/widentd/Makefile (contents, props changed) Directory Properties: head/net/widentd/distinfo (props changed) head/net/widentd/files/widentd.in (props changed) head/net/widentd/pkg-descr (props changed) Modified: head/net/widentd/Makefile ============================================================================== --- head/net/widentd/Makefile Sat Oct 19 14:13:00 2013 (r330869) +++ head/net/widentd/Makefile Sat Oct 19 14:13:27 2013 (r330870) @@ -3,7 +3,7 @@ PORTNAME= widentd PORTVERSION= 1.03 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net ipv6 MASTER_SITES= http://www.webweaving.org/widentd/ EXTRACT_SUFX= .tgz Added: head/net/widentd/files/patch-widentd.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/widentd/files/patch-widentd.c Sat Oct 19 14:13:27 2013 (r330870) @@ -0,0 +1,22 @@ +--- widentd.c.orig ++++ widentd.c +@@ -41,9 +41,6 @@ + + #define SERVICE ("ident") /* 113 */ + +-int verbose = 0; +-const char *user = UID; +-const char *os = OS; + + static void + usage(void) +@@ -64,6 +61,9 @@ main(int argc, char **argv) + fd_set *lst = malloc(FD_SETSIZE), *xst = malloc(FD_SETSIZE), + *wst = malloc(FD_SETSIZE); + struct addrinfo *ports, *p; ++ int verbose = 0; ++ const char *user = UID; ++ const char *os = OS; + const char * node = NULL, * service = SERVICE; + struct addrinfo hints; + int s = -1;