diff options
author | stephen <stephen@FreeBSD.org> | 2014-01-23 13:29:56 +0800 |
---|---|---|
committer | stephen <stephen@FreeBSD.org> | 2014-01-23 13:29:56 +0800 |
commit | 91911be281faddf3d761998a420e0c937340b9a5 (patch) | |
tree | af1a14558d3c9fc8b8aa2d5a5237b04995bf1782 /math | |
parent | 2c55fbf19917eae0411342d3dfa7b05582074c75 (diff) | |
download | freebsd-ports-gnome-91911be281faddf3d761998a420e0c937340b9a5.tar.gz freebsd-ports-gnome-91911be281faddf3d761998a420e0c937340b9a5.tar.zst freebsd-ports-gnome-91911be281faddf3d761998a420e0c937340b9a5.zip |
- Add patch to fix build error with math/octave-3.8.0.
Diffstat (limited to 'math')
-rw-r--r-- | math/octave-forge-fits/files/patch-read_fits_image.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/math/octave-forge-fits/files/patch-read_fits_image.cc b/math/octave-forge-fits/files/patch-read_fits_image.cc new file mode 100644 index 000000000000..69bce08ebc26 --- /dev/null +++ b/math/octave-forge-fits/files/patch-read_fits_image.cc @@ -0,0 +1,11 @@ +--- read_fits_image.cc-orig 2014-01-23 05:25:08.000000000 +0000 ++++ read_fits_image.cc 2014-01-23 05:25:45.000000000 +0000 +@@ -136,7 +136,7 @@ + } + //std::cerr << "read_sz: " << read_sz << std::endl; + +- #if OCTAVE_API_VERSION_NUMBER >= 45 ++ #if OCTAVE_API_VERSION_NUMBER >= 45 || !defined(OCTAVE_API_VERSION_NUMBER) + MArray<double> image_data( dims ); // a octace double-type array + #else + MArrayN<double> image_data( dims ); // a octave double-type array |