Date: Sat, 19 Oct 2013 14:13:28 +0000 (UTC) From: Tijl Coosemans <tijl@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r330870 - in head/net/widentd: . files Message-ID: <201310191413.r9JEDS21073387@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <dirkx@webweaving.org> (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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310191413.r9JEDS21073387>