Bug 182117 - patch - update net/widentd for clang
Summary: patch - update net/widentd for clang
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Tijl Coosemans
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-15 16:00 UTC by dirkx
Modified: 2013-10-19 15:20 UTC (History)
0 users

See Also:


Attachments
file.diff (567 bytes, patch)
2013-09-15 16:00 UTC, dirkx
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description dirkx 2013-09-15 16:00:00 UTC
Patch to hopefully fix http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2013-09-12_01h37m09s/logs/widentd-1.03_1.log attached.

It is against:

URL: https://svn0.us-west.freebsd.org/ports/head/net/widentd
Repository Root: https://svn0.us-west.freebsd.org/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 327342
Node Kind: directory
Schedule: normal
Last Changed Author: dougb
Last Changed Rev: 302141
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-09-15 16:00:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

miwi@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 Bryan Drewery freebsd_committer freebsd_triage 2013-09-22 15:12:16 UTC
Responsible Changed
From-To: miwi->freebsd-ports-bugs

Back to the heap due to timeout
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-10-19 15:13:35 UTC
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;
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Tijl Coosemans freebsd_committer freebsd_triage 2013-10-19 15:13:41 UTC
State Changed
From-To: open->closed

Modified patch committed in r330870.  Let me know if there are any 
issues with it. 


Comment 5 Tijl Coosemans freebsd_committer freebsd_triage 2013-10-19 15:13:41 UTC
Responsible Changed
From-To: freebsd-ports-bugs->tijl

Modified patch committed in r330870.  Let me know if there are any 
issues with it.