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: 18-Oct-2008 20:26:47 Branch: HEAD Handle: 2008101819264601 Modified files: openpkg-src/js js.patch js.spec Log: modifying package: js-1.6.20070208 20081002 -> 20081018 Summary: Revision Changes Path 1.31 +27 -24 openpkg-src/js/js.patch 1.88 +2 -2 openpkg-src/js/js.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/js/js.patch ============================================================================ $ cvs diff -u -r1.30 -r1.31 js.patch --- openpkg-src/js/js.patch 8 Sep 2008 18:03:47 -0000 1.30 +++ openpkg-src/js/js.patch 18 Oct 2008 18:26:46 -0000 1.31 @@ -1,6 +1,6 @@ Index: JavaScript-1.11/Makefile.PL ---- JavaScript-1.11/Makefile.PL.orig 2008-05-08 15:23:20 +0200 -+++ JavaScript-1.11/Makefile.PL 2008-08-02 11:57:11 +0200 +--- JavaScript-1.11/Makefile.PL.orig 2008-08-11 20:46:58 +0200 ++++ JavaScript-1.11/Makefile.PL 2008-10-18 20:18:19 +0200 @@ -93,7 +93,7 @@ if (exists $ENV{JS_LIB}) { @libs = get_paths($ENV{JS_LIB}); @@ -19,7 +19,7 @@ push @defines, "JS_THREADSAFE" if $enable_threadsafe eq "y"; } -@@ -117,7 +117,7 @@ +@@ -125,7 +125,7 @@ push @defines, "JS_C_STRINGS_ARE_UTF8" if $ENV{JS_UTF8}; } else { @@ -28,7 +28,7 @@ push @defines, "JS_C_STRINGS_ARE_UTF8" if $enable_utf8 eq "y"; } -@@ -129,7 +129,7 @@ +@@ -137,7 +137,7 @@ } } else { @@ -37,7 +37,7 @@ if ($enable_e4x eq "y") { push @extra_headers, "jsxml"; push @defines, "JS_ENABLE_E4X"; -@@ -167,7 +167,7 @@ +@@ -175,7 +175,7 @@ close $test_script; my $exe = tmpnam();; @@ -46,7 +46,7 @@ qx($cc); if ($?) { print "Failed compiling test_js.c. ABORTING\n"; -@@ -178,11 +178,6 @@ +@@ -186,11 +186,6 @@ # Get js version and require 1.7 or later my ($engine, $version, $date) = split/\s+/, qx($exe); my ($v2) = $version =~ /^(\d+\.\d+)/; @@ -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-08-02 11:57:11 +0200 ++++ JavaScript-SpiderMonkey-0.19/Makefile.PL 2008-10-18 20:18:19 +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-08-02 11:57:11 +0200 ++++ JavaScript-SpiderMonkey-0.19/SpiderMonkey.pm 2008-10-18 20:18:19 +0200 @@ -75,7 +75,6 @@ use strict; use warnings; @@ -106,7 +106,7 @@ 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 ++++ js-1.6.20070208/jslint.js 2008-10-18 20:18:19 +0200 @@ -2567,7 +2567,7 @@ var script = file.readAll(); file.close(); @@ -118,7 +118,7 @@ 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-08-02 11:57:11 +0200 ++++ js-1.6.20070208/src/perlconnect/Makefile.PL.in 2008-10-18 20:18:19 +0200 @@ -7,5 +7,6 @@ INC => "-I..", LIBS => "-L../../.libs -ljs @LIBS@", @@ -126,21 +126,24 @@ + INSTALLDIRS => 'vendor', ); -Index: jsapigen-0.2.0/src/parser.y ---- jsapigen-0.2.0/src/parser.y.orig 2008-08-22 14:16:28 +0200 -+++ jsapigen-0.2.0/src/parser.y 2008-08-25 11:01:55 +0200 -@@ -141,12 +141,12 @@ - ; +Index: jsapigen-0.2.1/src/parser.y +--- jsapigen-0.2.1/src/parser.y.orig 2008-10-18 16:32:28 +0200 ++++ jsapigen-0.2.1/src/parser.y 2008-10-18 20:19:28 +0200 +@@ -140,7 +140,7 @@ prologue -- : TOK_PROLOGUE {char *str = strndup($1+2, strlen($1)-4); -+ : TOK_PROLOGUE {char *str = strdup($1+2); str[strlen($1)-4] = '\0'; - $$ = node_create_data_leaf(NODE_PROLOGUE, str);} - ; + : {$$ = NULL;} +- | TOK_PROLOGUE {char *str = strndup($1+2, strlen($1)-4); ++ | TOK_PROLOGUE {char *str = strdup($1+2); str[strlen($1)-4] = '\0'; + if (!str) { + perror("strdup"); YYABORT; + } +@@ -152,7 +152,7 @@ epilogue -- : TOK_EPILOGUE {char *str = strndup($1+2, strlen($1)-4); -+ : TOK_EPILOGUE {char *str = strdup($1+2); str[strlen($1)-4] = '\0'; - $$ = node_create_data_leaf(NODE_EPILOGUE, str);} - ; - + : {$$ = NULL;} +- | TOK_EPILOGUE {char *str = strndup($1+2, strlen($1)-4); ++ | TOK_EPILOGUE {char *str = strdup($1+2); str[strlen($1)-4] = '\0'; + if (!str) { + perror("strdup"); YYABORT; + } @@ . patch -p0 <<'@@ .' Index: openpkg-src/js/js.spec ============================================================================ $ cvs diff -u -r1.87 -r1.88 js.spec --- openpkg-src/js/js.spec 2 Oct 2008 17:07:22 -0000 1.87 +++ openpkg-src/js/js.spec 18 Oct 2008 18:26:47 -0000 1.88 @@ -30,7 +30,7 @@ %define V_javascript_jslint 0.06 %define V_javascript_engine 0.029 %define V_jsmin 20080803 -%define V_jsapigen 0.2.0 +%define V_jsapigen 0.2.1 # package information Name: js @@ -43,7 +43,7 @@ Group: Language License: MPL/GPL/LGPL Version: %{V_js} -Release: 20081002 +Release: 20081018 # package options %option with_file yes @@ . ______________________________________________________________________ OpenPKG http://openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org