OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 02-Aug-2008 11:59:11
Branch: HEAD Handle: 2008080210591100
Modified files:
openpkg-src/js js.patch
Log:
fix passing of command-line options in jslint(1) tool
Summary:
Revision Changes Path
1.25 +16 -4 openpkg-src/js/js.patch
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/js/js.patch
============================================================================
$ cvs diff -u -r1.24 -r1.25 js.patch
--- openpkg-src/js/js.patch 9 May 2008 05:02:05 -0000 1.24
+++ openpkg-src/js/js.patch 2 Aug 2008 09:59:11 -0000 1.25
@@ -1,6 +1,6 @@
Index: JavaScript-1.08/Makefile.PL
--- JavaScript-1.08/Makefile.PL.orig 2008-05-08 15:23:20 +0200
-+++ JavaScript-1.08/Makefile.PL 2008-05-09 06:58:41 +0200
++++ JavaScript-1.08/Makefile.PL 2008-08-02 11:57:11 +0200
@@ -93,7 +93,7 @@
if (exists $ENV{JS_LIB}) {
@libs = get_paths($ENV{JS_LIB});
@@ -60,7 +60,7 @@
unlink($exe);
Index: JavaScript-SpiderMonkey-0.19/Makefile.PL
--- JavaScript-SpiderMonkey-0.19/Makefile.PL.orig 2007-06-08 21:03:08
+0200
-+++ JavaScript-SpiderMonkey-0.19/Makefile.PL 2008-05-09 06:56:29 +0200
++++ JavaScript-SpiderMonkey-0.19/Makefile.PL 2008-08-02 11:57:11 +0200
@@ -31,6 +31,7 @@
);
@@ -79,7 +79,7 @@
($] >= 5.005 ? ## Add these new keywords supported since 5.005
Index: JavaScript-SpiderMonkey-0.19/SpiderMonkey.pm
--- JavaScript-SpiderMonkey-0.19/SpiderMonkey.pm.orig 2007-09-05
14:00:17 +0200
-+++ JavaScript-SpiderMonkey-0.19/SpiderMonkey.pm 2008-05-09 06:56:29
+0200
++++ JavaScript-SpiderMonkey-0.19/SpiderMonkey.pm 2008-08-02 11:57:11
+0200
@@ -75,7 +75,6 @@
use strict;
use warnings;
@@ -104,9 +104,21 @@
}
1;
+Index: js-1.6.20070208/jslint.js
+--- js-1.6.20070208/jslint.js.orig 2007-02-08 10:28:02 +0100
++++ js-1.6.20070208/jslint.js 2008-08-02 11:57:30 +0200
+@@ -2567,7 +2567,7 @@
+ var script = file.readAll();
+ file.close();
+
+-if (!jslint(script, { passfail: true })) {
++if (!jslint(script, options)) {
+ var e = jslint.errors[0];
+ print('jslint: line ' + (e.line + 1) + ' character ' + (e.character +
1) + ': ' + e.reason);
+ print((e.evidence || ''). replace(/^\s*(\S*(\s+\S+)*)\s*$/, "$1"));
Index: js-1.6.20070208/src/perlconnect/Makefile.PL.in
--- js-1.6.20070208/src/perlconnect/Makefile.PL.in.orig 2006-07-24
21:53:02 +0200
-+++ js-1.6.20070208/src/perlconnect/Makefile.PL.in 2008-05-09 06:56:29
+0200
++++ js-1.6.20070208/src/perlconnect/Makefile.PL.in 2008-08-02 11:57:11
+0200
@@ -7,5 +7,6 @@
INC => "-I..",
LIBS => "-L../../.libs -ljs @LIBS@",
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]