aboutsummaryrefslogtreecommitdiffstats
path: root/math/ump
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-11-21 19:56:47 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-11-21 19:56:47 +0800
commitba13567d91820730a949d3c1bf065e45224e713c (patch)
tree0416a0ecab794a08889097af354e41efefcaa68c /math/ump
parentb9c88f9176cb509afddbf778cda0a20fcc6606dc (diff)
downloadfreebsd-ports-gnome-ba13567d91820730a949d3c1bf065e45224e713c.tar.gz
freebsd-ports-gnome-ba13567d91820730a949d3c1bf065e45224e713c.tar.zst
freebsd-ports-gnome-ba13567d91820730a949d3c1bf065e45224e713c.zip
- Fix build with clang
Diffstat (limited to 'math/ump')
-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