pkgsrc/security/tor-browser/patches/patch-js_src_threading_posix_Thread.cpp
wiz 7474c8534e tor-browser: update to 8.5.
This is based on a git checkout from a couple days ago; not completely
sure about the version number.

The Makefile now contains a short how-to for updating this package.

Many thanks for the www/firefox60 patches!

Use at your own risk!
Survives basic browsing and check.torproject.org claims it connects via tor.

Changes: too many to document.
2019-02-25 15:32:23 +00:00

15 lines
479 B
C++

$NetBSD: patch-js_src_threading_posix_Thread.cpp,v 1.1 2019/02/25 15:32:24 wiz Exp $
Support SunOS.
--- js/src/threading/posix/Thread.cpp.orig 2018-06-05 19:47:32.000000000 +0000
+++ js/src/threading/posix/Thread.cpp
@@ -194,6 +194,8 @@ js::ThisThread::SetName(const char* name
rv = 0;
#elif defined(__NetBSD__)
rv = pthread_setname_np(pthread_self(), "%s", (void*)name);
+#elif defined(__sun)
+ rv = 0;
#else
rv = pthread_setname_np(pthread_self(), name);
#endif