aboutsummaryrefslogtreecommitdiff
path: root/math/freefem++
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2007-11-14 18:03:36 +0000
committerThierry Thomas <thierry@FreeBSD.org>2007-11-14 18:03:36 +0000
commit964ffd4fb8caecf5e92e7aaf0385750b4ae717fc (patch)
treee2728dd5e2405861518deb5ae1aa5a846d259bae /math/freefem++
parent26dadc8c295e2b15aec70916ec0ed21aa32c32a1 (diff)
downloadports-964ffd4fb8caecf5e92e7aaf0385750b4ae717fc.tar.gz
ports-964ffd4fb8caecf5e92e7aaf0385750b4ae717fc.zip
Fix compilation on 64 bits platforms.
Reported by: pointyhat via pav Approved by: portmgr (Pav) Discussed with: Frederic Hecht (author)
Notes
Notes: svn path=/head/; revision=202711
Diffstat (limited to 'math/freefem++')
-rw-r--r--math/freefem++/files/patch-src_fflib_AFunction.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/freefem++/files/patch-src_fflib_AFunction.cpp b/math/freefem++/files/patch-src_fflib_AFunction.cpp
new file mode 100644
index 000000000000..efef53ac36c7
--- /dev/null
+++ b/math/freefem++/files/patch-src_fflib_AFunction.cpp
@@ -0,0 +1,11 @@
+--- ./src/fflib/AFunction.cpp.orig 2007-10-22 18:10:22.000000000 +0200
++++ ./src/fflib/AFunction.cpp 2007-11-13 22:27:16.000000000 +0100
+@@ -1265,7 +1265,7 @@
+ const E_Array & a= ta ? *tea->v : *ea;
+ cout << " pv =" << pv << " size = "<< a.size() << endl;
+ ffassert(pv >=0 && pv <a.size());
+- return a[pv];
++ return (* a.v)[pv];
+ }
+
+ C_F0 opDot::code2(const basicAC_F0 &args) const