1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- Update to 1.4.1.

- Unbreak.
This commit is contained in:
Stephen Montgomery-Smith 2019-04-05 20:37:48 +00:00
parent 88206b7b04
commit 1ce1d61a16
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=497987
3 changed files with 4 additions and 27 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= octave-forge-signal
PORTVERSION= 1.4.0
PORTREVISION= 4
PORTVERSION= 1.4.1
CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org
@ -12,8 +11,6 @@ COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
LICENSE= GPLv3
LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
BROKEN= does not build with octave>=5.1.0
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${DISTNAME}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1525701509
SHA256 (octave-forge/signal-1.4.0.tar.gz) = 95d7053409aa2f5815bf55eb3b9a5dced2118dabe56ad1492f973108924cf5e7
SIZE (octave-forge/signal-1.4.0.tar.gz) = 200823
TIMESTAMP = 1554496394
SHA256 (octave-forge/signal-1.4.1.tar.gz) = d978600f8b8f61339b986136c9862cad3e8f7015f84132f214bf63e9e281aeaa
SIZE (octave-forge/signal-1.4.1.tar.gz) = 202183

View File

@ -1,20 +0,0 @@
--- medfilt1.cc.orig 2018-05-07 14:01:24 UTC
+++ medfilt1.cc
@@ -37,7 +37,7 @@ Created: 2015-12-13
#include "ov.h"
enum nan_handling { include_nan, omit_nan };
-enum pad_type { zero_pad, truncate };
+enum pad_type { zero_pad, truncate2 };
// Keep a sorted sliding window of values.
// There is no error checking, to keep things fast.
@@ -323,7 +323,7 @@ to bring them up to size @var{n}.\n\
if (! strcasecmp (s.c_str (), "omitnan"))
nan_flag = omit_nan;
else if (! strcasecmp (s.c_str (), "truncate"))
- padding = truncate;
+ padding = truncate2;
else if (strcasecmp (s.c_str (), "includenan")
&& strcasecmp (s.c_str (), "zeropad")) // the defaults
error ("medfilt1: Invalid NAN_FLAG or PADDING value '%s'", s.c_str ());