svn commit: r319850 - in head/devel/xparam: . files

Martin Wilke miwi at FreeBSD.org
Tue Jun 4 10:06:05 UTC 2013


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 at 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


More information about the svn-ports-head mailing list