diff options
author | gahr <gahr@FreeBSD.org> | 2014-04-23 22:52:17 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2014-04-23 22:52:17 +0800 |
commit | 5b4d5989e58328a66a523e468c1729376516bdc9 (patch) | |
tree | 56d1d0d113da514ca75fd8b4fd9a199ba9409961 /math | |
parent | 617b0535eb594b1067ed271bf8711eefed5eb689 (diff) | |
download | freebsd-ports-gnome-5b4d5989e58328a66a523e468c1729376516bdc9.tar.gz freebsd-ports-gnome-5b4d5989e58328a66a523e468c1729376516bdc9.tar.zst freebsd-ports-gnome-5b4d5989e58328a66a523e468c1729376516bdc9.zip |
- Fix build
Reported by: pkg-fallout
MFH: 2014Q2
Diffstat (limited to 'math')
-rw-r--r-- | math/gambit/files/patch-src-libgambit_integer.h | 13 |
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); |