From owner-svn-ports-head@FreeBSD.ORG Sun Oct 28 21:40:10 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 01C20375; Sun, 28 Oct 2012 21:40:10 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D45A88FC16; Sun, 28 Oct 2012 21:40:09 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9SLe9UB005304; Sun, 28 Oct 2012 21:40:09 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9SLe9wj005298; Sun, 28 Oct 2012 21:40:09 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201210282140.q9SLe9wj005298@svn.freebsd.org> From: Pawel Pekala Date: Sun, 28 Oct 2012 21:40:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306579 - in head/graphics/opennurbs: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2012 21:40:10 -0000 Author: pawel Date: Sun Oct 28 21:40:09 2012 New Revision: 306579 URL: http://svn.freebsd.org/changeset/ports/306579 Log: Update to release 20120914 PR: ports/173142 Submitted by: Fernando (maintainer) Feature safe: yes Added: head/graphics/opennurbs/files/patch-opennurbs-memory.c (contents, props changed) Deleted: head/graphics/opennurbs/files/patch-makefile head/graphics/opennurbs/files/patch-opennurbs-array-defs.h Modified: head/graphics/opennurbs/Makefile head/graphics/opennurbs/distinfo head/graphics/opennurbs/files/patch-opennurbs-system.h head/graphics/opennurbs/pkg-plist Modified: head/graphics/opennurbs/Makefile ============================================================================== --- head/graphics/opennurbs/Makefile Sun Oct 28 21:39:50 2012 (r306578) +++ head/graphics/opennurbs/Makefile Sun Oct 28 21:40:09 2012 (r306579) @@ -1,14 +1,10 @@ -# New ports collection makefile for: opennurbs -# Date created: Aug 17 2011 -# Whom: Fernando Apesteguia -# +# Created by: Fernando Apesteguia # $FreeBSD$ PORTNAME= opennurbs -PORTVERSION= 20111122 -PORTREVISION= 1 +PORTVERSION= 20120914 CATEGORIES= graphics -MASTER_SITES= http://files.na.mcneel.com/opennurbs/5.0/2011-11-22/ +MASTER_SITES= http://files.na.mcneel.com/opennurbs/5.0/2012-09-14/ MASTER_SITE_SUBDIR=${PORTNAME}_${PORTVERSION} DISTNAME= ${PORTNAME}_${PORTVERSION} @@ -30,7 +26,7 @@ pre-build: do-install: @${INSTALL_DATA} ${WRKSRC}/libopenNURBS.a ${PREFIX}/lib @${MKDIR} ${EXAMPLESDIR} -.for i in brep dump read roundtrip userdata write +.for i in brep read roundtrip userdata write @${INSTALL_PROGRAM} ${WRKSRC}/example_${i}/example_${i} ${EXAMPLESDIR} .endfor @${MKDIR} ${PREFIX}/include/openNURBS/zlib Modified: head/graphics/opennurbs/distinfo ============================================================================== --- head/graphics/opennurbs/distinfo Sun Oct 28 21:39:50 2012 (r306578) +++ head/graphics/opennurbs/distinfo Sun Oct 28 21:40:09 2012 (r306579) @@ -1,2 +1,2 @@ -SHA256 (opennurbs_20111122.zip) = 510f2a035c27b461d96aaef3fb51c25a49abcc0815af64d8250b668c27210bc5 -SIZE (opennurbs_20111122.zip) = 1766806 +SHA256 (opennurbs_20120914.zip) = eb26c799fe065c7420ae3bcb27557ac67b12dad739d5e782240d862f196e69e6 +SIZE (opennurbs_20120914.zip) = 1780660 Added: head/graphics/opennurbs/files/patch-opennurbs-memory.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/opennurbs/files/patch-opennurbs-memory.c Sun Oct 28 21:40:09 2012 (r306579) @@ -0,0 +1,21 @@ +--- opennurbs_memory.c.orig 2012-10-25 18:07:39.000000000 +0200 ++++ opennurbs_memory.c 2012-10-25 18:08:08.000000000 +0200 +@@ -14,6 +14,8 @@ + //////////////////////////////////////////////////////////////// + */ + ++#include ++ + #include "opennurbs_system.h" + #include "opennurbs_defines.h" + #include "opennurbs_memory.h" +@@ -113,8 +115,7 @@ + // platform, then report it to the support + // contact on http://opennurbs.org and + // the code will be added in the next release. +- ON_ERROR("onmsize not implemented on this compiler or platform.") +- sz = 0; ++ sz = malloc_usable_size( (void*)memblock ); + #endif + } + Modified: head/graphics/opennurbs/files/patch-opennurbs-system.h ============================================================================== --- head/graphics/opennurbs/files/patch-opennurbs-system.h Sun Oct 28 21:39:50 2012 (r306578) +++ head/graphics/opennurbs/files/patch-opennurbs-system.h Sun Oct 28 21:40:09 2012 (r306579) @@ -1,18 +1,14 @@ ---- opennurbs_system.h.orig 2012-01-20 20:28:51.000000000 +0100 -+++ opennurbs_system.h 2012-01-20 20:28:32.000000000 +0100 -@@ -217,7 +217,6 @@ - #if defined(ON_COMPILER_XCODE) - #include - #else +--- opennurbs_system.h.orig 2012-10-24 23:45:37.000000000 +0200 ++++ opennurbs_system.h 2012-10-24 23:45:37.000000000 +0200 +@@ -219,11 +219,6 @@ + + #include + #include +-#if defined(ON_COMPILER_XCODE) +-#include +-#else -#include - #endif +-#endif #include #include -@@ -299,7 +298,6 @@ - /* 16-bit wide character ("UNICODE") */ - - #if !defined(_WCHAR_T) --typedef unsigned short wchar_t; - #endif - - #define _WCHAR_T_DEFINED + #include Modified: head/graphics/opennurbs/pkg-plist ============================================================================== --- head/graphics/opennurbs/pkg-plist Sun Oct 28 21:39:50 2012 (r306578) +++ head/graphics/opennurbs/pkg-plist Sun Oct 28 21:40:09 2012 (r306579) @@ -56,7 +56,6 @@ include/openNURBS/opennurbs_linestyle.h include/openNURBS/opennurbs_linetype.h include/openNURBS/opennurbs_lookup.h include/openNURBS/opennurbs_mapchan.h -include/openNURBS/opennurbs_massprop.h include/openNURBS/opennurbs_material.h include/openNURBS/opennurbs_math.h include/openNURBS/opennurbs_matrix.h @@ -81,7 +80,6 @@ include/openNURBS/opennurbs_polyedgecurv include/openNURBS/opennurbs_polyline.h include/openNURBS/opennurbs_polylinecurve.h include/openNURBS/opennurbs_qsort_template.h -include/openNURBS/opennurbs_quaternion.h include/openNURBS/opennurbs_rand.h include/openNURBS/opennurbs_rendering.h include/openNURBS/opennurbs_revsurface.h @@ -102,7 +100,6 @@ include/openNURBS/opennurbs_uuid.h include/openNURBS/opennurbs_version.h include/openNURBS/opennurbs_viewport.h include/openNURBS/opennurbs_workspace.h -include/openNURBS/opennurbs_x.h include/openNURBS/opennurbs_xform.h include/openNURBS/opennurbs_zlib.h include/openNURBS/zlib/crc32.h @@ -117,7 +114,6 @@ include/openNURBS/zlib/zlib.h include/openNURBS/zlib/zutil.h lib/libopenNURBS.a libexec/openNURBS/example_brep -libexec/openNURBS/example_dump libexec/openNURBS/example_read libexec/openNURBS/example_roundtrip libexec/openNURBS/example_userdata