freebsd-ports/www/node-devel/files/patch-deps_v8_src_platform-posix.cc
Sunpoet Po-Chuan Hsieh 06e009b18e - Use DISTVERSIONPREFIX instead of DISTNAME
- Do not touch PREFIX/lib/node_modules and leave it for www/npm
- Strip binary executable
- Use pkg-message instead of ECHO_MSG in post-install:
- Use @(owner,group,mode) syntax instead of CHMOD
- Regenerate patch file with makepatch:
- Bump PORTREVISION for package change

Submitted by:	sunpoet (myself)
Approved by:	Jin-Sih Lin <linpct@gmail.com> (maintainer)
2015-06-01 20:13:36 +00:00

11 lines
371 B
C++

--- deps/v8/src/base/platform/platform-posix.cc.orig 2015-01-30 06:13:10 UTC
+++ deps/v8/src/base/platform/platform-posix.cc
@@ -328,7 +328,7 @@ int OS::GetCurrentThreadId() {
#elif V8_OS_ANDROID
return static_cast<int>(gettid());
#else
- return static_cast<int>(pthread_self());
+ return static_cast<int>(reinterpret_cast<intptr_t>(pthread_self()));
#endif
}