aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorstephen <stephen@FreeBSD.org>2011-07-14 05:18:51 +0800
committerstephen <stephen@FreeBSD.org>2011-07-14 05:18:51 +0800
commitcc225a5deb2f97d66746a16257e0fbbe68153d48 (patch)
tree7a537acce1d455f3a0532d4a52115ed105340111 /math
parent387386022230c39894b78b7f7c4051d32ac194c8 (diff)
downloadfreebsd-ports-gnome-cc225a5deb2f97d66746a16257e0fbbe68153d48.tar.gz
freebsd-ports-gnome-cc225a5deb2f97d66746a16257e0fbbe68153d48.tar.zst
freebsd-ports-gnome-cc225a5deb2f97d66746a16257e0fbbe68153d48.zip
- Fix build errors.
- Bump portrevision. Approved by: gabor (mentor)
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"
+ {