pkgsrc-wip/chromium/patches/patch-base_threading_platform__thread__posix.cc
Rui-Xiang Guo fa06d0f9e3 Update chromium to 10.0.648.205 that is based on the OpenBSD's ports with
modifying for *BSD support and additional NetBSD specific patches.
This version includes some security bug fixes.
2011-04-28 03:09:01 +00:00

13 lines
537 B
C++

$NetBSD: patch-base_threading_platform__thread__posix.cc,v 1.1 2011/04/28 03:09:02 rxg Exp $
--- base/threading/platform_thread_posix.cc.orig 2011-04-13 08:01:34.000000000 +0000
+++ base/threading/platform_thread_posix.cc
@@ -124,7 +124,7 @@ PlatformThreadId PlatformThread::Current
return mach_thread_self();
#elif defined(OS_LINUX)
return syscall(__NR_gettid);
-#elif defined(OS_FREEBSD)
+#elif defined(OS_BSD)
// TODO(BSD): find a better thread ID
return reinterpret_cast<int64>(pthread_self());
#elif defined(OS_NACL)