git: 21b6aaf8ecef - main - math/octave-forge-biosig: Update to 3.0.1.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 28 Oct 2022 21:34:08 UTC
The branch main has been updated by stephen: URL: https://cgit.FreeBSD.org/ports/commit/?id=21b6aaf8ecef9dd226df833590c9b6b940206913 commit 21b6aaf8ecef9dd226df833590c9b6b940206913 Author: Stephen Montgomery-Smith <stephen@FreeBSD.org> AuthorDate: 2022-10-28 21:29:23 +0000 Commit: Stephen Montgomery-Smith <stephen@FreeBSD.org> CommitDate: 2022-10-28 21:29:23 +0000 math/octave-forge-biosig: Update to 3.0.1. --- math/octave-forge-biosig/Makefile | 2 +- math/octave-forge-biosig/distinfo | 6 +++--- math/octave-forge-biosig/files/patch-mexSSAVE.cpp | 11 +++++++++++ 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/math/octave-forge-biosig/Makefile b/math/octave-forge-biosig/Makefile index cbf43cab3791..25dce241def1 100644 --- a/math/octave-forge-biosig/Makefile +++ b/math/octave-forge-biosig/Makefile @@ -1,5 +1,5 @@ PORTNAME= octave-forge-biosig -DISTVERSION= 2.4.3 +DISTVERSION= 3.0.1 CATEGORIES= math MASTER_SITES= https://pub.ist.ac.at/~schloegl/biosig/prereleases/ DISTNAME= biosig4octave-${DISTVERSION}.src diff --git a/math/octave-forge-biosig/distinfo b/math/octave-forge-biosig/distinfo index 3a007f3e6057..48b9252ea6f3 100644 --- a/math/octave-forge-biosig/distinfo +++ b/math/octave-forge-biosig/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1666806158 -SHA256 (octave-forge/biosig4octave-2.4.3.src.tar.gz) = 4d415c6548dc600c525663f977e54d78207087406910091767903d91473b5fec -SIZE (octave-forge/biosig4octave-2.4.3.src.tar.gz) = 1551350 +TIMESTAMP = 1666992049 +SHA256 (octave-forge/biosig4octave-3.0.1.src.tar.gz) = 0ad89f03fa7e63e1ee9449322c247b03b48a951e64e8c5df13f372e1afb8c8d9 +SIZE (octave-forge/biosig4octave-3.0.1.src.tar.gz) = 1403188 diff --git a/math/octave-forge-biosig/files/patch-mexSSAVE.cpp b/math/octave-forge-biosig/files/patch-mexSSAVE.cpp new file mode 100644 index 000000000000..b7e987b7bb31 --- /dev/null +++ b/math/octave-forge-biosig/files/patch-mexSSAVE.cpp @@ -0,0 +1,11 @@ +--- mexSSAVE.cpp.orig 2022-10-28 21:23:00 UTC ++++ mexSSAVE.cpp +@@ -202,7 +202,7 @@ void mexFunction( + if ( (p = mxGetField(prhs[0], 0, "tzmin") ) != NULL ) + hdr->tzmin = (int16_t)getDouble(p, 0); + else +- hdr->tzmin = -timezone/60; ++ hdr->tzmin = -localtime(0)->tm_gmtoff/60; + if ( (p = mxGetField(prhs[0], 0, "FileName") ) != NULL ) FileName = mxArrayToString(p); + if ( (p = mxGetField(prhs[0], 0, "SampleRate") ) != NULL ) hdr->SampleRate = getDouble(p, 0); + if ( (p = mxGetField(prhs[0], 0, "NS") ) != NULL ) hdr->NS = getDouble(p, 0);