summaryrefslogtreecommitdiff
path: root/math/rapid/files/patch-overlap.C
diff options
context:
space:
mode:
authorJason W. Bacon <jwb@FreeBSD.org>2018-05-19 14:09:01 +0000
committerJason W. Bacon <jwb@FreeBSD.org>2018-05-19 14:09:01 +0000
commita1acd6996c2147a685e3986d8400d0023da053e5 (patch)
treeb1939a85a3b726b2cf68374aa6633de59921a018 /math/rapid/files/patch-overlap.C
parentdevel/p5-Test-Most: Update to 0.35 (diff)
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
Diffstat (limited to 'math/rapid/files/patch-overlap.C')
-rw-r--r--math/rapid/files/patch-overlap.C22
1 files changed, 22 insertions, 0 deletions
diff --git a/math/rapid/files/patch-overlap.C b/math/rapid/files/patch-overlap.C
new file mode 100644
index 000000000000..6b3386f128e6
--- /dev/null
+++ b/math/rapid/files/patch-overlap.C
@@ -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;
+