svn commit: r340803 - head/math/octave-forge-fits/files

Stephen Montgomery-Smith stephen at FreeBSD.org
Thu Jan 23 05:29:56 UTC 2014


Author: stephen
Date: Thu Jan 23 05:29:56 2014
New Revision: 340803
URL: http://svnweb.freebsd.org/changeset/ports/340803
QAT: https://qat.redports.org/buildarchive/r340803/

Log:
  - Add patch to fix build error with math/octave-3.8.0.

Added:
  head/math/octave-forge-fits/files/
  head/math/octave-forge-fits/files/patch-read_fits_image.cc   (contents, props changed)

Added: head/math/octave-forge-fits/files/patch-read_fits_image.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/octave-forge-fits/files/patch-read_fits_image.cc	Thu Jan 23 05:29:56 2014	(r340803)
@@ -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


More information about the svn-ports-all mailing list