math/octave: Update to 8.3.0.

This commit is contained in:
Stephen Montgomery-Smith 2023-08-10 22:37:38 -05:00
parent 5cf2775606
commit 2717f14ed7
5 changed files with 7 additions and 100 deletions

View file

@ -22,7 +22,7 @@ IGNORE= Incorrect 'USES+= octave:${octave_ARGS}' usage: argument [${arg}] is not
. endif
. endfor
OCTAVE_VERSION= 8.2.0
OCTAVE_VERSION= 8.3.0
. if empty(octave_ARGS:Menv)
BUILD_DEPENDS+= octave:math/octave

View file

@ -1,6 +1,5 @@
PORTNAME= octave
PORTVERSION= ${OCTAVE_VERSION}
PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= GNU

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1681536019
SHA256 (octave-8.2.0.tar.xz) = b7b9d6e5004ff039450cfedd2a59ddbe2a3c22296df927a8af994182eb2670de
SIZE (octave-8.2.0.tar.xz) = 26970452
TIMESTAMP = 1691723084
SHA256 (octave-8.3.0.tar.xz) = 919c9494f02ca435e1e3474990e6df8ddef9acbc9c90565e08d40b8f50445ba9
SIZE (octave-8.3.0.tar.xz) = 26970776

View file

@ -1,92 +0,0 @@
--- liboctave/numeric/sparse-qr.cc.orig 2023-04-13 16:43:35 UTC
+++ liboctave/numeric/sparse-qr.cc
@@ -1786,7 +1786,7 @@ sparse_qr<SparseComplexMatrix>::sparse_qr_rep::Q (bool
OCTAVE_LOCAL_BUFFER (cs_complex_t, bvec, nr);
for (octave_idx_type i = 0; i < nr; i++)
- bvec[i] = cs_complex_t (0.0, 0.0);
+ bvec[i] = (cs_complex_t)0;
OCTAVE_LOCAL_BUFFER (Complex, buf, S->m2);
@@ -1813,7 +1813,7 @@ sparse_qr<SparseComplexMatrix>::sparse_qr_rep::Q (bool
for (octave_idx_type i = 0; i < nr; i++)
vec[i+idx] = buf[i];
- bvec[j] = cs_complex_t (0.0, 0.0);
+ bvec[j] = (cs_complex_t)0;
}
}
@@ -2073,7 +2073,7 @@ sparse_qr<SparseComplexMatrix>::sparse_qr_rep::tall_so
Xx[j] = b.xelem (j, i);
for (octave_idx_type j = nr; j < S->m2; j++)
- buf[j] = cs_complex_t (0.0, 0.0);
+ buf[j] = (cs_complex_t)0;
CXSPARSE_ZNAME (_ipvec) (S->pinv,
reinterpret_cast<cs_complex_t *>(Xx),
@@ -2143,7 +2143,7 @@ sparse_qr<SparseComplexMatrix>::sparse_qr_rep::wide_so
Xx[j] = b.xelem (j, i);
for (octave_idx_type j = nr; j < nbuf; j++)
- buf[j] = cs_complex_t (0.0, 0.0);
+ buf[j] = (cs_complex_t)0;
CXSPARSE_ZNAME (_pvec) (S->q, reinterpret_cast<cs_complex_t *> (Xx),
buf, nr);
@@ -2206,7 +2206,7 @@ sparse_qr<SparseComplexMatrix>::sparse_qr_rep::tall_so
Xx[j] = b.xelem (j, i);
for (octave_idx_type j = nr; j < S->m2; j++)
- buf[j] = cs_complex_t (0.0, 0.0);
+ buf[j] = (cs_complex_t)0;
CXSPARSE_ZNAME (_ipvec) (S->pinv,
reinterpret_cast<cs_complex_t *> (Xx),
@@ -2304,7 +2304,7 @@ sparse_qr<SparseComplexMatrix>::sparse_qr_rep::wide_so
Xx[j] = b.xelem (j, i);
for (octave_idx_type j = nr; j < nbuf; j++)
- buf[j] = cs_complex_t (0.0, 0.0);
+ buf[j] = (cs_complex_t)0;
CXSPARSE_ZNAME (_pvec) (S->q,
reinterpret_cast<cs_complex_t *> (Xx),
@@ -2392,7 +2392,7 @@ sparse_qr<SparseComplexMatrix>::sparse_qr_rep::tall_so
octave_quit ();
for (octave_idx_type j = nr; j < S->m2; j++)
- buf[j] = cs_complex_t (0.0, 0.0);
+ buf[j] = (cs_complex_t)0;
CXSPARSE_ZNAME (_ipvec) (S->pinv, bvec + bidx, buf, nr);
@@ -2460,7 +2460,7 @@ sparse_qr<SparseComplexMatrix>::sparse_qr_rep::wide_so
octave_quit ();
for (octave_idx_type j = nr; j < nbuf; j++)
- buf[j] = cs_complex_t (0.0, 0.0);
+ buf[j] = (cs_complex_t)0;
CXSPARSE_ZNAME (_pvec) (S->q, bvec + bidx, buf, nr);
CXSPARSE_ZNAME (_utsolve) (N->U, buf);
@@ -2522,7 +2522,7 @@ sparse_qr<SparseComplexMatrix>::sparse_qr_rep::tall_so
Xx[j] = b.xelem (j, i);
for (octave_idx_type j = nr; j < S->m2; j++)
- buf[j] = cs_complex_t (0.0, 0.0);
+ buf[j] = (cs_complex_t)0;
CXSPARSE_ZNAME (_ipvec) (S->pinv,
reinterpret_cast<cs_complex_t *> (Xx),
@@ -2620,7 +2620,7 @@ sparse_qr<SparseComplexMatrix>::sparse_qr_rep::wide_so
Xx[j] = b.xelem (j, i);
for (octave_idx_type j = nr; j < nbuf; j++)
- buf[j] = cs_complex_t (0.0, 0.0);
+ buf[j] = (cs_complex_t)0;
CXSPARSE_ZNAME (_pvec) (S->q, reinterpret_cast<cs_complex_t *>(Xx),
buf, nr);

View file

@ -767,13 +767,13 @@ include/octave-%%OCTAVE_VERSION%%/octave/xnorm.h
include/octave-%%OCTAVE_VERSION%%/octave/xpow.h
lib/octave/%%OCTAVE_VERSION%%/liboctave.so
lib/octave/%%OCTAVE_VERSION%%/liboctave.so.10
lib/octave/%%OCTAVE_VERSION%%/liboctave.so.10.0.0
lib/octave/%%OCTAVE_VERSION%%/liboctave.so.10.0.1
lib/octave/%%OCTAVE_VERSION%%/liboctgui.so
lib/octave/%%OCTAVE_VERSION%%/liboctgui.so.9
lib/octave/%%OCTAVE_VERSION%%/liboctgui.so.9.0.0
lib/octave/%%OCTAVE_VERSION%%/liboctgui.so.9.0.1
lib/octave/%%OCTAVE_VERSION%%/liboctinterp.so
lib/octave/%%OCTAVE_VERSION%%/liboctinterp.so.11
lib/octave/%%OCTAVE_VERSION%%/liboctinterp.so.11.0.0
lib/octave/%%OCTAVE_VERSION%%/liboctinterp.so.11.0.1
lib/octave/%%OCTAVE_VERSION%%/oct/%%GNU_HOST%%/PKG_ADD
lib/octave/%%OCTAVE_VERSION%%/oct/%%GNU_HOST%%/__delaunayn__.oct
lib/octave/%%OCTAVE_VERSION%%/oct/%%GNU_HOST%%/__fltk_uigetfile__.oct