From owner-svn-ports-head@freebsd.org Sat Apr 6 21:06:51 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2A8B3156D0D8; Sat, 6 Apr 2019 21:06:51 +0000 (UTC) (envelope-from fernape@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BC6E16BFB4; Sat, 6 Apr 2019 21:06:50 +0000 (UTC) (envelope-from fernape@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 96DB32245; Sat, 6 Apr 2019 21:06:50 +0000 (UTC) (envelope-from fernape@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x36L6oJf017301; Sat, 6 Apr 2019 21:06:50 GMT (envelope-from fernape@FreeBSD.org) Received: (from fernape@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x36L6nT4017298; Sat, 6 Apr 2019 21:06:49 GMT (envelope-from fernape@FreeBSD.org) Message-Id: <201904062106.x36L6nT4017298@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: fernape set sender to fernape@FreeBSD.org using -f From: =?UTF-8?Q?Fernando_Apestegu=c3=ada?= Date: Sat, 6 Apr 2019 21:06:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r498202 - in head/cad/openvsp: . files X-SVN-Group: ports-head X-SVN-Commit-Author: fernape X-SVN-Commit-Paths: in head/cad/openvsp: . files X-SVN-Commit-Revision: 498202 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: BC6E16BFB4 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.965,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 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: Sat, 06 Apr 2019 21:06:51 -0000 Author: fernape Date: Sat Apr 6 21:06:49 2019 New Revision: 498202 URL: https://svnweb.freebsd.org/changeset/ports/498202 Log: cad/openvsp: update to 3.17.0 From the ChangeLog: (http://openvsp.org/blogs/announcements/2019/03/28/openvsp-3-17-0-released) Features: * CHARM Python export scripts * Transparent screenshots * Border toggle in menu * Improved show axis toggle * Export structure surfaces to IGES and STEP * Design lift coefficient support for four-digit airfoils * Propeller definition by thickness and CLi distribution * Calculate integrated design lift coefficient for props * BEM files in terms of thickness and CLi distribution * Feather axis and offset control for propeller * Implicit disk model for propeller * STL solid names include tag number * Tag unintersected triangles for STL export * Increase tessellation limits * Option to export props at origin (unintersected STL and STEP/IGES) * Batch evaluation of Bezier surface points and normals (faster refresh) Fixes: * Restore visualization of CFDMesh sources and wake * Don't crash when BOR XSec changed to Bezier * Don't crash when reading Lednicer airfoils * Import v2 multi-section wings properly * Make key-corner default for rounded rectangle * Reverse props with shifted construction line built correctly * Don't allow insertion of XSec at negative index from API * Don't allow comma as decimal point marker; fixes file corruption. * Fix writing excressence drag label to XML file * Fix unexpected ResetRemapID in files with conformal geometry Added: head/cad/openvsp/files/patch-src_util_FileUtil.cpp (contents, props changed) Modified: head/cad/openvsp/Makefile head/cad/openvsp/distinfo Modified: head/cad/openvsp/Makefile ============================================================================== --- head/cad/openvsp/Makefile Sat Apr 6 20:57:22 2019 (r498201) +++ head/cad/openvsp/Makefile Sat Apr 6 21:06:49 2019 (r498202) @@ -2,8 +2,7 @@ PORTNAME= openvsp DISTVERSIONPREFIX= ${GH_PROJECT}_ -DISTVERSION= 3.16.2 -PORTREVISION= 2 +DISTVERSION= 3.17.0 CATEGORIES= cad MAINTAINER= fernape@FreeBSD.org Modified: head/cad/openvsp/distinfo ============================================================================== --- head/cad/openvsp/distinfo Sat Apr 6 20:57:22 2019 (r498201) +++ head/cad/openvsp/distinfo Sat Apr 6 21:06:49 2019 (r498202) @@ -1,3 +1,3 @@ -TIMESTAMP = 1542557819 -SHA256 (OpenVSP-OpenVSP-OpenVSP_3.16.2_GH0.tar.gz) = dc7b482651d4274078860a9f750037e0060f9e7343122c2ca14b73aca281bacf -SIZE (OpenVSP-OpenVSP-OpenVSP_3.16.2_GH0.tar.gz) = 34458283 +TIMESTAMP = 1553966825 +SHA256 (OpenVSP-OpenVSP-OpenVSP_3.17.0_GH0.tar.gz) = ba34eb172d767503cf7e6434225a831662ab48c6a4707ed3fdc4af7ee4343646 +SIZE (OpenVSP-OpenVSP-OpenVSP_3.17.0_GH0.tar.gz) = 35052877 Added: head/cad/openvsp/files/patch-src_util_FileUtil.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/cad/openvsp/files/patch-src_util_FileUtil.cpp Sat Apr 6 21:06:49 2019 (r498202) @@ -0,0 +1,31 @@ +--- src/util/FileUtil.cpp.orig 2019-03-28 20:30:27 UTC ++++ src/util/FileUtil.cpp +@@ -19,7 +19,9 @@ + #include + #endif + ++#include + ++ + vector< string > ScanFolder( const char* dir_path ) + { + vector< string > file_vec; +@@ -107,9 +109,18 @@ bail: + + string PathToExe() + { ++ + int bufsize = 255; + char *path = NULL; + bool done = false; ++ ++ char temp[PATH_MAX]; ++ char exepath[PATH_MAX]; ++ ++ ::snprintf(temp, sizeof(temp),"/proc/curproc/file"); ++ ::realpath(temp, exepath); ++ ++ return dirname(exepath); + + // Pre-loop initialization. + #ifdef WIN32