diff options
author | stephen <stephen@FreeBSD.org> | 2014-06-09 03:26:26 +0800 |
---|---|---|
committer | stephen <stephen@FreeBSD.org> | 2014-06-09 03:26:26 +0800 |
commit | 485b04218c906f71fa9dc80d92043682adb47cc5 (patch) | |
tree | 1734518390f9750ebd390bae6e19e20100286689 /math | |
parent | bad8efc737d931d321698a601bbad07100cfdbf3 (diff) | |
download | freebsd-ports-gnome-485b04218c906f71fa9dc80d92043682adb47cc5.tar.gz freebsd-ports-gnome-485b04218c906f71fa9dc80d92043682adb47cc5.tar.zst freebsd-ports-gnome-485b04218c906f71fa9dc80d92043682adb47cc5.zip |
- Update to 1.2.1.
Diffstat (limited to 'math')
-rw-r--r-- | math/octave-forge-miscellaneous/Makefile | 5 | ||||
-rw-r--r-- | math/octave-forge-miscellaneous/distinfo | 4 | ||||
-rw-r--r-- | math/octave-forge-miscellaneous/files/patch-partarray.cc | 47 |
3 files changed, 4 insertions, 52 deletions
diff --git a/math/octave-forge-miscellaneous/Makefile b/math/octave-forge-miscellaneous/Makefile index f816f59c5291..81967f1caead 100644 --- a/math/octave-forge-miscellaneous/Makefile +++ b/math/octave-forge-miscellaneous/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= octave-forge-miscellaneous -PORTVERSION= 1.2.0 -PORTREVISION= 5 +PORTVERSION= 1.2.1 CATEGORIES= math MAINTAINER= stephen@FreeBSD.org @@ -13,7 +12,7 @@ LICENSE= GPLv3 # OCTSRC is the name of the directory of the package. # It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}. -OCTSRC= ${OCTAVE_PKGNAME} +OCTSRC= ${DISTNAME} WRKSRC= ${WRKDIR}/${OCTSRC}/src diff --git a/math/octave-forge-miscellaneous/distinfo b/math/octave-forge-miscellaneous/distinfo index e255a0a39b33..7e529d751c7d 100644 --- a/math/octave-forge-miscellaneous/distinfo +++ b/math/octave-forge-miscellaneous/distinfo @@ -1,2 +1,2 @@ -SHA256 (octave-forge/miscellaneous-1.2.0.tar.gz) = 3d5cf8adad50e3c214b5e1ba7e62a71a04340592f5c2b027e313e51ef69c6cef -SIZE (octave-forge/miscellaneous-1.2.0.tar.gz) = 70494 +SHA256 (octave-forge/miscellaneous-1.2.1.tar.gz) = 1f678792b77fb7619b2e3b769bea19eb9d7285fe24720384693c462da7d9100a +SIZE (octave-forge/miscellaneous-1.2.1.tar.gz) = 107068 diff --git a/math/octave-forge-miscellaneous/files/patch-partarray.cc b/math/octave-forge-miscellaneous/files/patch-partarray.cc deleted file mode 100644 index 177a69305df6..000000000000 --- a/math/octave-forge-miscellaneous/files/patch-partarray.cc +++ /dev/null @@ -1,47 +0,0 @@ ---- partarray.cc.orig 2012-03-24 14:53:23.000000000 -0500 -+++ partarray.cc 2014-05-17 13:05:40.000000000 -0500 -@@ -39,9 +39,12 @@ - Array<int> nidx (dim_vector (maxdims, 1)); - // Octave-3.2.4 reports "missing symbol" with Array<Array< > >, - // though 3.3.54+ does not -- Array<octave_idx_type> bidc [maxdims], eidc [maxdims]; - // - Array<octave_idx_type> step (dim_vector (maxdims, 1)); -+ // Array<octave_idx_type> bidc [maxdims], eidc [maxdims]; -+ Array<octave_idx_type> *bidc, *eidc; -+ bidc = new Array<octave_idx_type> [maxdims]; -+ eidc = new Array<octave_idx_type> [maxdims]; - step(0) = 1; - for (int i = 0; i < maxdims; i++) - { -@@ -62,6 +65,8 @@ - { - error ("%s: argument %i: wrong dimensions", - fname.c_str (), i + 2); -+ delete[](bidc); -+ delete[](eidc); - return Cell (); - } - cnidx = -@@ -83,8 +88,11 @@ - if (i < maxdims - 1) - step(i + 1) = step(i) * alldims(i); - } -- if (error_state) -+ if (error_state) { -+ delete[](bidc); -+ delete[](eidc); - return Cell (); -+ } - - dim_vector rdv (nc, 1); - -@@ -144,6 +152,8 @@ - } - } - -+ delete[](bidc); -+ delete[](eidc); - return retval; - } - |