Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147049615
D1857.id3796.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D1857.id3796.diff
View Options
Index: www/chromium/Makefile
===================================================================
--- www/chromium/Makefile
+++ www/chromium/Makefile
@@ -3,6 +3,7 @@
PORTNAME= chromium
PORTVERSION= 40.0.2214.111
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://commondatastorage.googleapis.com/chromium-browser-official/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
Index: www/chromium/files/patch-v8__src__base__platform__platform-posix.cc
===================================================================
--- www/chromium/files/patch-v8__src__base__platform__platform-posix.cc
+++ www/chromium/files/patch-v8__src__base__platform__platform-posix.cc
@@ -1,17 +1,37 @@
--- v8/src/base/platform/platform-posix.cc.orig 2015-01-27 03:22:59.000000000 +0100
+++ v8/src/base/platform/platform-posix.cc 2015-02-06 18:41:53.881294389 +0100
-@@ -259,6 +259,14 @@
+@@ -54,6 +54,15 @@
+ #include <sys/prctl.h> // NOLINT, for prctl
+ #endif
+
++#if V8_OS_FREEBSD && !defined(__DragonFly__)
++#include <sys/param.h> // for __FreeBSD_version
++#include <sys/thr.h> // for thr_self
++#endif
++
++#if V8_OS_NETBSD
++#include <lwp.h> // for _lwp_self
++#endif
++
+ #if !V8_OS_NACL
+ #include <sys/syscall.h>
+ #endif
+@@ -259,6 +268,18 @@ int OS::GetCurrentThreadId() {
return static_cast<int>(syscall(__NR_gettid));
#elif V8_OS_ANDROID
return static_cast<int>(gettid());
-+#elif V8_OS_FREEBSD
-+# ifdef __DragonFly__
++#elif V8_OS_DRAGONFLYBSD || defined(__DragonFly__)
+ return static_cast<int>(lwp_gettid());
-+# elif __FreeBSD_version__ < 900031
-+ return 0; /* ! */
++#elif V8_OS_FREEBSD
++# if __FreeBSD_version < 900031
++ long lwpid;
++ thr_self(&lwpid);
++ return static_cast<int>(lwpid);
+# else
+ return static_cast<int>(pthread_getthreadid_np());
+# endif
++#elif V8_OS_NETBSD
++ return static_cast<int>(_lwp_self());
#else
return static_cast<int>(pthread_self());
#endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 8, 9:58 PM (17 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29419989
Default Alt Text
D1857.id3796.diff (1 KB)
Attached To
Mode
D1857: www/chromium: fixup last commit
Attached
Detach File
Event Timeline
Log In to Comment