svn commit: r404617 - in head/www/node: . files

Kubilay Kocak koobs at FreeBSD.org
Mon Dec 28 08:46:42 UTC 2015


Author: koobs
Date: Mon Dec 28 08:46:41 2015
New Revision: 404617
URL: https://svnweb.freebsd.org/changeset/ports/404617

Log:
  www/node: Fix build on FreeBSD 9.x
  
  Patch log-utils.h in the in-tree v8 source code, allowing it to compile
  using G++ 4.8 on FreeBSD 9.x. The code unfortunately relies on compiler
  intrinsics instead of including the necessary standard headers for
  handling C-style I/O and variadic arguments in its internal logging
  functions.
  
  This commit log and the code changes were provided by:
  
  Brendan Molloy (fmtq via IRC) - Thank you!
  
  PR:		205401
  Reported by:	JSG (via freenode IRC)
  Approved by:	blanket (portmgr)

Added:
  head/www/node/files/
  head/www/node/files/patch-deps_v8_src_log-utils.h   (contents, props changed)
Modified:
  head/www/node/Makefile

Modified: head/www/node/Makefile
==============================================================================
--- head/www/node/Makefile	Mon Dec 28 07:48:28 2015	(r404616)
+++ head/www/node/Makefile	Mon Dec 28 08:46:41 2015	(r404617)
@@ -3,6 +3,7 @@
 
 PORTNAME=	node
 PORTVERSION=	5.2.0
+PORTREVISION=	1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	www
 MASTER_SITES=	http://nodejs.org/dist/v${PORTVERSION}/

Added: head/www/node/files/patch-deps_v8_src_log-utils.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/node/files/patch-deps_v8_src_log-utils.h	Mon Dec 28 08:46:41 2015	(r404617)
@@ -0,0 +1,12 @@
+--- deps/v8/src/log-utils.h.orig	2015-12-09 04:12:52 UTC
++++ deps/v8/src/log-utils.h
+@@ -5,6 +5,9 @@
+ #ifndef V8_LOG_UTILS_H_
+ #define V8_LOG_UTILS_H_
+ 
++#include <cstdio>
++#include <cstdarg>
++
+ #include "src/allocation.h"
+ #include "src/base/platform/mutex.h"
+ #include "src/flags.h"


More information about the svn-ports-head mailing list