svn commit: r566261 - in head/math/octave-forge-ltfat: . files

Stephen Montgomery-Smith stephen at FreeBSD.org
Mon Feb 22 04:16:39 UTC 2021


Author: stephen
Date: Mon Feb 22 04:16:38 2021
New Revision: 566261
URL: https://svnweb.freebsd.org/changeset/ports/566261

Log:
  - Unbreak with patch.
  - Bump portrevision.

Added:
  head/math/octave-forge-ltfat/files/
  head/math/octave-forge-ltfat/files/patch-inst_nonstatgab_nsdgt.m   (contents, props changed)
Modified:
  head/math/octave-forge-ltfat/Makefile

Modified: head/math/octave-forge-ltfat/Makefile
==============================================================================
--- head/math/octave-forge-ltfat/Makefile	Mon Feb 22 01:24:35 2021	(r566260)
+++ head/math/octave-forge-ltfat/Makefile	Mon Feb 22 04:16:38 2021	(r566261)
@@ -3,7 +3,7 @@
 
 PORTNAME=	octave-forge-ltfat
 PORTVERSION=	2.3.1
-PORTREVISION=	9
+PORTREVISION=	10
 PORTEPOCH=	1
 CATEGORIES=	math
 
@@ -13,7 +13,6 @@ COMMENT=	Octave-forge package ${OCTAVE_PKGNAME}
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKDIR}/${OCTSRC}/COPYING
 
-BROKEN=		does not install properly with octave-6.2.0
 BROKEN_FreeBSD_12_powerpc64=	fails to compile: modules/libltfat/src/dgt_multi.c:47:31: 'cexpl' undeclared (first use in this function); did you mean 'cexpf'?
 
 LIB_DEPENDS=	libfftw3.so:math/fftw3 \

Added: head/math/octave-forge-ltfat/files/patch-inst_nonstatgab_nsdgt.m
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/octave-forge-ltfat/files/patch-inst_nonstatgab_nsdgt.m	Mon Feb 22 04:16:38 2021	(r566261)
@@ -0,0 +1,13 @@
+--- ../inst/nonstatgab/nsdgt.m.orig	2021-02-21 22:07:54.880669000 -0600
++++ ../inst/nonstatgab/nsdgt.m	2021-02-21 22:08:12.573573000 -0600
+@@ -149,8 +149,8 @@
+         col = ceil(Lg/M(ii));
+         
+         temp = zeros(col*M(ii),W,assert_classname(f,g{1}));
+-        temp([end-floor(Lg/2)+1:end,1:ceil(Lg/2)],:) = bsxfun(@ ...
+-                                                          times,f(win_range,:),g{ii}(idx));
++        temp([end-floor(Lg/2)+1:end,1:ceil(Lg/2)],:) = bsxfun(@times, ...
++                                                          f(win_range,:),g{ii}(idx));
+         
+         temp = reshape(temp,M(ii),col,W);
+         X = squeeze(fft(sum(temp,2)));


More information about the svn-ports-all mailing list