aboutsummaryrefslogtreecommitdiff
path: root/math/octave-forge-fits
diff options
context:
space:
mode:
authorStephen Montgomery-Smith <stephen@FreeBSD.org>2011-07-13 21:18:51 +0000
committerStephen Montgomery-Smith <stephen@FreeBSD.org>2011-07-13 21:18:51 +0000
commit4e6fdea0c761f01137d72ab4b5587f300424cca7 (patch)
tree0c50230ddea37333c4dc20aa426eb4fc2efe054e /math/octave-forge-fits
parenta2486c55e975c0e0ffb45099be6f302009d12a2f (diff)
downloadports-4e6fdea0c761f01137d72ab4b5587f300424cca7.tar.gz
ports-4e6fdea0c761f01137d72ab4b5587f300424cca7.zip
- Fix build errors.
- Bump portrevision. Approved by: gabor (mentor)
Notes
Notes: svn path=/head/; revision=277654
Diffstat (limited to 'math/octave-forge-fits')
-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"
+ {