aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/octave-forge-fits/Makefile4
-rw-r--r--math/octave-forge-fits/files/patch-read_fits_image.cc10
2 files changed, 11 insertions, 3 deletions
diff --git a/math/octave-forge-fits/Makefile b/math/octave-forge-fits/Makefile
index 312923641793..a60567c1d7a9 100644
--- a/math/octave-forge-fits/Makefile
+++ b/math/octave-forge-fits/Makefile
@@ -7,14 +7,12 @@
PORTNAME= octave-forge-fits
PORTVERSION= 1.0.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
-BROKEN= Does not build with octave-3.4.0
-
WRKSRC= ${WRKDIR}/${OCTAVE_PKGNAME}/src
LIB_DEPENDS+= cfitsio:${PORTSDIR}/astro/cfitsio
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..d1343bac78d4
--- /dev/null
+++ b/math/octave-forge-fits/files/patch-read_fits_image.cc
@@ -0,0 +1,10 @@
+--- read_fits_image.cc-orig 2011-07-13 19:46:54.000000000 +0000
++++ read_fits_image.cc 2011-07-13 19:47:19.000000000 +0000
+@@ -9,6 +9,7 @@
+ #include <iostream>
+ #include <sstream>
+ #include <octave/oct.h>
++#include <octave/MArrayN.h>
+
+ extern "C"
+ {