diff --git a/audio/praat/Makefile b/audio/praat/Makefile index 3f1ac399450e..dd349840db8d 100644 --- a/audio/praat/Makefile +++ b/audio/praat/Makefile @@ -1,44 +1,43 @@ PORTNAME= praat DISTVERSIONPREFIX= v -DISTVERSION= 6.2.01 -PORTREVISION= 1 +DISTVERSION= 6.2.03 CATEGORIES= audio science MAINTAINER= adridg@FreeBSD.org COMMENT= Phonetics by Computer LICENSE= GPLv2 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libasound.so:audio/alsa-lib # These are recommended but I can't tell the difference RUN_DEPENDS= CharisSIL>=0:x11-fonts/charis \ DoulosSIL>=0:x11-fonts/doulos USES= compiler:c++11-lang dos2unix gnome iconv pkgconfig xorg USE_GNOME= cairo gdkpixbuf2 gtk30 USE_GITHUB= yes USE_XORG= x11 DOS2UNIX_FILES= \ fon/Makefile \ melder/Makefile \ sys/Makefile \ EEG/Makefile PLIST_FILES= bin/praat share/man/man1/praat.1.gz post-patch: @${REINPLACE_CMD} -e 's|^CPPFLAGS =|CPPFLAGS +=|' \ ${WRKSRC}/*/Makefile \ ${WRKSRC}/external/*/Makefile @${CP} ${WRKSRC}/makefiles/makefile.defs.freebsd.alsa \ ${WRKSRC}/makefile.defs do-install: ${INSTALL_PROGRAM} ${WRKSRC}/praat ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${FILESDIR}/praat.1 ${STAGEDIR}${PREFIX}/share/man/man1 .include diff --git a/audio/praat/distinfo b/audio/praat/distinfo index ec4dc73a01cc..ac9796c311b8 100644 --- a/audio/praat/distinfo +++ b/audio/praat/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1637416733 -SHA256 (praat-praat-v6.2.01_GH0.tar.gz) = c029607f646642bbb945d622f9b58261ba403e72a438e7cbebc281db6171bca2 -SIZE (praat-praat-v6.2.01_GH0.tar.gz) = 33690593 +TIMESTAMP = 1638794899 +SHA256 (praat-praat-v6.2.03_GH0.tar.gz) = c15c1d1500e13cc98f757bf2de04901d41d7310e774df435d3a0c8b8b0f471c6 +SIZE (praat-praat-v6.2.03_GH0.tar.gz) = 33697983 diff --git a/audio/praat/files/patch-git-aee0e0cedad91278299550de0de109ec15a789f7 b/audio/praat/files/patch-git-aee0e0cedad91278299550de0de109ec15a789f7 new file mode 100644 index 000000000000..c69453ecf840 --- /dev/null +++ b/audio/praat/files/patch-git-aee0e0cedad91278299550de0de109ec15a789f7 @@ -0,0 +1,22 @@ +commit aee0e0cedad91278299550de0de109ec15a789f7 +Author: Adriaan de Groot +Date: Mon Dec 6 16:08:34 2021 +0100 + + Fix build with -Werror + + - Although this function isn't called, building praat with + picky flags -- such as -Werror -- fails because the function + doesn't return anything. +diff --git LPC/PowerCepstrum.cpp LPC/PowerCepstrum.cpp +index a00890c28..6358ecca3 100644 +--- LPC/PowerCepstrum.cpp ++++ LPC/PowerCepstrum.cpp +@@ -397,7 +397,7 @@ static autoMAT PowerCepstrum_getRhamonicsPower (PowerCepstrum me, double pitchFl + } + + double PowerCepstrum_nearestPeak (PowerCepstrum me, double quefrency) { +- ++ return 0.0; + } + + autoTable PowerCepstrum_to_Table_rhamonics (PowerCepstrum me, double pitchFloor, double pitchCeiling, double f0fractionalWidth) {