Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2014 05:29:56 +0000 (UTC)
From:      Stephen Montgomery-Smith <stephen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340803 - head/math/octave-forge-fits/files
Message-ID:  <201401230529.s0N5TuMi063353@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401230529.s0N5TuMi063353>