diff --git a/math/octave-forge-signal/Makefile b/math/octave-forge-signal/Makefile index d42df18a0c5a..beb76890e1df 100644 --- a/math/octave-forge-signal/Makefile +++ b/math/octave-forge-signal/Makefile @@ -1,31 +1,31 @@ # Created by: Stephen Montgomery-Smith PORTNAME= octave-forge-signal PORTVERSION= 1.4.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= math MAINTAINER= stephen@FreeBSD.org COMMENT= Octave-forge package ${OCTAVE_PKGNAME} LICENSE= GPLv3 LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING # OCTSRC is the name of the directory of the package. # It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}. OCTSRC= ${DISTNAME} WRKSRC= ${WRKDIR}/${OCTSRC}/src RUN_DEPENDS+= ${TARBALLS_DIR}/control.tar.gz:math/octave-forge-control .include "${.CURDIR}/../../Mk/bsd.octave.mk" post-patch: ${REINPLACE_CMD} s/-Wall// ${WRKSRC}/Makefile post-build: ${RM} ${WRKSRC}/Makefile ${WRKSRC}/configure cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC} .include diff --git a/math/octave-forge-signal/files/patch-buffer.m b/math/octave-forge-signal/files/patch-buffer.m new file mode 100644 index 000000000000..31f424f4160a --- /dev/null +++ b/math/octave-forge-signal/files/patch-buffer.m @@ -0,0 +1,11 @@ +--- ../inst/buffer.m.orig 2022-04-08 21:56:59.940849000 -0500 ++++ ../inst/buffer.m 2022-04-08 21:57:48.381303000 -0500 +@@ -120,7 +120,7 @@ + endwhile + [i, j] = ind2sub([n-p, m], l); + if (all ([i, j] == [n-p, m])) +- off --; ++ off--; + endif + y (:, end - off + 2 : end) = []; + else