$NetBSD: patch-third-party_pjproject_patches_0000-pjlib__src__pj__os____core____unix.c.patch,v 1.1 2023/12/10 06:40:20 ryoon Exp $

--- third-party/pjproject/patches/0000-pjlib_src_pj_os__core__unix.c.patch.orig	2023-11-23 20:46:31.216683535 +0000
+++ third-party/pjproject/patches/0000-pjlib_src_pj_os__core__unix.c.patch
@@ -0,0 +1,11 @@
+--- a/pjlib/src/pj/os_core_unix.c.orig	2023-11-23 20:43:09.239183479 +0000
++++ b/pjlib/src/pj/os_core_unix.c
+@@ -639,6 +639,8 @@ static void set_thread_display_name(cons
+ #if defined(PJ_HAS_PTHREAD_SETNAME_NP) && PJ_HAS_PTHREAD_SETNAME_NP != 0
+ #   if defined(PJ_DARWINOS) && PJ_DARWINOS != 0
+     pthread_setname_np(name);
++#   elif defined(__NetBSD__)
++    pthread_setname_np(pthread_self(), name, "%s");
+ #   else
+     pthread_setname_np(pthread_self(), name);
+ #   endif
