Created attachment 260904 [details] audio/espeak-ng changes with the upstream patch I'm working on porting a tool called "Piper" which needs this patch for espeak-ng as a library to build. Originally, the author created an externally bundled espeak-ng fork with this change to build with their utility. Relatively recently, someone else submitted a PR with these required changes and it got merged upstream, but there is no new release yet. https://github.com/espeak-ng/espeak-ng/pull/2127
Thank you for providing the patch. I'm currently verifying that it builds on some combinations of FreeBSD version and architectures using "poudriere testport" and will commit the update as soon as these tests have succeeded.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=e54088787fef40c1848d98a07a39ae3438d87fc4 commit e54088787fef40c1848d98a07a39ae3438d87fc4 Author: Kenneth Raplee <kenrap@kennethraplee.com> AuthorDate: 2025-06-03 06:46:34 +0000 Commit: Stefan Eßer <se@FreeBSD.org> CommitDate: 2025-06-03 06:57:49 +0000 audio/espeak-ng: import upstream patch for support of "Piper" This patch imports the upstream pull request #2127 that has been accepted on 2025-03-04. It adds the espeak_TextToPhonemesWithTerminator() function to the library, which is required by the Piper text to speech software. PR: 287241 audio/espeak-ng/Makefile | 1 + .../patch-src_include_espeak-ng_speak__lib.h (new) | 15 ++++++++++++ .../files/patch-src_libespeak-ng_speech.c (new) | 28 ++++++++++++++++++++++ 3 files changed, 44 insertions(+)