Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch sctk for macOS picky compiler #4912

Merged

Conversation

pguyot
Copy link
Contributor

@pguyot pguyot commented Apr 30, 2024

sctk has two minor issues that compilers on recent versions of macOS choke on.

  1. It lacks an include to unistd.h to use unlink and getpid
  2. it doesn't define the prototype for TEXT_set_lang_prof

This fix patches sctk before it is compiled.
Tested on ubuntu 20.04, ubuntu 22.04, macOS 12, macOS 13 and macOS 14 (using GitHub actions)

Signed-off-by: Paul Guyot <pguyot@kallisys.net>
@danpovey danpovey merged commit ad88b3b into kaldi-asr:master Apr 30, 2024
2 checks passed
@pguyot pguyot deleted the w18/fix-stck-includes-and-definition branch April 30, 2024 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants