From tkato432@yahoo.com  Sun Jun  2 18:00:37 2013
Return-Path: <tkato432@yahoo.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id C7BDBF5C
	for <FreeBSD-gnats-submit@FreeBSD.org>; Sun,  2 Jun 2013 18:00:25 +0000 (UTC)
	(envelope-from tkato432@yahoo.com)
Received: from msa104lp.auone-net.jp (msa104lp.auone-net.jp [222.3.140.167])
	by mx1.freebsd.org (Postfix) with ESMTP id 9FAAC11B4
	for <FreeBSD-gnats-submit@FreeBSD.org>; Sun,  2 Jun 2013 18:00:25 +0000 (UTC)
Received: from localhost.localdomain (ZT029100.ppp.dion.ne.jp [59.128.29.100])
	by msa104lp.auone-net.jp (au one net msa) with ESMTP id E1AC82BC03B
	for <FreeBSD-gnats-submit@FreeBSD.org>; Mon,  3 Jun 2013 03:00:23 +0900 (JST)
Message-Id: <20130603025035.5d565934f4b588d600f7fa84@yahoo.com>
Date: Mon, 3 Jun 2013 02:50:35 +0900
From: KATO Tsuguru <tkato432@yahoo.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Subject: devel/xparam: Fix build with clang

>Number:         179227
>Category:       ports
>Synopsis:       devel/xparam: Fix build 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:   Sun Jun 02 18:10:08 UTC 2013
>Closed-Date:    Tue Jun 04 10:06:49 UTC 2013
>Last-Modified:  Tue Jun  4 10:10:00 UTC 2013
>Originator:     KATO Tsuguru
>Release:        FreeBSD 8.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Fix build with clang
- Add LICENSE
- Add MAKE_JOBS_SAFE

New file:
files/patch-lib__xparam__xp_hvl.h

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/devel/xparam/Makefile devel/xparam/Makefile
--- /usr/ports/devel/xparam/Makefile	2012-11-08 04:56:26.000000000 +0900
+++ devel/xparam/Makefile	2013-06-03 00:00:00.000000000 +0900
@@ -1,10 +1,5 @@
-# ex:ts=8
-# New ports collection makefile for:	xparam
-# Date created:			Dec 23, 2001
-# Whom:				ijliao
-#
+# Created by: ijliao
 # $FreeBSD: head/devel/xparam/Makefile 300896 2012-07-14 13:54:48Z beat $
-#
 
 PORTNAME=	xparam
 PORTVERSION=	1.22
@@ -13,10 +8,13 @@
 MASTER_SITES=	SF
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A general-purpose tool for parameter handling in C++
+COMMENT=	General-purpose tool for parameter handling in C++
+
+LICENSE=	GPLv2 # (or later)
 
 USE_GMAKE=	yes
 USE_AUTOTOOLS=	libtool
 USE_LDCONFIG=	yes
+MAKE_JOBS_SAFE=	yes
 
 .include <bsd.port.mk>
diff -urN /usr/ports/devel/xparam/files/patch-lib__xparam__xp_hvl.h devel/xparam/files/patch-lib__xparam__xp_hvl.h
--- /usr/ports/devel/xparam/files/patch-lib__xparam__xp_hvl.h	1970-01-01 09:00:00.000000000 +0900
+++ devel/xparam/files/patch-lib__xparam__xp_hvl.h	2013-06-03 00:00:00.000000000 +0900
@@ -0,0 +1,14 @@
+--- lib/xparam/xp_hvl.h.orig
++++ lib/xparam/xp_hvl.h
+@@ -51,9 +51,9 @@
+ 			// t_ptr may be 0
+ 			void append_copy(const T* t_ptr) {
+ 				if (t_ptr)
+-					push_back( Handle<T>(get_copy_of(*t_ptr)) );
++					this->push_back( Handle<T>(get_copy_of(*t_ptr)) );
+ 				else
+-					push_back( Handle<T>() );
++					this->push_back( Handle<T>() );
+ 			}
+ 
+ 			// t_ptr may be 0
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Jun 2 18:11:55 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=179227 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Tue Jun 4 10:06:49 UTC 2013 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/179227: commit references a PR
Date: Tue,  4 Jun 2013 10:06:13 +0000 (UTC)

 Author: miwi
 Date: Tue Jun  4 10:06:04 2013
 New Revision: 319850
 URL: http://svnweb.freebsd.org/changeset/ports/319850
 
 Log:
   - Fix build with clang
   - Add LICENSE
   - Add MAKE_JOBS_SAFE
   
   PR:		179227
   Submitted by:	Ports Fury
 
 Added:
   head/devel/xparam/files/patch-lib__xparam__xp_hvl.h   (contents, props changed)
 Modified:
   head/devel/xparam/Makefile   (contents, props changed)
 
 Modified: head/devel/xparam/Makefile
 ==============================================================================
 --- head/devel/xparam/Makefile	Tue Jun  4 10:04:47 2013	(r319849)
 +++ head/devel/xparam/Makefile	Tue Jun  4 10:06:04 2013	(r319850)
 @@ -1,10 +1,5 @@
 -# ex:ts=8
 -# New ports collection makefile for:	xparam
 -# Date created:			Dec 23, 2001
 -# Whom:				ijliao
 -#
 +# Created by: ijliao
  # $FreeBSD$
 -#
  
  PORTNAME=	xparam
  PORTVERSION=	1.22
 @@ -13,10 +8,13 @@ CATEGORIES=	devel
  MASTER_SITES=	SF
  
  MAINTAINER=	ports@FreeBSD.org
 -COMMENT=	A general-purpose tool for parameter handling in C++
 +COMMENT=	General-purpose tool for parameter handling in C++
 +
 +LICENSE=	GPLv2 # (or later)
  
  USE_GMAKE=	yes
  USE_AUTOTOOLS=	libtool
  USE_LDCONFIG=	yes
 +MAKE_JOBS_SAFE=	yes
  
  .include <bsd.port.mk>
 
 Added: head/devel/xparam/files/patch-lib__xparam__xp_hvl.h
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/devel/xparam/files/patch-lib__xparam__xp_hvl.h	Tue Jun  4 10:06:04 2013	(r319850)
 @@ -0,0 +1,14 @@
 +--- lib/xparam/xp_hvl.h.orig
 ++++ lib/xparam/xp_hvl.h
 +@@ -51,9 +51,9 @@
 + 			// t_ptr may be 0
 + 			void append_copy(const T* t_ptr) {
 + 				if (t_ptr)
 +-					push_back( Handle<T>(get_copy_of(*t_ptr)) );
 ++					this->push_back( Handle<T>(get_copy_of(*t_ptr)) );
 + 				else
 +-					push_back( Handle<T>() );
 ++					this->push_back( Handle<T>() );
 + 			}
 + 
 + 			// t_ptr may be 0
 _______________________________________________
 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:
