Update audio/praat to latest upstream release

The release notes are, as always, at
	https://www.fon.hum.uva.nl/praat/manual/What_s_new_.html
with mostly the following:
 - macOS updates
 - extremum with cubic interpolation was incorrectly calculated

I have added a patch from GH pull request #1376 that fixes the CLI mode.
This commit is contained in:
Adriaan de Groot 2020-09-26 11:40:25 +00:00
parent bdfbdafad2
commit 9e8462e2cd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=550170
3 changed files with 25 additions and 4 deletions

View file

@ -2,7 +2,7 @@
PORTNAME= praat
DISTVERSIONPREFIX= v
DISTVERSION= 6.1.16
DISTVERSION= 6.1.22
CATEGORIES= audio science
MAINTAINER= adridg@FreeBSD.org

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1591555611
SHA256 (praat-praat-v6.1.16_GH0.tar.gz) = 84b4aa52ece20f7318aa9b5aa03718d074c492cf1998df65e7d128444a0d45d1
SIZE (praat-praat-v6.1.16_GH0.tar.gz) = 31059591
TIMESTAMP = 1601119435
SHA256 (praat-praat-v6.1.22_GH0.tar.gz) = 046917fd84c8acb0c4d35cac4157d9a6d0b3fad112f1b08b14d57185cd0f88cd
SIZE (praat-praat-v6.1.22_GH0.tar.gz) = 31411295

View file

@ -0,0 +1,21 @@
From dcaf03d1f0d6d12689f604347d169bfc732af69a Mon Sep 17 00:00:00 2001
From: David Lukes <dafydd.lukes@gmail.com>
Date: Thu, 27 Aug 2020 12:57:27 +0200
Subject: [PATCH] Fix #199
---
sys/praat.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/praat.cpp b/sys/praat.cpp
index 4c359e012..4f57f16b4 100644
--- sys/praat.cpp
+++ sys/praat.cpp
@@ -1078,6 +1078,7 @@ void praat_init (conststring32 title, int argc, char **argv)
while (praatP.argumentNumber < argc && argv [praatP.argumentNumber] [0] == '-') {
if (strequ (argv [praatP.argumentNumber], "-")) {
praatP.hasCommandLineInput = true;
+ praatP.argumentNumber += 1;
} else if (strequ (argv [praatP.argumentNumber], "--open")) {
foundTheOpenOption = true;
praatP.argumentNumber += 1;