Date: Sun, 8 Jan 2012 17:31:36 +0800 (CST) From: Hsin-Han You <hhyou@cs.nctu.edu.tw> To: FreeBSD-gnats-submit@FreeBSD.org Cc: kuriyama@FreeBSD.org Subject: ports/163912: [PATCH] lang/phantomjs: update to 1.4.1 Message-ID: <201201080931.q089VaAT033606@alumni.cs.nctu.edu.tw> Resent-Message-ID: <201201080950.q089o2gi005340@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 163912 >Category: ports >Synopsis: [PATCH] lang/phantomjs: update to 1.4.1 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Jan 08 09:50:02 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Hsin-Han You >Release: FreeBSD 8.2-RELEASE-p3 amd64 >Organization: >Environment: System: FreeBSD alumni.cs.nctu.edu.tw 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 18:45:57 UTC 2011 >Description: - Update to 1.4.1 Added file(s): - files/patch-src-mongoose-mongoose.c Port maintainer (kuriyama@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- phantomjs-1.4.1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/lang/phantomjs/Makefile,v retrieving revision 1.1 diff -u -u -r1.1 Makefile --- Makefile 20 Apr 2011 14:00:34 -0000 1.1 +++ Makefile 8 Jan 2012 09:31:05 -0000 @@ -6,9 +6,10 @@ # PORTNAME= phantomjs -PORTVERSION= 1.0.0 +PORTVERSION= 1.4.1 CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} +DISTNAME= ${PORTNAME}-${PORTVERSION}-source MAINTAINER= kuriyama@FreeBSD.org COMMENT= Minimalistic, headless, WebKit-based, JavaScript-driven tool @@ -16,11 +17,14 @@ PROJECTHOST= phantomjs USE_QT_VER= 4 USE_GMAKE= YES +USE_DOS2UNIX= YES QT_COMPONENTS= moc qmake gui webkit rcc PLIST_FILES= bin/phantomjs +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -do-configure: - cd ${WRKSRC} && ${QMAKE} +do-build: + cd ${WRKSRC}/src/ && ${QMAKE} phantomjs.pro -o Makefile.phantomjs && ${REINPLACE_CMD} -e 's|-ldl||g' Makefile.phantomjs + cd ${WRKSRC}/src/ && ${GMAKE} -f Makefile.phantomjs all do-install: cd ${WRKSRC} && ${INSTALL_PROGRAM} bin/phantomjs ${PREFIX}/bin/ Index: distinfo =================================================================== RCS file: /home/ncvs/ports/lang/phantomjs/distinfo,v retrieving revision 1.1 diff -u -u -r1.1 distinfo --- distinfo 20 Apr 2011 14:00:34 -0000 1.1 +++ distinfo 8 Jan 2012 09:31:05 -0000 @@ -1,2 +1,2 @@ -SHA256 (phantomjs-1.0.0.tar.gz) = 5aad2478607dc5356c246c8ce8ba9fb40cb2d473665ff99380cb52a3d481a92f -SIZE (phantomjs-1.0.0.tar.gz) = 31244 +SHA256 (phantomjs-1.4.1-source.tar.gz) = 93df6e2125d560c10519a79b5502833b37a4986a2bc9fc42cc6d65e3536d20a4 +SIZE (phantomjs-1.4.1-source.tar.gz) = 497856 Index: files/patch-src-mongoose-mongoose.c =================================================================== RCS file: files/patch-src-mongoose-mongoose.c diff -N files/patch-src-mongoose-mongoose.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-src-mongoose-mongoose.c 8 Jan 2012 09:31:05 -0000 @@ -0,0 +1,13 @@ +--- src/mongoose/mongoose.c.orig 2012-01-08 11:06:17.000000000 +0800 ++++ src/mongoose/mongoose.c 2012-01-08 11:08:32.000000000 +0800 +@@ -18,6 +18,10 @@ + // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + // THE SOFTWARE. + ++#if defined(__FreeBSD__) ++#include <sys/socket.h> ++#endif ++ + #if defined(_WIN32) + #define _CRT_SECURE_NO_WARNINGS // Disable deprecation warning in VS2005 + #else --- phantomjs-1.4.1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201080931.q089VaAT033606>