From owner-svn-ports-all@freebsd.org Sat May 19 14:09:03 2018 Return-Path: Delivered-To: svn-ports-all@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 BD4C9EAED11; Sat, 19 May 2018 14:09:03 +0000 (UTC) (envelope-from jwb@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5FD0E7083B; Sat, 19 May 2018 14:09:03 +0000 (UTC) (envelope-from jwb@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 365302D; Sat, 19 May 2018 14:09:03 +0000 (UTC) (envelope-from jwb@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w4JE93l3030180; Sat, 19 May 2018 14:09:03 GMT (envelope-from jwb@FreeBSD.org) Received: (from jwb@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w4JE91XC030172; Sat, 19 May 2018 14:09:01 GMT (envelope-from jwb@FreeBSD.org) Message-Id: <201805191409.w4JE91XC030172@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jwb set sender to jwb@FreeBSD.org using -f From: "Jason W. Bacon" Date: Sat, 19 May 2018 14:09:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r470408 - in head/math/rapid: . files X-SVN-Group: ports-head X-SVN-Commit-Author: jwb X-SVN-Commit-Paths: in head/math/rapid: . files X-SVN-Commit-Revision: 470408 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 May 2018 14:09:04 -0000 Author: jwb Date: Sat May 19 14:09:01 2018 New Revision: 470408 URL: https://svnweb.freebsd.org/changeset/ports/470408 Log: math/rapid: Fix build on FreeBSD 12, clean up license info, remove dead mirror Approved by: jrm (mentor) Differential Revision: https://reviews.freebsd.org/D15460 Added: head/math/rapid/files/patch-RAPID.C (contents, props changed) head/math/rapid/files/patch-build.C (contents, props changed) head/math/rapid/files/patch-collide.C (contents, props changed) head/math/rapid/files/patch-overlap.C (contents, props changed) Modified: head/math/rapid/Makefile head/math/rapid/files/patch-Makefile head/math/rapid/files/patch-sample_client.C head/math/rapid/pkg-descr Modified: head/math/rapid/Makefile ============================================================================== --- head/math/rapid/Makefile Sat May 19 13:45:25 2018 (r470407) +++ head/math/rapid/Makefile Sat May 19 14:09:01 2018 (r470408) @@ -3,21 +3,24 @@ PORTNAME= rapid PORTVERSION= 2.01 CATEGORIES= math science graphics -MASTER_SITES= http://www.cs.sunysb.edu/~algorith/implement/RAPID/distrib/ \ - http://www.neuro.mcw.edu/Ports/distfiles/ +MASTER_SITES= http://www.cs.sunysb.edu/~algorith/implement/RAPID/distrib/ DISTNAME= RAPID_v2_01 MAINTAINER= jwb@FreeBSD.org COMMENT= Robust and Accurate Polygon Interference Detection -RESTRICTED= For any commercial purpose, you must request a license from http://www.cs.unc.edu/~geom/OBB/OBBT.html +LICENSE= UNKNOWN +LICENSE_NAME= unknown +LICENSE_TEXT= For any commercial purpose, you must request a license from \ + http://www.cs.unc.edu/~geom/OBB/OBBT.html +LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell no-pkg-mirror \ + auto-accept SUB_FILES= pkg-message ALL_TARGET= MAKE_JOBS_UNSAFE= yes - -MAKE_ENV+= V=1 +MAKE_ENV+= V=1 .include Modified: head/math/rapid/files/patch-Makefile ============================================================================== --- head/math/rapid/files/patch-Makefile Sat May 19 13:45:25 2018 (r470407) +++ head/math/rapid/files/patch-Makefile Sat May 19 14:09:01 2018 (r470408) @@ -1,5 +1,5 @@ ---- Makefile.orig 1997-07-03 18:54:09.000000000 +0200 -+++ Makefile 2015-05-29 23:02:09.707278000 +0200 +--- Makefile.orig 1997-07-03 16:54:09 UTC ++++ Makefile @@ -1,5 +1,5 @@ -CC = CC -O Added: head/math/rapid/files/patch-RAPID.C ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/rapid/files/patch-RAPID.C Sat May 19 14:09:01 2018 (r470408) @@ -0,0 +1,11 @@ +--- RAPID.C.orig 2018-05-16 10:56:45 UTC ++++ RAPID.C +@@ -40,7 +40,7 @@ + + #include "RAPID_version.H" + +-static char rapidtag_data[] = "RAPIDTAG file: "__FILE__" date: "__DATE__" time: "__TIME__; ++static char rapidtag_data[] = "RAPIDTAG file: " __FILE__ " date: " __DATE__ " time: " __TIME__; + + // to silence the compiler's complaints about unreferenced identifiers. + static void r1(char *f){ r1(f); r1(rapidtag_data); r1(rapid_version);} Added: head/math/rapid/files/patch-build.C ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/rapid/files/patch-build.C Sat May 19 14:09:01 2018 (r470408) @@ -0,0 +1,22 @@ +--- build.C.orig 1997-07-03 16:54:10 UTC ++++ build.C +@@ -41,7 +41,7 @@ + + #include "RAPID_version.H" + +-static char rapidtag_data[] = "RAPIDTAG file: "__FILE__" date: "__DATE__" time: "__TIME__; ++static char rapidtag_data[] = "RAPIDTAG file: " __FILE__ " date: " __DATE__ " time: " __TIME__; + + // to silence the compiler's complaints about unreferenced identifiers. + static void r1(char *f){ r1(f); r1(rapidtag_data); r1(rapid_version);} +@@ -419,8 +419,8 @@ box::split_recurse(int *t, int n) + // see where it lies with respect to axdmp. + mean_from_moment(c, RAPID_moment[in]); + +- if (((pR[0][0]*c[0] + pR[1][0]*c[1] + pR[2][0]*c[2]) < axdmp) +- && ((n!=2)) || ((n==2) && (i==0))) ++ if ( (( (pR[0][0]*c[0] + pR[1][0]*c[1] + pR[2][0]*c[2]) < axdmp) ++ && (n!=2)) || ((n==2) && (i==0)) ) + { + // accumulate first and second order moments for group 1 + accum_moment(M1, RAPID_moment[in]); Added: head/math/rapid/files/patch-collide.C ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/rapid/files/patch-collide.C Sat May 19 14:09:01 2018 (r470408) @@ -0,0 +1,11 @@ +--- collide.C.orig 2018-05-16 10:58:09 UTC ++++ collide.C +@@ -42,7 +42,7 @@ + + #include "RAPID_version.H" + +-static char rapidtag_data[] = "RAPIDTAG file: "__FILE__" date: "__DATE__" time: "__TIME__; ++static char rapidtag_data[] = "RAPIDTAG file: " __FILE__ " date: " __DATE__ " time: " __TIME__; + + // to silence the compiler's complaints about unreferenced identifiers. + static void r1(char *f){ r1(f); r1(rapidtag_data); r1(rapid_version);} Added: head/math/rapid/files/patch-overlap.C ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/rapid/files/patch-overlap.C Sat May 19 14:09:01 2018 (r470408) @@ -0,0 +1,22 @@ +--- overlap.C.orig 2018-05-16 10:58:45 UTC ++++ overlap.C +@@ -41,7 +41,7 @@ + + #include "RAPID_version.H" + +-static char rapidtag_data[] = "RAPIDTAG file: "__FILE__" date: "__DATE__" time: "__TIME__; ++static char rapidtag_data[] = "RAPIDTAG file: " __FILE__ " date: " __DATE__ " time: " __TIME__; + + // to silence the compiler's complaints about unreferenced identifiers. + static void r1(char *f){ r1(f); r1(rapidtag_data); r1(rapid_version);} +@@ -221,8 +221,8 @@ models. + int + obb_disjoint(double B[3][3], double T[3], double a[3], double b[3]) + { +- register double t, s; +- register int r; ++ double t, s; ++ int r; + double Bf[3][3]; + const double reps = 1e-6; + Modified: head/math/rapid/files/patch-sample_client.C ============================================================================== --- head/math/rapid/files/patch-sample_client.C Sat May 19 13:45:25 2018 (r470407) +++ head/math/rapid/files/patch-sample_client.C Sat May 19 14:09:01 2018 (r470408) @@ -1,5 +1,5 @@ ---- ./sample_client.C.orig 2014-02-21 11:34:06.215654443 +0100 -+++ ./sample_client.C 2014-02-21 11:34:17.068652509 +0100 +--- sample_client.C.orig 1997-07-03 16:54:09 UTC ++++ sample_client.C @@ -42,7 +42,7 @@ #define LISTS 0 Modified: head/math/rapid/pkg-descr ============================================================================== --- head/math/rapid/pkg-descr Sat May 19 13:45:25 2018 (r470407) +++ head/math/rapid/pkg-descr Sat May 19 14:09:01 2018 (r470408) @@ -1,16 +1,12 @@ -RAPID is a robust and accurate polygon interference detection library -for large environments composed of unstructured models. +RAPID is a robust and accurate polygon interference detection library for +large environments composed of unstructured models. -WWW: http://www.cs.unc.edu/~geom/OBB/OBBT.html - ************************************************************************** The RAPID code is offered "as is" and is free for non-commercial use. -To use RAPID for any commercial purpose, you must request a license from +To use RAPID for any commercial purpose, you must request a license. - http://www.cs.unc.edu/~geom/OBB/OBBT.html - -Redistribution of RAPID code in any form is strictly prohibited. - ************************************************************************** + +WWW: http://www.cs.unc.edu/~geom/OBB/OBBT.html