maintainer-feedback requested: [Bug 267758] textproc/link-grammar: Undefined symbol call_once is undefined

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 14 Nov 2022 10:54:46 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-gnome (Nobody)
<gnome@FreeBSD.org> for maintainer-feedback:
Bug 267758: textproc/link-grammar:  Undefined symbol call_once is undefined
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267758



--- Description ---
call_once is undefined when the Link-Parser tries to exit causing it to crash. 

Example console:


link-grammar: Error: Could not open dictionary "C.UTF/4.0.dict"
link-grammar: Info: Dictionary found at ./data/en/4.0.dict
link-grammar: Info: Dictionary version 5.11.0, locale en_US.UTF-8
link-grammar: Info: Library version link-grammar-5.11.0. Enter "!help" for
help.
linkparser> hello world
ld-elf.so.1: /root/link-grammar-5.11.0/link-grammar/.libs/liblink-grammar.so.5:
Undefined symbol "call_once"


I suspect the C11 Threads Library should be linked in to provide "call_once"