Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 May 2018 14:07:59 +0000 (UTC)
From:      Stephen Montgomery-Smith <stephen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r469289 - in head/math/octave-forge-signal: . files
Message-ID:  <201805071407.w47E7xuc005310@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: stephen
Date: Mon May  7 14:07:58 2018
New Revision: 469289
URL: https://svnweb.freebsd.org/changeset/ports/469289

Log:
  - Update octave-forge-signal to 1.4.0.
  - Unbreak octave-forge-signal.
  - Bump portrevision for octave-forge.
  - Note: renamed truncate to truncate2 in a patch file because of a conflict
    with sys/types.h.

Added:
  head/math/octave-forge-signal/files/
  head/math/octave-forge-signal/files/patch-medfilt1.cc   (contents, props changed)
Modified:
  head/math/octave-forge-signal/Makefile
  head/math/octave-forge-signal/distinfo

Modified: head/math/octave-forge-signal/Makefile
==============================================================================
--- head/math/octave-forge-signal/Makefile	Mon May  7 13:55:33 2018	(r469288)
+++ head/math/octave-forge-signal/Makefile	Mon May  7 14:07:58 2018	(r469289)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	octave-forge-signal
-PORTVERSION=	1.3.2
-PORTREVISION=	6
+PORTVERSION=	1.4.0
 CATEGORIES=	math
 
 MAINTAINER=	stephen@FreeBSD.org
@@ -11,8 +10,6 @@ COMMENT=	Octave-forge package ${OCTAVE_PKGNAME}
 
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKDIR}/${OCTSRC}/COPYING
-
-BROKEN=		does not build with octave 4.4.0
 
 # OCTSRC is the name of the directory of the package.
 # It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.

Modified: head/math/octave-forge-signal/distinfo
==============================================================================
--- head/math/octave-forge-signal/distinfo	Mon May  7 13:55:33 2018	(r469288)
+++ head/math/octave-forge-signal/distinfo	Mon May  7 14:07:58 2018	(r469289)
@@ -1,2 +1,3 @@
-SHA256 (octave-forge/signal-1.3.2.tar.gz) = a277f12e9f47cc66a8c56ab26284ac4839b223f32de13e35e710401fd0539b60
-SIZE (octave-forge/signal-1.3.2.tar.gz) = 190376
+TIMESTAMP = 1525701509
+SHA256 (octave-forge/signal-1.4.0.tar.gz) = 95d7053409aa2f5815bf55eb3b9a5dced2118dabe56ad1492f973108924cf5e7
+SIZE (octave-forge/signal-1.4.0.tar.gz) = 200823

Added: head/math/octave-forge-signal/files/patch-medfilt1.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/octave-forge-signal/files/patch-medfilt1.cc	Mon May  7 14:07:58 2018	(r469289)
@@ -0,0 +1,20 @@
+--- 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 ());



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805071407.w47E7xuc005310>