From gaod@cse.tw  Thu Sep 19 19:20:45 2013
Return-Path: <gaod@cse.tw>
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 F29CBA99
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 19 Sep 2013 19:20:45 +0000 (UTC)
	(envelope-from gaod@cse.tw)
Received: from cse.tw (cse.tw [140.138.145.234])
	by mx1.freebsd.org (Postfix) with ESMTP id C164D239F
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 19 Sep 2013 19:20:45 +0000 (UTC)
Received: from cse.tw (localhost [127.0.0.1])
	by cse.tw (Postfix) with ESMTP id 532CB187B2D8
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 20 Sep 2013 03:20:44 +0800 (CST)
Received: (from gaod@localhost)
	by cse.tw (8.14.5/8.14.5/Submit) id r8JJKipq053809;
	Fri, 20 Sep 2013 03:20:44 +0800 (CST)
	(envelope-from gaod)
Message-Id: <201309191920.r8JJKipq053809@cse.tw>
Date: Fri, 20 Sep 2013 03:20:44 +0800 (CST)
From: Hung-Yi Chen <gaod@hychen.org>
Reply-To: Hung-Yi Chen <gaod@hychen.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER] net/libnatpmp: fix compatibility for fbsd 10
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         182235
>Category:       ports
>Synopsis:       [MAINTAINER] net/libnatpmp: fix compatibility for fbsd 10
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    wg
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 19 19:30:03 UTC 2013
>Closed-Date:    Thu Sep 19 21:43:14 UTC 2013
>Last-Modified:  Thu Sep 19 21:50:00 UTC 2013
>Originator:     Hung-Yi Chen
>Release:        FreeBSD 9.1-RELEASE-p6 amd64
>Organization:
>Environment:
System: FreeBSD cse.tw 9.1-RELEASE-p6 FreeBSD 9.1-RELEASE-p6 #0: Wed Aug 21 20:40:52 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64


>Description:
	Fix compatibility for FreeBSD 10.0.
        Use new style header.
>How-To-Repeat:
>Fix:


--- net_libnatpmp.diff begins here ---
Index: net/libnatpmp/Makefile
===================================================================
--- net/libnatpmp/Makefile	(revision 327645)
+++ net/libnatpmp/Makefile	(working copy)
@@ -1,12 +1,9 @@
-# New ports collection makefile for:	libnatpmp
-# Date created:		11 Aug 2009
-# Whom:			Hung-Yi Chen <gaod@hychen.org>
-#
+# Created by: Hung-Yi Chen <gaod@hychen.org>
 # $FreeBSD$
-#
 
 PORTNAME=	libnatpmp
 PORTVERSION=	20120821
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	http://miniupnp.free.fr/files/
 
Index: net/libnatpmp/files/patch-Makefile
===================================================================
--- net/libnatpmp/files/patch-Makefile	(revision 0)
+++ net/libnatpmp/files/patch-Makefile	(working copy)
@@ -0,0 +1,11 @@
+--- Makefile.orig	2013-09-20 03:13:32.533531973 +0800
++++ Makefile	2013-09-20 03:13:40.954532152 +0800
+@@ -5,7 +5,7 @@
+ # http://miniupnp.free.fr/libnatpmp.html
+ 
+ OS = $(shell uname -s)
+-CC = gcc
++CC ?= gcc
+ INSTALL = install
+ 
+ # APIVERSION is used in soname

Property changes on: net/libnatpmp/files/patch-Makefile
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
--- net_libnatpmp.diff ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->wg 
Responsible-Changed-By: wg 
Responsible-Changed-When: Thu Sep 19 19:49:37 UTC 2013 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=182235 
State-Changed-From-To: open->closed 
State-Changed-By: wg 
State-Changed-When: Thu Sep 19 21:43:08 UTC 2013 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/182235: commit references a PR
Date: Thu, 19 Sep 2013 21:42:32 +0000 (UTC)

 Author: wg
 Date: Thu Sep 19 21:42:24 2013
 New Revision: 327649
 URL: http://svnweb.freebsd.org/changeset/ports/327649
 
 Log:
   net/libnatpmp: fix build without gcc
   
   - Fix build without gcc [1]
   - Trim Makefile header [1]
   - USES gmake
   - Remove leading article from COMMENT
   - Use single space for WWW
   - Add LICENSE (BSD)
   
   PR:		ports/182235 [1]
   Submitted by:	Hung-Yi Chen <gaod hychen.org> (maintainer)
 
 Added:
   head/net/libnatpmp/files/
   head/net/libnatpmp/files/patch-Makefile   (contents, props changed)
 Modified:
   head/net/libnatpmp/Makefile
   head/net/libnatpmp/pkg-descr
 
 Modified: head/net/libnatpmp/Makefile
 ==============================================================================
 --- head/net/libnatpmp/Makefile	Thu Sep 19 20:04:51 2013	(r327648)
 +++ head/net/libnatpmp/Makefile	Thu Sep 19 21:42:24 2013	(r327649)
 @@ -1,9 +1,5 @@
 -# New ports collection makefile for:	libnatpmp
 -# Date created:		11 Aug 2009
 -# Whom:			Hung-Yi Chen <gaod@hychen.org>
 -#
 +# Created by: Hung-Yi Chen <gaod@hychen.org>
  # $FreeBSD$
 -#
  
  PORTNAME=	libnatpmp
  PORTVERSION=	20120821
 @@ -11,9 +7,11 @@ CATEGORIES=	net
  MASTER_SITES=	http://miniupnp.free.fr/files/
  
  MAINTAINER=	gaod@hychen.org
 -COMMENT=	An NAT-PMP lightweight library
 +COMMENT=	NAT-PMP lightweight library
  
 -USE_GMAKE=	yes
 +LICENSE=	BSD
 +
 +USES=		gmake
  MAKE_ENV+=	INSTALLPREFIX=${PREFIX}
  CFLAGS+=	-fPIC
  USE_LDCONFIG=	yes
 
 Added: head/net/libnatpmp/files/patch-Makefile
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/net/libnatpmp/files/patch-Makefile	Thu Sep 19 21:42:24 2013	(r327649)
 @@ -0,0 +1,11 @@
 +--- Makefile.orig	2013-09-20 03:13:32.533531973 +0800
 ++++ Makefile	2013-09-20 03:13:40.954532152 +0800
 +@@ -5,7 +5,7 @@
 + # http://miniupnp.free.fr/libnatpmp.html
 + 
 + OS = $(shell uname -s)
 +-CC = gcc
 ++CC ?= gcc
 + INSTALL = install
 + 
 + # APIVERSION is used in soname
 
 Modified: head/net/libnatpmp/pkg-descr
 ==============================================================================
 --- head/net/libnatpmp/pkg-descr	Thu Sep 19 20:04:51 2013	(r327648)
 +++ head/net/libnatpmp/pkg-descr	Thu Sep 19 21:42:24 2013	(r327649)
 @@ -1,6 +1,6 @@
 -libnatpmp is an attempt to make a portable and fully compliant implementation 
 -of the protocol for the client side. It is based on non blocking sockets and 
 -all calls of the API are asynchronous. It is therefore very easy to integrate 
 -the NAT-PMP code to any event driven code. 
 +libnatpmp is an attempt to make a portable and fully compliant implementation
 +of the protocol for the client side. It is based on non blocking sockets and
 +all calls of the API are asynchronous. It is therefore very easy to integrate
 +the NAT-PMP code to any event driven code.
  
 -WWW:	http://miniupnp.free.fr/
 +WWW: http://miniupnp.free.fr/
 _______________________________________________
 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"
 
>Unformatted:
