pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/MesaLib



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Oct 29 09:21:54 UTC 2019

Modified Files:
        pkgsrc/graphics/MesaLib: distinfo
        pkgsrc/graphics/MesaLib/patches: patch-src_util_u__thread.h

Log Message:
MesaLib: Fix build with illumos.

Oracle Solaris has pthread_setname_np. illumos does not.


To generate a diff of this commit:
cvs rdiff -u -r1.137 -r1.138 pkgsrc/graphics/MesaLib/distinfo
cvs rdiff -u -r1.2 -r1.3 \
    pkgsrc/graphics/MesaLib/patches/patch-src_util_u__thread.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/MesaLib/distinfo
diff -u pkgsrc/graphics/MesaLib/distinfo:1.137 pkgsrc/graphics/MesaLib/distinfo:1.138
--- pkgsrc/graphics/MesaLib/distinfo:1.137      Mon Oct 28 13:20:33 2019
+++ pkgsrc/graphics/MesaLib/distinfo    Tue Oct 29 09:21:54 2019
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.137 2019/10/28 13:20:33 nia Exp $
+$NetBSD: distinfo,v 1.138 2019/10/29 09:21:54 nia Exp $
 
 SHA1 (mesa-19.2.2.tar.xz) = 6ddc41e71d894dd406a3ca482f1cfda44566a5f8
 RMD160 (mesa-19.2.2.tar.xz) = 10a5761ecb3f9dc1157ad2516abb48cc91e9d4e1
@@ -41,4 +41,4 @@ SHA1 (patch-src_util_ralloc.c) = d311bfd
 SHA1 (patch-src_util_strndup.h) = 73f49694ca48ad6b9a9d8346c5b84fddec2463bd
 SHA1 (patch-src_util_u__atomic.h) = 31d4514538ef5ee53012695eb5c66134aaec981e
 SHA1 (patch-src_util_u__queue.c) = ed1ea3f6fc37e9a64894a3e865c48691b6e01b2c
-SHA1 (patch-src_util_u__thread.h) = a49a0839881c30aeede118d096250820d10d8317
+SHA1 (patch-src_util_u__thread.h) = 60c14883925ac60e26efbeee5bef257d081bcc51

Index: pkgsrc/graphics/MesaLib/patches/patch-src_util_u__thread.h
diff -u pkgsrc/graphics/MesaLib/patches/patch-src_util_u__thread.h:1.2 pkgsrc/graphics/MesaLib/patches/patch-src_util_u__thread.h:1.3
--- pkgsrc/graphics/MesaLib/patches/patch-src_util_u__thread.h:1.2      Sat Oct 19 10:29:58 2019
+++ pkgsrc/graphics/MesaLib/patches/patch-src_util_u__thread.h  Tue Oct 29 09:21:54 2019
@@ -1,11 +1,22 @@
-$NetBSD: patch-src_util_u__thread.h,v 1.2 2019/10/19 10:29:58 nia Exp $
+$NetBSD: patch-src_util_u__thread.h,v 1.3 2019/10/29 09:21:54 nia Exp $
+
+Oracle Solaris has pthread_setname_np. illumos does not.
 
 Don't hard error when there's no pthread_setname_np.
 
 handle NetBSD-style pthread_setaffinity_np(3)
 
---- src/util/u_thread.h.orig   2019-10-09 16:52:00.000000000 +0000
+--- src/util/u_thread.h.orig   2019-10-24 16:13:04.000000000 +0000
 +++ src/util/u_thread.h
+@@ -69,7 +69,7 @@ static inline thrd_t u_thread_create(int
+ static inline void u_thread_setname( const char *name )
+ {
+ #if defined(HAVE_PTHREAD)
+-#if DETECT_OS_LINUX || DETECT_OS_CYGWIN || DETECT_OS_SOLARIS
++#if DETECT_OS_LINUX || DETECT_OS_CYGWIN
+    pthread_setname_np(pthread_self(), name);
+ #elif DETECT_OS_FREEBSD || DETECT_OS_OPENBSD
+    pthread_set_name_np(pthread_self(), name);
 @@ -78,7 +78,6 @@ static inline void u_thread_setname( con
  #elif DETECT_OS_APPLE
     pthread_setname_np(name);



Home | Main Index | Thread Index | Old Index