Bug 242564

Summary: multimedia/mpv: Enable thread-naming
Product: Ports & Packages Reporter: Mikhail Teterin <mi>
Component: Individual Port(s)Assignee: Carlos J. Puga Medina <cpm>
Status: New ---    
Severity: Affects Only Me CC: jbeich
Priority: --- Keywords: patch-ready
Version: LatestFlags: bugzilla: maintainer-feedback? (cpm)
Hardware: Any   
OS: Any   
See Also: https://github.com/mpv-player/mpv/pull/7650
Description Flags
Enable thread-naming none

Description Mikhail Teterin freebsd_committer 2019-12-11 02:56:54 UTC
Created attachment 209849 [details]
Enable thread-naming

The authors' checks for BSD's pthread_set_name_np() fails, because the forget to include <pthread_np.h>.

The attached file can be dropped into the files/ subdirectory to fixe this trivial problem, enabling the functionality.
Comment 1 Jan Beich freebsd_committer 2019-12-20 21:34:55 UTC
Can you submit upstream? I've tried to fix it in https://github.com/mpv-player/mpv/pull/6976 but have made a mistake batching other changes.