aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-11-29 15:37:25 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-11-29 15:37:25 +0000
commita6c89e200832b13c699daddef1924989d3e89d85 (patch)
tree35584b42798c979d54693ef80f38e646fecc44c4
parentd6eaf09cbd89db111c5c10fe2a3e62e14a752cf3 (diff)
downloadports-a6c89e200832b13c699daddef1924989d3e89d85.tar.gz
ports-a6c89e200832b13c699daddef1924989d3e89d85.zip
MFH: r372990
- Fix build with clang Approved by: ports-secteam (rea)
Notes
Notes: svn path=/branches/2014Q4/; revision=373633
-rw-r--r--math/ump/files/patch-src__real.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/ump/files/patch-src__real.h b/math/ump/files/patch-src__real.h
new file mode 100644
index 000000000000..6ecbac1b5a75
--- /dev/null
+++ b/math/ump/files/patch-src__real.h
@@ -0,0 +1,11 @@
+--- src/real.h.orig 2006-10-06 15:42:58.000000000 +0400
++++ src/real.h 2014-11-21 03:10:40.000000000 +0300
+@@ -145,7 +145,7 @@
+ friend Real ipart(const Real &val) throw(error_obj);
+ friend Real fpart(const Real &val) throw(error_obj);
+ // converts a Real to a fraction
+- friend Real frac(const Real &val, int32 highest_bottom_value = 1000) throw(error_obj);
++ friend Real frac(const Real &val, int32 highest_bottom_value) throw(error_obj);
+ friend Real sign(const Real &val) throw(error_obj);
+
+ // val.isExact() must return true