From bofh@bofh.1asiacom.net  Thu May  9 12:50:13 2013
Return-Path: <bofh@bofh.1asiacom.net>
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id 3D7A6D23
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  9 May 2013 12:50:13 +0000 (UTC)
	(envelope-from bofh@bofh.1asiacom.net)
Received: from bofh.1asiacom.net (bofh.1asiacom.net [103.4.109.98])
	by mx1.freebsd.org (Postfix) with ESMTP id 96C4A64A
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  9 May 2013 12:50:12 +0000 (UTC)
Received: from bofh.1asiacom.net (localhost [127.0.0.1])
	by bofh.1asiacom.net (8.14.6/8.14.6) with ESMTP id r49CoAsF008957;
	Thu, 9 May 2013 18:50:10 +0600 (BDT)
	(envelope-from bofh@bofh.1asiacom.net)
Received: (from root@localhost)
	by bofh.1asiacom.net (8.14.6/8.14.6/Submit) id r49Co6IZ008956;
	Thu, 9 May 2013 18:50:06 +0600 (BDT)
	(envelope-from bofh)
Message-Id: <201305091250.r49Co6IZ008956@bofh.1asiacom.net>
Date: Thu, 9 May 2013 18:50:06 +0600 (BDT)
From: Muhammad Moinur Rahman <5u623l20@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: snar@snar.spb.ru
Subject: [PATCH] net-mgmt/bgpq3: Fix building with GCC as fails with CLANG
X-Send-Pr-Version: 3.113
X-GNATS-Notify: snar@snar.spb.ru

>Number:         178451
>Category:       ports
>Synopsis:       [PATCH] net-mgmt/bgpq3: Fix building with GCC as fails with CLANG
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 09 13:00:00 UTC 2013
>Closed-Date:    Mon May 20 08:59:46 UTC 2013
>Last-Modified:  Mon May 20 08:59:46 UTC 2013
>Originator:     Muhammad Moinur Rahman
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD bofh.1asiacom.net 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r249422: Sat Apr 27 03:47:21 BDT
>Description:
[DESCRIBE CHANGES]
- Fix building with GCC as fails with CLANG

For Committer's reference : 
http://tb.s.ubze.ro//logs/10-CURRENT-i386-clang/bgpq3-0.1.18.log
http://tb.s.ubze.ro//logs/10-CURRENT-i386-gcc/bgpq3-0.1.18.log
http://tb.s.ubze.ro//logs/10-CURRENT-amd64-clang/bgpq3-0.1.18.log
http://tb.s.ubze.ro//logs/10-CURRENT-amd64-gcc/bgpq3-0.1.18.log
http://tb.s.ubze.ro//logs/9-STABLE-i386-gcc/bgpq3-0.1.18.log
http://tb.s.ubze.ro//logs/9-STABLE-amd64-gcc/bgpq3-0.1.18.log
http://tb.s.ubze.ro//logs/8-STABLE-i386/bgpq3-0.1.18.log
http://tb.s.ubze.ro//logs/8-STABLE-amd64/bgpq3-0.1.18.log

Port maintainer (snar@snar.spb.ru) is cc'd.

Generated with FreeBSD Port Tools 0.99_7 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- bgpq3-0.1.18_1.patch begins here ---
diff -ruN /usr/ports//net-mgmt/bgpq3/Makefile ./Makefile
--- /usr/ports//net-mgmt/bgpq3/Makefile	2013-01-13 01:20:53.000000000 +0600
+++ ./Makefile	2013-05-09 18:47:24.000000000 +0600
@@ -1,8 +1,9 @@
 # Created by: Alexandre Snarskii <snar@snar.spb.ru>
-# $FreeBSD: ports/net-mgmt/bgpq3/Makefile,v 1.6 2013/01/12 19:20:53 svnexp Exp $
+# $FreeBSD$
 
 PORTNAME=	bgpq3
 PORTVERSION=	0.1.18
+PORTREVISION=	1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	http://snar.spb.ru/prog/bgpq3/
 EXTRACT_SUFX=	.tgz
@@ -13,6 +14,7 @@
 MAN8=		bgpq3.8
 PLIST_FILES=	bin/bgpq3
 HAS_CONFIGURE=	yes
+USE_GCC=	any
 
 CONFIGURE_ARGS+=--prefix=${PREFIX}
 
--- bgpq3-0.1.18_1.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu May 9 13:00:08 UTC 2013 
Responsible-Changed-Why:  
miwi@ wants this submitter's PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=178451 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu May 9 13:00:10 UTC 2013 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=178451 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: snar@snar.spb.ru
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/178451: [PATCH] net-mgmt/bgpq3: Fix building with GCC as fails with CLANG
Date: Thu, 9 May 2013 13:00:09 UT

 Maintainer of net-mgmt/bgpq3,
 
 Please note that PR ports/178451 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/178451
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Alexandre Snarskii <snar@snar.spb.ru>
To: bug-followup@FreeBSD.ORG
Cc: snar@snar.spb.ru
Subject: Re: ports/178451: [PATCH] net-mgmt/bgpq3: Fix building with GCC as fails with CLANG
Date: Thu, 9 May 2013 18:06:24 +0400

 On Thu, May 09, 2013 at 01:00:09PM +0000, Edwin Groothuis wrote:
 > Maintainer of net-mgmt/bgpq3,
 > 
 > Please note that PR ports/178451 has just been submitted.
 > 
 > If it contains a patch for an upgrade, an enhancement or a bug fix
 > you agree on, reply to this email stating that you approve the patch
 > and a committer will take care of it.
 > 
 > The full text of the PR can be found at:
 >     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/178451
 
 I think the better idea is to fix the source of problem. 
 Clang build issues have been fixed in source and new version was released. 
 
 Patch: 
 
 Index: distinfo
 ===================================================================
 --- distinfo    (revision 317737)
 +++ distinfo    (working copy)
 @@ -1,2 +1,2 @@
 -SHA256 (bgpq3-0.1.18.tgz) = 54f3ce588506ce31363cbd54235475f3327cc1debc1cfefe33f2371066e4e62e
 -SIZE (bgpq3-0.1.18.tgz) = 59611
 +SHA256 (bgpq3-0.1.19.tgz) = f919ae9aa0cab12c991569178f938ee18267e754298710e1a0f28c36ea211086
 +SIZE (bgpq3-0.1.19.tgz) = 60308
 Index: Makefile
 ===================================================================
 --- Makefile    (revision 317737)
 +++ Makefile    (working copy)
 @@ -2,7 +2,7 @@
  # $FreeBSD$
  
  PORTNAME=      bgpq3
 -PORTVERSION=   0.1.18
 +PORTVERSION=   0.1.19
  CATEGORIES=    net-mgmt
  MASTER_SITES=  http://snar.spb.ru/prog/bgpq3/
  EXTRACT_SUFX=  .tgz
 
 
 -- 
 In theory, there is no difference between theory and practice. 
 But, in practice, there is. 
 
State-Changed-From-To: feedback->closed 
State-Changed-By: miwi 
State-Changed-When: Mon May 20 08:59:44 UTC 2013 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=178451 
>Unformatted:
