svn commit: r306579 - in head/graphics/opennurbs: . files
Pawel Pekala
pawel at FreeBSD.org
Sun Oct 28 21:40:10 UTC 2012
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 <fernando.apesteguia at gmail.com> (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 <fernando.apesteguia at gmail.com>
-#
+# Created by: Fernando Apesteguia <fernando.apesteguia at gmail.com>
# $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 <malloc_np.h>
++
+ #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 <malloc/malloc.h>
- #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 <stdlib.h>
+ #include <memory.h>
+-#if defined(ON_COMPILER_XCODE)
+-#include <malloc/malloc.h>
+-#else
-#include <malloc.h>
- #endif
+-#endif
#include <string.h>
#include <math.h>
-@@ -299,7 +298,6 @@
- /* 16-bit wide character ("UNICODE") */
-
- #if !defined(_WCHAR_T)
--typedef unsigned short wchar_t;
- #endif
-
- #define _WCHAR_T_DEFINED
+ #include <stdio.h>
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
More information about the svn-ports-head
mailing list