Date: Thu, 7 May 2015 11:18:26 +0800 From: Daniel Lin <linpct@gmail.com> To: Marcin Cieslak <saper@saper.info> Cc: ports@freebsd.org Subject: Re: www/iojs 2.0.0 is there Message-ID: <CANOOb2VOqxfF-nkKqLkC=eqzU6qKzE7DVSiMooLAX-YNngucGw@mail.gmail.com> In-Reply-To: <alpine.BSF.2.11.1505061238100.15202@z.fncre.vasb> References: <alpine.BSF.2.11.1505051211210.15202@z.fncre.vasb> <CANOOb2WvcdPA_HfFhVvOKZt1QSn=UmLsED5NxDHrCL5Vr%2BjNaA@mail.gmail.com> <alpine.BSF.2.11.1505061238100.15202@z.fncre.vasb>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Marcin, Thanks a lot! I'll use the patch and please wait for www/iojs update. I just send-pr yesterday and there is also something wrong, need more test. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199985 2015-05-06 20:41 GMT+08:00 Marcin Cieslak <saper@saper.info>: > On Wed, 6 May 2015, Daniel Lin wrote: > > > Hello, Marcin, > > > > Thanks, but I think iojs updates very often, it would keep many > version > > on ports. > > You are right. But only 1.0.4, 1.8.1 and now 2.0.0 have distinct binary > module APIs, so extensions compiled for them stay the same. > > I currently build binaries of node-sass (http://github.com/sass/node-sass) > for node 0.10 (API 13), node 0.12 (API 14), iojs 1.0.4 (API 42), io.js > 1.8.1 > (API 43) and io.js 2.0 (API 44). I put my custom ports on GitHub > at http://github.com/saper/ports-exp > > Here's the patch for io.js 2.0.0, we need a little fix for > http://code.google.com/p/v8/issues/detail?id=4079 > > > diff -ruN /usr/ports/www/iojs/Makefile www/iojs44/Makefile > --- /usr/ports/www/iojs/Makefile 2015-04-27 14:58:07.000000000 +0000 > +++ www/iojs44/Makefile 2015-05-06 09:09:32.000000000 +0000 > @@ -2,7 +2,7 @@ > # $FreeBSD: head/www/iojs/Makefile 384845 2015-04-27 14:58:07Z sunpoet $ > > PORTNAME= iojs > -PORTVERSION= 1.8.1 > +PORTVERSION= 2.0.0 > CATEGORIES= www > > MAINTAINER= linpct@gmail.com > @@ -40,7 +40,10 @@ > ${WRKSRC}/deps/v8/tools/gyp/v8.gyp > @${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|' \ > ${WRKSRC}/configure > + @${REINPLACE_CMD} -e "s|python -c|${PYTHON_CMD} -c|" \ > + ${WRKSRC}/deps/v8/build/toolchain.gypi > @${REINPLACE_CMD} -e "s|'python',|'${PYTHON_CMD}',|" \ > + ${WRKSRC}/tools/icu/icu-generic.gyp \ > ${WRKSRC}/deps/v8/build/shim_headers.gypi \ > ${WRKSRC}/deps/v8/tools/gyp/v8.gyp \ > ${WRKSRC}/deps/v8/src/d8.gyp > diff -ruN /usr/ports/www/iojs/distinfo www/iojs44/distinfo > --- /usr/ports/www/iojs/distinfo 2015-04-27 14:58:07.000000000 +0000 > +++ www/iojs44/distinfo 2015-05-05 12:07:25.000000000 +0000 > @@ -1,2 +1,2 @@ > -SHA256 (iojs-io.js-1.8.1-v1.8.1_GH0.tar.gz) = > 90e7e4d801e433a405b61e0a62c9dd516804dd884895602ee22bcb590eca5f13 > -SIZE (iojs-io.js-1.8.1-v1.8.1_GH0.tar.gz) = 31172196 > +SHA256 (iojs-io.js-2.0.0-v2.0.0_GH0.tar.gz) = > 23ee904d5ea6e7f29ae8c146618e4a61dae274e4237e897075f30a28a243804d > +SIZE (iojs-io.js-2.0.0-v2.0.0_GH0.tar.gz) = 31378750 > diff -ruN > /usr/ports/www/iojs/files/patch-deps_v8_src_compiler_graph_visualizer.h > www/iojs44/files/patch-deps_v8_src_compiler_graph_visualizer.h > --- > /usr/ports/www/iojs/files/patch-deps_v8_src_compiler_graph_visualizer.h > 1970-01-01 00:00:00.000000000 +0000 > +++ www/iojs44/files/patch-deps_v8_src_compiler_graph_visualizer.h > 2015-05-06 07:50:31.000000000 +0000 > @@ -0,0 +1,10 @@ > +--- deps/v8/src/compiler/graph-visualizer.h.orig 2015-05-06 > 07:49:33.000000000 +0000 > ++++ deps/v8/src/compiler/graph-visualizer.h 2015-05-06 > 07:49:44.000000000 +0000 > +@@ -5,6 +5,7 @@ > + #ifndef V8_COMPILER_GRAPH_VISUALIZER_H_ > + #define V8_COMPILER_GRAPH_VISUALIZER_H_ > + > ++#include <stdio.h> > + #include <iosfwd> > + > + namespace v8 { > > > -- Daniel Lin (pct)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANOOb2VOqxfF-nkKqLkC=eqzU6qKzE7DVSiMooLAX-YNngucGw>