aboutsummaryrefslogtreecommitdiff
path: root/math/gambit
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2014-04-23 14:52:17 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2014-04-23 14:52:17 +0000
commit98d4b5ce7f085af6fa07d9554e190c744460f3fd (patch)
tree56d1d0d113da514ca75fd8b4fd9a199ba9409961 /math/gambit
parent4aa87895da2cce9ba08d63040e69ec34b8b0c788 (diff)
downloadports-98d4b5ce7f085af6fa07d9554e190c744460f3fd.tar.gz
ports-98d4b5ce7f085af6fa07d9554e190c744460f3fd.zip
- Fix build
Reported by: pkg-fallout MFH: 2014Q2
Notes
Notes: svn path=/head/; revision=351950
Diffstat (limited to 'math/gambit')
-rw-r--r--math/gambit/files/patch-src-libgambit_integer.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/math/gambit/files/patch-src-libgambit_integer.h b/math/gambit/files/patch-src-libgambit_integer.h
new file mode 100644
index 000000000000..f26e023d0122
--- /dev/null
+++ b/math/gambit/files/patch-src-libgambit_integer.h
@@ -0,0 +1,13 @@
+--- src/libgambit/integer.h.orig 2014-04-23 14:09:42.000000000 +0200
++++ src/libgambit/integer.h 2014-04-23 14:10:50.000000000 +0200
+@@ -224,8 +224,8 @@
+ long as_long() const { return Itolong(rep); }
+ double as_double() const { return Itodouble(rep); }
+
+- friend std::string Itoa(const Integer& x, int base = 10, int width = 0);
+- friend Integer atoI(const char* s, int base = 10);
++ friend std::string Itoa(const Integer& x, int base /*= 10*/, int width /*= 0*/);
++ friend Integer atoI(const char* s, int base /*= 10*/);
+
+ friend std::istream &operator>>(std::istream &s, Integer& y);
+ friend std::ostream &operator<<(std::ostream &s, const Integer& y);