Bug 179227 - devel/xparam: Fix build with clang
Summary: devel/xparam: Fix build with 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: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-02 19:10 UTC by tkato432
Modified: 2013-06-04 11:10 UTC (History)
0 users

See Also:


Attachments
file.diff (1.46 KB, patch)
2013-06-02 19:10 UTC, tkato432
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato432 2013-06-02 19:10:08 UTC
- Fix build with clang
- Add LICENSE
- Add MAKE_JOBS_SAFE

New file:
files/patch-lib__xparam__xp_hvl.h
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-06-02 19:11:55 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

miwi@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-06-04 11:06:13 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"
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2013-06-04 11:06:49 UTC
State Changed
From-To: open->closed

Committed. Thanks!