mpv: update to 0.38.0. Release 0.38.0 ============== Features -------- New ~~~ - scripting: add mp.input() - player: add an option to automatically turn on deinterlacing - mac: add more Now Playing information and functionality - osxbundle: automatically include MoltenVK to enable Vulkan support - input.conf: bind Ctrl+WHEEL_UP/DOWN to video-zoom - ao_avfoundation: initial support for AVFoundation audio driver (macOS) - vo: add context menu support on win32 Changed ~~~~~~~ - osc: allow disabling special mouse wheel behavior - mac: add support for dynamic change of geometry, autofit - x11_common: allow DPI scale in unit of 0.5 and prefer the value from Xft.dpi - vo_gpu_next: save cache to separate files - mac: large amounts of refactoring, internal improvements and cleanups - builtin.conf: remove debanding from the high-quality profile Removed ~~~~~~~ - player: remove legacy, non-standard Raspberry Pi-specific support code Options and Commands -------------------- Added ~~~~~ - options: add secondary-sub-delay - options: add --osd-bar-border-size - filter_sdh: add --sub-filter-sdh-enclosures option - options: add --secondary-sub-ass-override - audio: add --volume-gain option to control volume in decibels - command: export current-gpu-context property - sub: add --sub-lavc-o option - command: add load-config-file and load-input-conf - input: add --input-preprocess-wheel option - player: add loadfile/loadlist insert-next commands - input: rework window dragging to be command controllable - options: add --deinterlace-field-parity option - vo: add video-target-params property - options: add --input-commands that runs commands at startup Changed ~~~~~~~ - player/command: add ability to scale overlay - mac: add support for window-id property and --drag-and-drop - command: support passing scale to `keypress` - mac: add support for --auto-window-resize, --input-cursor-passthrough options - win32: add support for --input-cursor-passthrough option - x11_common: support --title-bar - sub: allow setting special page numbers via --teletext_page - player: set --hidpi-window-scale to no by default - osd_libass: update the OSD bar's dent and border size - player: remove --alpha and rename --background to --background-color - options: remove --focus-on-open and add --focus-on Removed ~~~~~~~ - player: remove --term-remaining-playtime option Fixes and Minor Enhancements ---------------------------- - vaapi: add support for vaapi-win32 - ao/coreaudio_exclusive: fix segfault when changing formats - mac: fix libmpv usage without embedding - build: only directly link shaderc and spirv-cross on windows - build: enable dvbin by default again - playloop: use a 16:9 ratio with --force-window - mac: report modifier keys on precise scrolling - input: fix double click handling - input: add missing forward media key ('GO_FORWARD') - sub: don't busy loop if the player is paused for cache - playlist: correctly populate playlist-path with the --playlist option - win32: opt in to the windows segment heap - demux_lavf: remove fix_editlists hack for mp4 - wayland: fix key modifier handling again - win32: re-enable IME - wayland_common: guard against negative configure sizes - demux_lavf: detect ico as images - bash-completion: parse the mpv options lazily - f_auto_filters: use bwdif_cuda for deinterlacing with cuda hwdec - command: do a normal seek instead of a refresh seek when switching vo - ad_spdif: fix DTS 44.1khz passthrough playback - vo_dmabuf_wayland: scale smarter in hidpi situations - hwdec_drmprime: add P010 and P210 support - wayland: look for "default" cursor as well as "left_ptr" - wayland_common: properly handle high resolution scrolling - vo_vdpau: fix timing for nanoseconds - demux_mkv: add tags for A_MPEG/L1 (mp1) audio and FFV1 video - osdep: fix infinite loop when cancelling subprocess - dec_sub: expand sub packet caching - player/sub: avoid wasteful subtitle redraws - ao_pipewire: add support for SPDIF formats - wayland_common: implement multi-seat support - vo: make libmpv last in the auto-probing order for cocoa-cb only - player/loadfile: rewrite sub autoselection logic - meson: add custom target for macOS App bundling - image_writer: cleanup leftover files if image writing fails - sub: fix LRC lines with multiple timestamps - ao: don't clip floating point formats at non-unity gain - wayland: remove old sway/wlroots hack - hwdec/dmabuf_interop_gl: migrate to EXT_EGL_image_storage on desktop GL - sd_ass: don't wrongly recognize \pos as \p - ao_audiotrack: fix missing check for passthrough support - wayland_common: log if Drag-and-Drop fails - vo_gpu_next: render subtitles at video colorspace - swresample: stop using deprecated {in,out}_channel_layout options - path: don't load any files if --no-config is passed (incl. cache and state) - vo_gpu/vo_gpu_next: fix transparency with GLX - wayland_common: require WAYLAND_DISPLAY to be set for initialization - vo_drm: add support for BGR formats and YUYV - stream: enable caching for sockets, pipes and FIFOs - ao_coreaudio: stop audio unit after idle timeout - vo_gpu_next: add support for --dither-depth=auto - vo_gpu_next: don't render ASS subtitles at HDR colorspace - video/image_writer: attach MDVC metadata and CLLI metadata - win32: resolve dropped shell links (Windows shortcuts) - af_lavcac3enc: fix memory leak on 2ch audio - win32: increase hires timer resolution - input: raise maximum key down limit to 16 - input: remove max active section limit - video/egl_helpers: fix fallback logic for EGL_KHR_create_context - ao_pulse: reenable latency hacks by default - hwdec/vulkan: enable the stable AV1 extension - af_scaletempo2: fix false reporting of frame availability - win32: fix native key repeat support - ao_pipewire: fix some buffer size / timing calculations - audio: pause handling improvements for pull-based AOs - ad_spdif: specify missing media type and sample rate - mac/vulkan: add support for frame timing via presentation feedback - demux_mkv: corrected direction of ProjectionPoseRoll rotation - demux_mkv: add support for BCP 47 language tags - player: avoid busy looping during subtitle track switchesdiff -r1.166 -r1.167 pkgsrc/multimedia/mpv/Makefile
(wiz)
@@ -1,17 +1,16 @@ | @@ -1,17 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.166 2024/04/06 08:06:25 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.167 2024/05/15 20:37:20 wiz Exp $ | |
2 | 2 | |||
3 | DISTNAME= mpv-0.37.0 | 3 | DISTNAME= mpv-0.38.0 | |
4 | PKGREVISION= 3 | |||
5 | CATEGORIES= multimedia | 4 | CATEGORIES= multimedia | |
6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=mpv-player/} | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=mpv-player/} | |
7 | GITHUB_TAG= v${PKGVERSION_NOREV} | 6 | GITHUB_TAG= v${PKGVERSION_NOREV} | |
8 | 7 | |||
9 | MAINTAINER= leot@NetBSD.org | 8 | MAINTAINER= leot@NetBSD.org | |
10 | HOMEPAGE= https://mpv.io/ | 9 | HOMEPAGE= https://mpv.io/ | |
11 | COMMENT= Video player based on MPlayer and mplayer2 | 10 | COMMENT= Video player based on MPlayer and mplayer2 | |
12 | LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1 | 11 | LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1 | |
13 | 12 | |||
14 | # needs sem_timedwait(3) | 13 | # needs sem_timedwait(3) | |
15 | NOT_FOR_PLATFORM= NetBSD-[1-6].*-* | 14 | NOT_FOR_PLATFORM= NetBSD-[1-6].*-* | |
16 | 15 | |||
17 | # Requires support for c11 atomics. | 16 | # Requires support for c11 atomics. | |
@@ -73,20 +72,21 @@ post-install: | @@ -73,20 +72,21 @@ post-install: | |||
73 | ${DESTDIR}${PREFIX}/share/examples/mpv/mpv.conf | 72 | ${DESTDIR}${PREFIX}/share/examples/mpv/mpv.conf | |
74 | 73 | |||
75 | .include "options.mk" | 74 | .include "options.mk" | |
76 | 75 | |||
77 | .include "../../devel/meson/build.mk" | 76 | .include "../../devel/meson/build.mk" | |
78 | 77 | |||
79 | .include "../../archivers/libarchive/buildlink3.mk" | 78 | .include "../../archivers/libarchive/buildlink3.mk" | |
80 | .include "../../converters/libiconv/buildlink3.mk" | 79 | .include "../../converters/libiconv/buildlink3.mk" | |
81 | .include "../../devel/zlib/buildlink3.mk" | 80 | .include "../../devel/zlib/buildlink3.mk" | |
82 | .include "../../graphics/lcms2/buildlink3.mk" | 81 | .include "../../graphics/lcms2/buildlink3.mk" | |
83 | .include "../../lang/python/tool.mk" | 82 | .include "../../lang/python/tool.mk" | |
84 | .include "../../multimedia/libass/buildlink3.mk" | 83 | .include "../../multimedia/libass/buildlink3.mk" | |
85 | .include "../../multimedia/libdvdnav/buildlink3.mk" | 84 | .include "../../multimedia/libdvdnav/buildlink3.mk" | |
85 | BUILDLINK_API_DEPENDS.libplacebo+= libplacebo>=6.338.2 | |||
86 | .include "../../multimedia/libplacebo/buildlink3.mk" | 86 | .include "../../multimedia/libplacebo/buildlink3.mk" | |
87 | .include "../../multimedia/ffmpeg6/buildlink3.mk" | 87 | .include "../../multimedia/ffmpeg6/buildlink3.mk" | |
88 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | 88 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | |
89 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | 89 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | |
90 | .include "../../mk/jpeg.buildlink3.mk" | 90 | .include "../../mk/jpeg.buildlink3.mk" | |
91 | .include "../../mk/atomic64.mk" | 91 | .include "../../mk/atomic64.mk" | |
92 | .include "../../mk/bsd.pkg.mk" | 92 | .include "../../mk/bsd.pkg.mk" |
@@ -1,22 +1,22 @@ | @@ -1,22 +1,22 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.15 2024/01/01 15:50:13 leot Exp $ | 1 | @comment $NetBSD: PLIST,v 1.16 2024/05/15 20:37:20 wiz Exp $ | |
2 | bin/mpv | 2 | bin/mpv | |
3 | include/mpv/client.h | 3 | include/mpv/client.h | |
4 | include/mpv/render.h | 4 | include/mpv/render.h | |
5 | include/mpv/render_gl.h | 5 | include/mpv/render_gl.h | |
6 | include/mpv/stream_cb.h | 6 | include/mpv/stream_cb.h | |
7 | lib/libmpv.so | 7 | lib/libmpv.so | |
8 | lib/libmpv.so.2 | 8 | lib/libmpv.so.2 | |
9 | lib/libmpv.so.2.2.0 | 9 | lib/libmpv.so.2.3.0 | |
10 | lib/pkgconfig/mpv.pc | 10 | lib/pkgconfig/mpv.pc | |
11 | man/man1/mpv.1 | 11 | man/man1/mpv.1 | |
12 | share/applications/mpv.desktop | 12 | share/applications/mpv.desktop | |
13 | share/bash-completion/completions/mpv | 13 | share/bash-completion/completions/mpv | |
14 | share/doc/mpv/input.conf | 14 | share/doc/mpv/input.conf | |
15 | share/doc/mpv/mplayer-input.conf | 15 | share/doc/mpv/mplayer-input.conf | |
16 | share/doc/mpv/restore-old-bindings.conf | 16 | share/doc/mpv/restore-old-bindings.conf | |
17 | share/examples/mpv/encoding-profiles.conf | 17 | share/examples/mpv/encoding-profiles.conf | |
18 | share/examples/mpv/mpv.conf | 18 | share/examples/mpv/mpv.conf | |
19 | share/icons/hicolor/128x128/apps/mpv.png | 19 | share/icons/hicolor/128x128/apps/mpv.png | |
20 | share/icons/hicolor/16x16/apps/mpv.png | 20 | share/icons/hicolor/16x16/apps/mpv.png | |
21 | share/icons/hicolor/32x32/apps/mpv.png | 21 | share/icons/hicolor/32x32/apps/mpv.png | |
22 | share/icons/hicolor/64x64/apps/mpv.png | 22 | share/icons/hicolor/64x64/apps/mpv.png |
@@ -1,11 +1,11 @@ | @@ -1,11 +1,11 @@ | |||
1 | $NetBSD: distinfo,v 1.81 2024/01/01 15:50:13 leot Exp $ | 1 | $NetBSD: distinfo,v 1.82 2024/05/15 20:37:20 wiz Exp $ | |
2 | 2 | |||
3 | BLAKE2s (mpv-0.37.0.tar.gz) = 0406db57ea2b31c309f653af7ed61373ae2db6c63e8189a184bac159b7e52753 | 3 | BLAKE2s (mpv-0.38.0.tar.gz) = 030036c0a06177c0eb3478bee5bbd78b001889173d98f965c845777e468c4068 | |
4 | SHA512 (mpv-0.37.0.tar.gz) = a2f7fb3837312ec59c50427af7be3b2b1b6175a53ccc7463e81503284fc4047dff32cb105d665d80be77ee1ae775d4512b71584f324d6d202c9a7fc1fab53257 | 4 | SHA512 (mpv-0.38.0.tar.gz) = b5b2af59039ef4711814f94bbdfedb37f8ce914301670e42d4ed05fe1900025a3d3a2f3d5e69628a8aad115a647a27c386718959e2df1a18740468b3a84f8975 | |
5 | Size (mpv-0.37.0.tar.gz) = 3384190 bytes | 5 | Size (mpv-0.38.0.tar.gz) = 3419741 bytes | |
6 | SHA1 (patch-audio_out_ao__alsa.c) = c4661d0d22550d6e4eb2b7a42dd04dbcc58123b0 | 6 | SHA1 (patch-audio_out_ao__alsa.c) = c4661d0d22550d6e4eb2b7a42dd04dbcc58123b0 | |
7 | SHA1 (patch-etc_mpv.conf) = 9e41b2f4bf59c3bfc5ad84af05538661981ed111 | 7 | SHA1 (patch-etc_mpv.conf) = 9e41b2f4bf59c3bfc5ad84af05538661981ed111 | |
8 | SHA1 (patch-meson.build) = 2ffcbb18391372b694af44d711c16d3d44f871c8 | 8 | SHA1 (patch-meson.build) = 490a7a3b498cfc3ccd8994778f46ae72dbe70431 | |
9 | SHA1 (patch-osdep_threads-posix.h) = 67900f0f14762a7ec7e2ee5fdcf57c32cbfe6b49 | 9 | SHA1 (patch-osdep_threads-posix.h) = b7e2626ba490742858bb979ddbc5a541550ecb6b | |
10 | SHA1 (patch-stream_stream__libarchive.c) = 2025f994b7f82cc868608ab7e8df0ae89b549922 | 10 | SHA1 (patch-stream_stream__libarchive.c) = 2025f994b7f82cc868608ab7e8df0ae89b549922 | |
11 | SHA1 (patch-video_out_drm__common.c) = 70eb8884f63e9456c0ffe592289cfd81e208955b | 11 | SHA1 (patch-video_out_drm__common.c) = 70eb8884f63e9456c0ffe592289cfd81e208955b |
@@ -1,62 +1,62 @@ | @@ -1,62 +1,62 @@ | |||
1 | $NetBSD: patch-meson.build,v 1.2 2024/01/01 15:50:14 leot Exp $ | 1 | $NetBSD: patch-meson.build,v 1.3 2024/05/15 20:37:20 wiz Exp $ | |
2 | 2 | |||
3 | - Instruct about NetBSD pthread_setname_np(3). | 3 | - Instruct about NetBSD pthread_setname_np(3). | |
4 | Maybe pthread_setname_np(3) should be checked in order to distinguish | 4 | Maybe pthread_setname_np(3) should be checked in order to distinguish | |
5 | based on the argument supported instead of special-casing based on the | 5 | based on the argument supported instead of special-casing based on the | |
6 | platform... workaround that for the moment in the simplest way. | 6 | platform... workaround that for the moment in the simplest way. | |
7 | - Enable support for DRM on NetBSD. | 7 | - Enable support for DRM on NetBSD. | |
8 | - Install configuration files to examples, per pkgsrc conventions. | 8 | - Install configuration files to examples, per pkgsrc conventions. | |
9 | 9 | |||
10 | --- meson.build.orig 2023-11-21 18:47:46.000000000 +0000 | 10 | --- meson.build.orig 2024-04-17 19:18:44.000000000 +0000 | |
11 | +++ meson.build | 11 | +++ meson.build | |
12 | @@ -297,6 +297,7 @@ if cc.get_id() == 'clang' | 12 | @@ -303,6 +303,7 @@ if cc.get_id() == 'clang' | |
13 | endif | 13 | endif | |
14 | 14 | |||
15 | darwin = host_machine.system() == 'darwin' | 15 | darwin = host_machine.system() == 'darwin' | |
16 | +netbsd = host_machine.system() == 'netbsd' | 16 | +netbsd = host_machine.system() == 'netbsd' | |
17 | win32 = host_machine.system() == 'cygwin' or host_machine.system() == 'windows' | 17 | win32 = host_machine.system() == 'cygwin' or host_machine.system() == 'windows' | |
18 | posix = not win32 | 18 | posix = not win32 | |
19 | 19 | |||
20 | @@ -515,17 +516,22 @@ features += {'vt.h': cc.has_header_symbo | 20 | @@ -527,17 +528,22 @@ features += {'vt.h': cc.has_header_symbo | |
21 | 21 | |||
22 | features += {'consio.h': not features['vt.h'] and cc.has_header_symbol('sys/consio.h', 'VT_GETMODE')} | 22 | features += {'consio.h': not features['vt.h'] and cc.has_header_symbol('sys/consio.h', 'VT_GETMODE')} | |
23 | 23 | |||
24 | +features += {'wsdisplay_usl_io.h': not features['vt.h'] and not features['consio.h'] and cc.has_header_symbol('dev/wscons/wsdisplay_usl_io.h', 'VT_GETMODE')} | 24 | +features += {'wsdisplay_usl_io.h': not features['vt.h'] and not features['consio.h'] and cc.has_header_symbol('dev/wscons/wsdisplay_usl_io.h', 'VT_GETMODE')} | |
25 | + | 25 | + | |
26 | # macOS's pthread_setname_np is a special snowflake and differs from literally every other platform. | 26 | # macOS's pthread_setname_np is a special snowflake and differs from literally every other platform. | |
27 | features += {'osx-thread-name': darwin} | 27 | features += {'mac-thread-name': darwin} | |
28 | 28 | |||
29 | +# NetBSD pthread_setname_np differs from macOS and Linux | 29 | +# NetBSD pthread_setname_np differs from macOS and Linux | |
30 | +features += {'netbsd-thread-name': netbsd} | 30 | +features += {'netbsd-thread-name': netbsd} | |
31 | + | 31 | + | |
32 | features += {'glibc-thread-name': false} | 32 | features += {'glibc-thread-name': false} | |
33 | -if not features['osx-thread-name'] | 33 | -if not features['mac-thread-name'] | |
34 | +if not features['osx-thread-name'] and not features['netbsd-thread-name'] | 34 | +if not features['mac-thread-name'] and not features['netbsd-thread-name'] | |
35 | features += {'glibc-thread-name': posix and cc.has_function('pthread_setname_np', args: '-D_GNU_SOURCE', | 35 | features += {'glibc-thread-name': posix and cc.has_function('pthread_setname_np', args: '-D_GNU_SOURCE', | |
36 | dependencies: pthreads, prefix: '#include <pthread.h>')} | 36 | dependencies: pthreads, prefix: '#include <pthread.h>')} | |
37 | endif | 37 | endif | |
38 | 38 | |||
39 | features += {'bsd-thread-name': false} | 39 | features += {'bsd-thread-name': false} | |
40 | -if not features['osx-thread-name'] and not features['glibc-thread-name'] | 40 | -if not features['mac-thread-name'] and not features['glibc-thread-name'] | |
41 | +if not features['osx-thread-name'] and not features['glibc-thread-name'] and not features['netbsd-thread-name'] | 41 | +if not features['mac-thread-name'] and not features['glibc-thread-name'] and not features['netbsd-thread-name'] | |
42 | features += {'bsd-thread-name': posix and cc.has_function('pthread_set_name_np', dependencies: pthreads, | 42 | features += {'bsd-thread-name': posix and cc.has_function('pthread_set_name_np', dependencies: pthreads, | |
43 | prefix: '#include <pthread.h>\n#include <pthread_np.h>')} | 43 | prefix: '#include <pthread.h>\n#include <pthread_np.h>')} | |
44 | endif | 44 | endif | |
45 | @@ -900,7 +906,7 @@ if features['direct3d'] | 45 | @@ -922,7 +928,7 @@ if features['direct3d'] | |
46 | endif | 46 | endif | |
47 | 47 | |||
48 | drm = dependency('libdrm', version: '>= 2.4.105', required: get_option('drm')) | 48 | drm = dependency('libdrm', version: '>= 2.4.105', required: get_option('drm')) | |
49 | -features += {'drm': drm.found() and (features['vt.h'] or features['consio.h'])} | 49 | -features += {'drm': drm.found() and (features['vt.h'] or features['consio.h'])} | |
50 | +features += {'drm': drm.found() and (features['vt.h'] or features['consio.h'] or features['wsdisplay_usl_io.h'])} | 50 | +features += {'drm': drm.found() and (features['vt.h'] or features['consio.h'] or features['wsdisplay_usl_io.h'])} | |
51 | if features['drm'] | 51 | if features['drm'] | |
52 | dependencies += drm | 52 | dependencies += drm | |
53 | sources += files('video/drmprime.c', | 53 | sources += files('video/drmprime.c', | |
54 | @@ -1734,7 +1740,7 @@ if get_option('cplayer') | 54 | @@ -1758,7 +1764,7 @@ if get_option('cplayer') | |
55 | 55 | |||
56 | install_data('etc/mpv.desktop', install_dir: join_paths(datadir, 'applications')) | 56 | install_data('etc/mpv.desktop', install_dir: join_paths(datadir, 'applications')) | |
57 | install_data('etc/mpv.metainfo.xml', install_dir: join_paths(datadir, 'metainfo')) | 57 | install_data('etc/mpv.metainfo.xml', install_dir: join_paths(datadir, 'metainfo')) | |
58 | - install_data('etc/encoding-profiles.conf', install_dir: join_paths(confdir, 'mpv')) | 58 | - install_data('etc/encoding-profiles.conf', install_dir: join_paths(confdir, 'mpv')) | |
59 | + install_data('etc/encoding-profiles.conf', install_dir: join_paths(datadir, 'examples/mpv')) | 59 | + install_data('etc/encoding-profiles.conf', install_dir: join_paths(datadir, 'examples/mpv')) | |
60 | 60 | |||
61 | foreach size: ['16x16', '32x32', '64x64', '128x128'] | 61 | foreach size: ['16x16', '32x32', '64x64', '128x128'] | |
62 | icon_dir = join_paths(datadir, 'icons', 'hicolor', size, 'apps') | 62 | icon_dir = join_paths(datadir, 'icons', 'hicolor', size, 'apps') |
@@ -1,15 +1,15 @@ | @@ -1,15 +1,15 @@ | |||
1 | $NetBSD: patch-osdep_threads-posix.h,v 1.1 2024/01/01 15:50:14 leot Exp $ | 1 | $NetBSD: patch-osdep_threads-posix.h,v 1.2 2024/05/15 20:37:20 wiz Exp $ | |
2 | 2 | |||
3 | Add support for NetBSD. | 3 | Add support for NetBSD. | |
4 | 4 | |||
5 | --- osdep/threads-posix.h.orig 2023-12-31 11:13:03.078250654 +0000 | 5 | --- osdep/threads-posix.h.orig 2024-04-17 19:18:44.000000000 +0000 | |
6 | +++ osdep/threads-posix.h | 6 | +++ osdep/threads-posix.h | |
7 | @@ -232,6 +232,8 @@ static inline void mp_thread_set_name(co | 7 | @@ -237,6 +237,8 @@ static inline void mp_thread_set_name(co | |
8 | pthread_set_name_np(pthread_self(), name); | 8 | pthread_set_name_np(pthread_self(), name); | |
9 | #elif HAVE_OSX_THREAD_NAME | 9 | #elif HAVE_MAC_THREAD_NAME | |
10 | pthread_setname_np(name); | 10 | pthread_setname_np(name); | |
11 | +#elif HAVE_NETBSD_THREAD_NAME | 11 | +#elif HAVE_NETBSD_THREAD_NAME | |
12 | + pthread_setname_np(pthread_self(), "%s", name); | 12 | + pthread_setname_np(pthread_self(), "%s", name); | |
13 | #endif | 13 | #endif | |
14 | } | 14 | } | |
15 | 15 |