[76718] trunk/dports/devel/nodejs

ryandesign at macports.org ryandesign at macports.org
Sun Mar 6 12:52:07 PST 2011


Revision: 76718
          http://trac.macports.org/changeset/76718
Author:   ryandesign at macports.org
Date:     2011-03-06 12:52:07 -0800 (Sun, 06 Mar 2011)
Log Message:
-----------
nodejs: fix build failure when tidy's platform.h is around; see #28561

Modified Paths:
--------------
    trunk/dports/devel/nodejs/Portfile

Added Paths:
-----------
    trunk/dports/devel/nodejs/files/
    trunk/dports/devel/nodejs/files/patch-platform.diff

Modified: trunk/dports/devel/nodejs/Portfile
===================================================================
--- trunk/dports/devel/nodejs/Portfile	2011-03-06 20:48:49 UTC (rev 76717)
+++ trunk/dports/devel/nodejs/Portfile	2011-03-06 20:52:07 UTC (rev 76718)
@@ -24,6 +24,8 @@
 
 distname                node-v${version}
 
+patchfiles              patch-platform.diff
+
 configure.args          --without-ssl
 
 variant ssl description {Add secure socket layer support} {

Added: trunk/dports/devel/nodejs/files/patch-platform.diff
===================================================================
--- trunk/dports/devel/nodejs/files/patch-platform.diff	                        (rev 0)
+++ trunk/dports/devel/nodejs/files/patch-platform.diff	2011-03-06 20:52:07 UTC (rev 76718)
@@ -0,0 +1,22 @@
+--- src/node.cc.orig	2011-03-03 00:10:26.000000000 -0600
++++ src/node.cc	2011-03-06 12:51:40.000000000 -0600
+@@ -28,7 +28,7 @@
+ # include <grp.h> /* getgrnam() */
+ #endif
+ 
+-#include <platform.h>
++#include "platform.h"
+ #include <node_buffer.h>
+ #include <node_io_watcher.h>
+ #include <node_net.h>
+--- src/node_os.cc.orig	2011-03-03 00:10:26.000000000 -0600
++++ src/node_os.cc	2011-03-06 12:51:21.000000000 -0600
+@@ -1,7 +1,7 @@
+ 
+ #include <node.h>
+ #include <node_os.h>
+-#include <platform.h>
++#include "platform.h"
+ 
+ #include <v8.h>
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110306/caee28fc/attachment.html>


More information about the macports-changes mailing list