head 1.34; access; symbols OPENPKG_E1_MP_HEAD:1.11 OPENPKG_E1_MP:1.11 OPENPKG_E1_MP_2_STABLE:1.11.2.2 OPENPKG_E1_FP:1.11.2.2 OPENPKG_2_STABLE_MP:1.13 OPENPKG_2_STABLE_20061018:1.11.2.2 OPENPKG_2_STABLE:1.11.0.2 OPENPKG_CW_FP:1.1; locks; strict; comment @# @; 1.34 date 2009.12.02.18.22.34; author rse; state Exp; branches; next 1.33; commitid b0EmNCsZn9oLrPdu; 1.33 date 2009.04.05.13.07.47; author rse; state Exp; branches; next 1.32; commitid 4QPeE9pwFWu4sPIt; 1.32 date 2009.03.27.10.35.09; author rse; state Exp; branches; next 1.31; commitid LjbAUyy0yFnDTEHt; 1.31 date 2008.10.18.18.26.46; author rse; state Exp; branches; next 1.30; commitid Ti5VNmbihKFiE8nt; 1.30 date 2008.09.08.18.03.47; author rse; state Exp; branches; next 1.29; commitid sjfWbNYBN2P7OZht; 1.29 date 2008.08.25.09.48.51; author rse; state Exp; branches; next 1.28; commitid dYVkBclyIcQew9gt; 1.28 date 2008.08.24.07.23.11; author rse; state Exp; branches; next 1.27; commitid QlpCA6p05yMfK0gt; 1.27 date 2008.08.12.15.35.24; author rse; state Exp; branches; next 1.26; commitid SEArNMGBZOG1Rvet; 1.26 date 2008.08.04.17.15.22; author rse; state Exp; branches; next 1.25; commitid 0fhs4LzJ5bHgFudt; 1.25 date 2008.08.02.09.59.11; author rse; state Exp; branches; next 1.24; commitid 0zk65vxwx0dCjcdt; 1.24 date 2008.05.09.05.02.05; author rse; state Exp; branches; next 1.23; commitid GTlSccp0zi95pf2t; 1.23 date 2008.05.08.12.02.37; author rse; state Exp; branches; next 1.22; commitid 4GnlDwIHRvglL92t; 1.22 date 2008.05.07.07.24.00; author rse; state Exp; branches; next 1.21; commitid flyS7olAwlcLf02t; 1.21 date 2008.04.19.08.33.24; author rse; state Exp; branches; next 1.20; commitid Tx78bh2CQ62rdHZs; 1.20 date 2008.04.03.07.47.38; author rse; state Exp; branches; next 1.19; commitid j3qyMXDhKBCCtDXs; 1.19 date 2008.04.02.08.13.16; author rse; state Exp; branches; next 1.18; commitid cOB3BA4v2eLpEvXs; 1.18 date 2007.11.18.01.57.51; author cs; state Exp; branches; next 1.17; commitid NbUKwxRdRIZEWZFs; 1.17 date 2007.09.05.18.44.49; author rse; state Exp; branches; next 1.16; commitid D2wcdGlK1xcATzws; 1.16 date 2007.06.09.08.07.44; author rse; state Exp; branches; next 1.15; commitid wdcga3B1pPfpcdls; 1.15 date 2007.02.24.16.12.38; author rse; state Exp; branches; next 1.14; commitid Q7Y9dixC4jE0gL7s; 1.14 date 2007.02.22.06.25.45; author cs; state Exp; branches; next 1.13; commitid cdJRZLAJojLE4s7s; 1.13 date 2007.02.13.07.28.22; author cs; state Exp; branches; next 1.12; commitid cCsQNkDRh2q4Ii6s; 1.12 date 2007.02.12.16.20.05; author cs; state Exp; branches; next 1.11; commitid O5cQ5Aeo44TtGd6s; 1.11 date 2006.08.20.16.02.37; author rse; state Exp; branches 1.11.2.1; next 1.10; commitid x2uXg1nZ89TcfBJr; 1.10 date 2006.08.20.15.42.27; author rse; state Exp; branches; next 1.9; commitid mIbak5hm9wIj8BJr; 1.9 date 2006.07.28.14.28.43; author rse; state Exp; branches; next 1.8; commitid 5WZNxoUsqyoRsDGr; 1.8 date 2006.07.23.12.39.31; author rse; state Exp; branches; next 1.7; commitid LCFCsk8Soplm1ZFr; 1.7 date 2006.06.29.17.36.18; author rse; state Exp; branches; next 1.6; commitid rJiM7lj8usQZqVCr; 1.6 date 2006.06.14.07.17.03; author rse; state Exp; branches; next 1.5; commitid 74qKZ7HUtjDruWAr; 1.5 date 2006.06.06.13.08.14; author rse; state Exp; branches; next 1.4; commitid JSPwiDYlNWmRGWzr; 1.4 date 2006.03.06.21.51.48; author rse; state Exp; branches; next 1.3; commitid I4Ex2OMglUlQxaor; 1.3 date 2006.01.29.21.19.31; author rse; state Exp; branches; next 1.2; commitid inWAMM0ihx0wwxjr; 1.2 date 2005.10.25.06.39.40; author rse; state Exp; branches; next 1.1; 1.1 date 2004.06.27.12.01.11; author rse; state Exp; branches; next ; 1.11.2.1 date 2006.08.20.16.02.37; author rse; state dead; branches; next 1.11.2.2; commitid iZxwRSmmWscPXUQr; 1.11.2.2 date 2006.10.16.14.51.28; author rse; state Exp; branches; next 1.11.2.3; commitid iZxwRSmmWscPXUQr; 1.11.2.3 date 2007.02.21.18.19.15; author rse; state Exp; branches; next ; commitid is9oAElvmOXp3o7s; desc @@ 1.34 log @modifying package: js-1.6.20070208 20091109 -> 20091202 @ text @Index: JavaScript-1.14/Makefile.PL --- JavaScript-1.14/Makefile.PL.orig 2009-08-31 21:18:33 +0200 +++ JavaScript-1.14/Makefile.PL 2009-12-02 17:03:09 +0100 @@@@ -93,7 +93,7 @@@@ if (exists $ENV{JS_LIB}) { @@libs = get_paths($ENV{JS_LIB}); $ENV{DYLD_LIBRARY_PATH} = $ENV{LD_LIBRARY_PATH} = $ENV{JS_LIB}; - $lib = "js"; + $lib = "js -lm"; } if (exists $ENV{JS_INC}) { @@incs = get_paths($ENV{JS_INC}); @@@@ -108,7 +108,7 @@@@ push @@defines, "JS_THREADSAFE" if $ENV{JS_THREADSAFE}; } else { - my $enable_threadsafe = prompt("Is your SpiderMonkey compiled with JS_THREADSAFE (most things will fail if you answer wrong)? [y/N]"); + my $enable_threadsafe = 'n'; push @@defines, "JS_THREADSAFE" if $enable_threadsafe eq "y"; } @@@@ -125,7 +125,7 @@@@ push @@defines, "JS_C_STRINGS_ARE_UTF8" if $ENV{JS_UTF8}; } else { - my $enable_utf8 = prompt("Is your SpiderMonkey compiled with support for unicode (t/23-unicode.t will fail if you answer wrong) ? [y/N]", "N"); + my $enable_utf8 = 'n'; push @@defines, "JS_C_STRINGS_ARE_UTF8" if $enable_utf8 eq "y"; } @@@@ -137,7 +137,7 @@@@ } } else { - my $enable_e4x = prompt("Do you want support for E4X (requires SpiderMonkey > 1.5) ? [y/N]", "N"); + my $enable_e4x = 'n'; if ($enable_e4x eq "y") { push @@extra_headers, "jsxml"; push @@defines, "JS_ENABLE_E4X"; @@@@ -175,7 +175,7 @@@@ close $test_script; my $exe = tmpnam();; - my $cc = join(" ", $Config{cc}, @@ccflags, "-o", $exe, "test_js.c", "-I.", (map { "-I$_" } @@incs), $libs, "-l${lib}" ); + my $cc = join(" ", $Config{cc}, @@ccflags, (map { "-I$_" } @@incs), "-o", $exe, "test_js.c", $libs, split(/\s+/, "-l${lib}")); qx($cc); if ($?) { print "Failed compiling test_js.c. ABORTING\n\n$cc\n"; @@@@ -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+)/; - if ($v2 < 1.7) { - if (prompt("I require SpiderMonkey version 1.7 or later but found ${version}. Try anyways? [y/N]", "N") ne "y") { - exit 0; - } - } # Dispose temp stuff unlink($exe); Index: JavaScript-1.14/PJS_Context.c --- JavaScript-1.14/PJS_Context.c.orig 2009-08-24 22:59:18 +0200 +++ JavaScript-1.14/PJS_Context.c 2009-12-02 17:00:20 +0100 @@@@ -96,7 +96,9 @@@@ croak("Failed to create JSContext"); } +#ifdef JSOPTION_DONT_REPORT_UNCAUGHT JS_SetOptions(pcx->cx, JSOPTION_DONT_REPORT_UNCAUGHT); +#endif obj = JS_NewObject(pcx->cx, &global_class, NULL, NULL); if (JS_InitStandardClasses(pcx->cx, obj) == JS_FALSE) { 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 2009-12-02 17:00:20 +0100 @@@@ -31,6 +31,7 @@@@ ); my %possible_install_paths = ( + "../js/.libs" => "../js/src", "../js/src/*" => "../js/src", "/usr/lib" => "/usr/include", "/usr/local/lib" => "/usr/local/include", @@@@ -142,7 +143,6 @@@@ 'NAME' => 'JavaScript::SpiderMonkey', 'VERSION_FROM' => 'SpiderMonkey.pm', # finds $VERSION 'PREREQ_PM' => { - 'Log::Log4perl' => 0, 'Data::Dumper' => 0, }, # e.g., Module::Name => 1.1 ($] >= 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 2009-12-02 17:00:20 +0100 @@@@ -75,7 +75,6 @@@@ use strict; use warnings; use Data::Dumper; -use Log::Log4perl qw(:easy); require Exporter; require DynaLoader; @@@@ -577,14 +576,7 @@@@ ################################################## sub debug_enabled { ################################################## - my $logger = Log::Log4perl::get_logger("JavaScript::SpiderMonkey"); - if(Log::Log4perl->initialized() and $logger->is_debug()) { - # print "DEBUG IS ENABLED\n"; - return 1; - } else { - # print "DEBUG IS DISABLED\n"; - return 0; - } + return 0; } 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 2009-12-02 17:00:20 +0100 @@@@ -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 2009-12-02 17:00:20 +0100 @@@@ -7,5 +7,6 @@@@ INC => "-I..", LIBS => "-L../../.libs -ljs @@LIBS@@", VERSION_FROM => 'JS.pm', + INSTALLDIRS => 'vendor', ); @ 1.33 log @modifying package: js-1.6.20070208 20090404 -> 20090405 @ text @d1 3 a3 3 Index: JavaScript-1.12/Makefile.PL --- JavaScript-1.12/Makefile.PL.orig 2008-08-11 20:46:58 +0200 +++ JavaScript-1.12/Makefile.PL 2008-10-18 20:18:19 +0200 d44 1 a44 1 - my $cc = join(" ", $Config{cc}, $libs, @@ccflags, "-l${lib}", "-o", $exe, (map { "-I$_" } @@incs), "test_js.c"); d48 1 a48 1 print "Failed compiling test_js.c. ABORTING\n"; d61 3 a63 3 Index: JavaScript-1.12/PJS_Context.c --- JavaScript-1.12/PJS_Context.c.orig 2009-02-13 14:49:21 +0100 +++ JavaScript-1.12/PJS_Context.c 2009-04-05 10:37:07 +0200 d76 1 a76 1 +++ JavaScript-SpiderMonkey-0.19/Makefile.PL 2008-10-18 20:18:19 +0200 d95 1 a95 1 +++ JavaScript-SpiderMonkey-0.19/SpiderMonkey.pm 2008-10-18 20:18:19 +0200 d122 1 a122 1 +++ js-1.6.20070208/jslint.js 2008-10-18 20:18:19 +0200 d134 1 a134 1 +++ js-1.6.20070208/src/perlconnect/Makefile.PL.in 2008-10-18 20:18:19 +0200 @ 1.32 log @modifying package: js-1.6.20070208 20090304 -> 20090327 @ text @d1 3 a3 3 Index: JavaScript-1.11/Makefile.PL --- 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 d61 13 @ 1.31 log @modifying package: js-1.6.20070208 20081002 -> 20081018 @ text @a128 21 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 : {$$ = 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 : {$$ = 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; } @ 1.30 log @modifying package: js-1.6.20070208 20080902 -> 20080908 @ text @d2 2 a3 2 --- 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 d22 1 a22 1 @@@@ -117,7 +117,7 @@@@ d31 1 a31 1 @@@@ -129,7 +129,7 @@@@ d40 1 a40 1 @@@@ -167,7 +167,7 @@@@ d49 1 a49 1 @@@@ -178,11 +178,6 @@@@ d63 1 a63 1 +++ JavaScript-SpiderMonkey-0.19/Makefile.PL 2008-08-02 11:57:11 +0200 d82 1 a82 1 +++ JavaScript-SpiderMonkey-0.19/SpiderMonkey.pm 2008-08-02 11:57:11 +0200 d109 1 a109 1 +++ js-1.6.20070208/jslint.js 2008-08-02 11:57:30 +0200 d121 1 a121 1 +++ js-1.6.20070208/src/perlconnect/Makefile.PL.in 2008-08-02 11:57:11 +0200 d129 4 a132 5 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 @@@@ ; d135 7 a141 4 - : 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);} ; d144 6 a149 5 - : 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);} ; @ 1.29 log @optionally add jsapigen tool @ text @d129 3 a131 3 Index: jsapigen-0.1.0/src/parser.y --- jsapigen-0.1.0/src/parser.y.orig 2008-08-22 14:16:28 +0200 +++ jsapigen-0.1.0/src/parser.y 2008-08-25 11:01:55 +0200 @ 1.28 log @modifying package: js-1.6.20070208 20080823 -> 20080824 @ text @d129 18 @ 1.27 log @modifying package: js-1.6.20070208 20080804 -> 20080812 @ text @d1 3 a3 3 Index: JavaScript-1.10/Makefile.PL --- JavaScript-1.10/Makefile.PL.orig 2008-05-08 15:23:20 +0200 +++ JavaScript-1.10/Makefile.PL 2008-08-02 11:57:11 +0200 @ 1.26 log @modifying package: js-1.6.20070208 20080802 -> 20080804 @ text @d1 3 a3 3 Index: JavaScript-1.09/Makefile.PL --- JavaScript-1.09/Makefile.PL.orig 2008-05-08 15:23:20 +0200 +++ JavaScript-1.09/Makefile.PL 2008-08-02 11:57:11 +0200 @ 1.25 log @fix passing of command-line options in jslint(1) tool @ text @d1 3 a3 3 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-08-02 11:57:11 +0200 @ 1.24 log @modifying package: js-1.6.20070208 20080508 -> 20080509 @ text @d3 1 a3 1 +++ JavaScript-1.08/Makefile.PL 2008-05-09 06:58:41 +0200 d63 1 a63 1 +++ JavaScript-SpiderMonkey-0.19/Makefile.PL 2008-05-09 06:56:29 +0200 d82 1 a82 1 +++ JavaScript-SpiderMonkey-0.19/SpiderMonkey.pm 2008-05-09 06:56:29 +0200 d107 12 d121 1 a121 1 +++ js-1.6.20070208/src/perlconnect/Makefile.PL.in 2008-05-09 06:56:29 +0200 @ 1.23 log @consistently use 'vendor' instead of 'site' install directory for Perl modules @ text @d1 4 a4 5 Index: JavaScript-1.07/Makefile.PL --- JavaScript-1.07/Makefile.PL.orig 2008-04-19 18:59:06 +0200 +++ JavaScript-1.07/Makefile.PL 2008-05-07 09:08:08 +0200 @@@@ -92,7 +92,7 @@@@ # Override with $ENV{JS_LIB} and $ENV{JS_INC} d7 1 d13 1 a13 1 @@@@ -107,7 +107,7 @@@@ d22 1 a22 1 @@@@ -116,7 +116,7 @@@@ d31 1 a31 1 @@@@ -128,7 +128,7 @@@@ d40 17 a56 16 @@@@ -164,7 +164,7 @@@@ END_OF_SOURCE close $test_script; my $exe = tmpnam(); -system($Config{cc}, $libs, @@ccflags, "-l${lib}", "-o", $exe, (map { "-I$_" } @@incs), "test_js.c"); +system($Config{cc}, @@ccflags, (map { "-I$_" } @@incs), "-o", $exe, "test_js.c", $libs, split(/\s+/, "-l${lib}")); if ($?) { print "Failed compiling test_js.c. ABORTING\n"; exit 0; @@@@ -174,11 +174,6 @@@@ # Get js version and require 1.7 or later my ($engine, $version, $date) = split/\s+/, qx($exe); my ($v2) = $version =~ /^(\d+\.\d+)/; -if ($v2 < 1.7) { - if (prompt("I require SpiderMonkey version 1.7 or later but found ${version}. Try anyways? [y/N]", "N") ne "y") { - exit 0; a57 1 -} d59 2 a60 2 # Dispose temp stuff unlink($exe); d63 1 a63 1 +++ JavaScript-SpiderMonkey-0.19/Makefile.PL 2008-05-07 09:06:01 +0200 d82 1 a82 1 +++ JavaScript-SpiderMonkey-0.19/SpiderMonkey.pm 2008-05-07 09:06:01 +0200 d109 1 a109 1 +++ js-1.6.20070208/src/perlconnect/Makefile.PL.in 2008-05-08 13:58:18 +0200 @ 1.22 log @modifying package: js-1.6.20070208 20080419 -> 20080507 @ text @d107 10 @ 1.21 log @modifying package: js-1.6.20070208 20080403 -> 20080419 @ text @d1 3 a3 3 Index: JavaScript-1.06/Makefile.PL --- JavaScript-1.06/Makefile.PL.orig 2008-03-27 17:08:05 +0100 +++ JavaScript-1.06/Makefile.PL 2008-04-03 09:36:31 +0200 d48 1 a48 1 exit 1; d55 1 a55 1 - exit 1; d63 1 a63 1 +++ JavaScript-SpiderMonkey-0.19/Makefile.PL 2008-04-03 09:36:11 +0200 d82 1 a82 1 +++ JavaScript-SpiderMonkey-0.19/SpiderMonkey.pm 2008-04-03 09:36:11 +0200 @ 1.20 log @fix building Perl modules @ text @d1 3 a3 3 Index: JavaScript-1.05/Makefile.PL --- JavaScript-1.05/Makefile.PL.orig 2008-03-27 17:08:05 +0100 +++ JavaScript-1.05/Makefile.PL 2008-04-03 09:36:31 +0200 @ 1.19 log @modifying package: js-1.6.20070208 20080317 -> 20080402 @ text @d3 10 a12 1 +++ JavaScript-1.05/Makefile.PL 2008-04-02 09:43:36 +0200 d40 21 d63 1 a63 1 +++ JavaScript-SpiderMonkey-0.19/Makefile.PL 2008-04-02 09:16:35 +0200 d82 1 a82 1 +++ JavaScript-SpiderMonkey-0.19/SpiderMonkey.pm 2008-04-02 09:16:35 +0200 @ 1.18 log @modifying package: js-1.6.20070208 20071106 -> 20071118 @ text @d1 4 a4 4 Index: JavaScript-1.04/Makefile.PL --- JavaScript-1.04/Makefile.PL.orig 2007-02-21 16:57:19 +0100 +++ JavaScript-1.04/Makefile.PL 2007-02-24 17:10:08 +0100 @@@@ -94,7 +94,7 @@@@ d10 1 a10 1 push @@defines, "JS_THREADSAFE" if $enable_threadsafe eq 'y'; d13 1 a13 1 @@@@ -103,7 +103,7 @@@@ d18 2 a19 2 + my $enable_utf8 = 'n'; push @@defines, "JS_C_STRINGS_ARE_UTF8" if $enable_utf8 eq 'y'; d22 9 d32 3 a34 3 --- JavaScript-SpiderMonkey-0.19/Makefile.PL.orig 2006-07-28 11:30:08 +0200 +++ JavaScript-SpiderMonkey-0.19/Makefile.PL 2007-02-24 17:09:41 +0100 @@@@ -30,6 +30,7 @@@@ d42 1 a42 1 @@@@ -120,7 +121,6 @@@@ d51 2 a52 2 --- JavaScript-SpiderMonkey-0.19/SpiderMonkey.pm.orig 2006-07-28 11:36:39 +0200 +++ JavaScript-SpiderMonkey-0.19/SpiderMonkey.pm 2007-02-24 17:09:41 +0100 d61 1 a61 1 @@@@ -557,14 +556,7 @@@@ @ 1.17 log @modifying package: js-1.6.20070208 20070809 -> 20070905 @ text @d1 3 a3 3 Index: JavaScript-1.03/Makefile.PL --- JavaScript-1.03/Makefile.PL.orig 2007-02-21 16:57:19 +0100 +++ JavaScript-1.03/Makefile.PL 2007-02-24 17:10:08 +0100 @ 1.16 log @modifying package: js-1.6.20070208 20070603 -> 20070609 @ text @d22 3 a24 3 Index: JavaScript-SpiderMonkey-0.18/Makefile.PL --- JavaScript-SpiderMonkey-0.18/Makefile.PL.orig 2006-07-28 11:30:08 +0200 +++ JavaScript-SpiderMonkey-0.18/Makefile.PL 2007-02-24 17:09:41 +0100 d41 3 a43 3 Index: JavaScript-SpiderMonkey-0.18/SpiderMonkey.pm --- JavaScript-SpiderMonkey-0.18/SpiderMonkey.pm.orig 2006-07-28 11:36:39 +0200 +++ JavaScript-SpiderMonkey-0.18/SpiderMonkey.pm 2007-02-24 17:09:41 +0100 @ 1.15 log @repair patch @ text @d22 3 a24 3 Index: JavaScript-SpiderMonkey-0.17/Makefile.PL --- JavaScript-SpiderMonkey-0.17/Makefile.PL.orig 2006-07-28 11:30:08 +0200 +++ JavaScript-SpiderMonkey-0.17/Makefile.PL 2007-02-24 17:09:41 +0100 d41 3 a43 3 Index: JavaScript-SpiderMonkey-0.17/SpiderMonkey.pm --- JavaScript-SpiderMonkey-0.17/SpiderMonkey.pm.orig 2006-07-28 11:36:39 +0200 +++ JavaScript-SpiderMonkey-0.17/SpiderMonkey.pm 2007-02-24 17:09:41 +0100 @ 1.14 log @modifying package: js-1.6.20070208 20070213 -> 20070222 @ text @d1 21 d23 3 a25 3 --- JavaScript-SpiderMonkey-0.17/Makefile.PL.orig 2006-07-22 22:49:27 +0200 +++ JavaScript-SpiderMonkey-0.17/Makefile.PL 2006-07-22 22:51:30 +0200 @@@@ -27,6 +27,7 @@@@ d33 1 a33 1 @@@@ -108,7 +108,6 @@@@ d42 2 a43 2 --- JavaScript-SpiderMonkey-0.17/SpiderMonkey.pm.orig 2006-06-13 15:46:00 +0200 +++ JavaScript-SpiderMonkey-0.17/SpiderMonkey.pm 2006-06-29 19:20:44 +0200 d52 1 a52 1 @@@@ -555,14 +554,7 @@@@ a67 20 Index: JavaScript-1.03/Makefile.PL --- JavaScript-1.03/Makefile.PL 2007-02-21 16:57:19 +0100 +++ JavaScript-1.03/Makefile.PL 2007-02-22 07:15:52 +0100 @@@@ -94,7 +94,7 @@@@ push @@defines, "JS_THREADSAFE" if $ENV{JS_THREADSAFE}; } else { - my $enable_threadsafe = prompt("Is your SpiderMonkey compiled with JS_THREADSAFE (most things will fail if you answer wrong)? [y/N]"); + my $enable_threadsafe = 'n'; push @@defines, "JS_THREADSAFE" if $enable_threadsafe eq 'y'; } @@@@ -103,7 +103,6 @@@@ push @@defines, "JS_C_STRINGS_ARE_UTF8" if $ENV{JS_UTF8}; } else { - my $enable_utf8 = prompt("Is your SpiderMonkey compiled with support for unicode (t/23-unicode.t will fail if you answer wrong) ? [y/N]", "N"); push @@defines, "JS_C_STRINGS_ARE_UTF8" if $enable_utf8 eq 'y'; } @ 1.13 log @modifying package: js-1.6.20070208 20070212 -> 20070213 @ text @d47 5 a51 5 Index: JavaScript-1.02/Makefile.PL --- JavaScript-1.02/Makefile.PL.orig 2006-08-13 17:37:46 +0200 +++ JavaScript-1.02/Makefile.PL 2006-08-20 17:57:22 +0200 @@@@ -22,7 +22,7 @@@@ push @@defines, "JS_THREADSAFE"; d59 7 a65 13 @@@@ -82,8 +82,13 @@@@ my $libs = join(" ", map { "-L$_" } @@libs); # Check if we need to enable JS_C_STRINGS_ARE_UTF8? -my $enable_utf8 = prompt("Is your SpiderMonkey compiled with support for unicode (t/23-unicode.t will fail if you answer wrong) ? [y/N]", "N"); +if($ENV{JS_C_STRINGS_ARE_UTF8}) { +push @@defines, "JS_C_STRINGS_ARE_UTF8"; +} +else { +my $enable_utf8 = 'n'; push @@defines, "JS_C_STRINGS_ARE_UTF8" if $enable_utf8 eq 'y'; +} a66 1 WriteMakefile('NAME' => 'JavaScript', @ 1.12 log @modifying package: js-1.6.20070208 20070208 -> 20070212 @ text @d47 3 a49 3 Index: JavaScript-1.01/Makefile.PL --- JavaScript-1.01/Makefile.PL.orig 2006-08-13 17:37:46 +0200 +++ JavaScript-1.01/Makefile.PL 2006-08-20 17:57:22 +0200 @ 1.11 log @upgrade to our new upstream OSSP version and add build option for the new UTF-8 support @ text @d47 3 a49 3 Index: JavaScript-1.00_02/Makefile.PL --- JavaScript-1.00_02/Makefile.PL.orig 2006-08-13 17:37:46 +0200 +++ JavaScript-1.00_02/Makefile.PL 2006-08-20 17:57:22 +0200 @ 1.11.2.1 log @file js.patch was added on branch OPENPKG_2_STABLE on 2006-10-16 14:51:28 +0000 @ text @d1 73 @ 1.11.2.2 log @Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class) @ text @a0 73 Index: JavaScript-SpiderMonkey-0.17/Makefile.PL --- JavaScript-SpiderMonkey-0.17/Makefile.PL.orig 2006-07-22 22:49:27 +0200 +++ JavaScript-SpiderMonkey-0.17/Makefile.PL 2006-07-22 22:51:30 +0200 @@@@ -27,6 +27,7 @@@@ ); my %possible_install_paths = ( + "../js/.libs" => "../js/src", "../js/src/*" => "../js/src", "/usr/lib" => "/usr/include", "/usr/local/lib" => "/usr/local/include", @@@@ -108,7 +108,6 @@@@ 'NAME' => 'JavaScript::SpiderMonkey', 'VERSION_FROM' => 'SpiderMonkey.pm', # finds $VERSION 'PREREQ_PM' => { - 'Log::Log4perl' => 0, 'Data::Dumper' => 0, }, # e.g., Module::Name => 1.1 ($] >= 5.005 ? ## Add these new keywords supported since 5.005 Index: JavaScript-SpiderMonkey-0.17/SpiderMonkey.pm --- JavaScript-SpiderMonkey-0.17/SpiderMonkey.pm.orig 2006-06-13 15:46:00 +0200 +++ JavaScript-SpiderMonkey-0.17/SpiderMonkey.pm 2006-06-29 19:20:44 +0200 @@@@ -75,7 +75,6 @@@@ use strict; use warnings; use Data::Dumper; -use Log::Log4perl qw(:easy); require Exporter; require DynaLoader; @@@@ -555,14 +554,7 @@@@ ################################################## sub debug_enabled { ################################################## - my $logger = Log::Log4perl::get_logger("JavaScript::SpiderMonkey"); - if(Log::Log4perl->initialized() and $logger->is_debug()) { - # print "DEBUG IS ENABLED\n"; - return 1; - } else { - # print "DEBUG IS DISABLED\n"; - return 0; - } + return 0; } 1; Index: JavaScript-1.00_02/Makefile.PL --- JavaScript-1.00_02/Makefile.PL.orig 2006-08-13 17:37:46 +0200 +++ JavaScript-1.00_02/Makefile.PL 2006-08-20 17:57:22 +0200 @@@@ -22,7 +22,7 @@@@ push @@defines, "JS_THREADSAFE"; } else { - my $enable_threadsafe = prompt("Is your SpiderMonkey compiled with JS_THREADSAFE (most things will fail if you answer wrong)? [y/N]"); + my $enable_threadsafe = 'n'; push @@defines, "JS_THREADSAFE" if $enable_threadsafe eq 'y'; } @@@@ -82,8 +82,13 @@@@ my $libs = join(" ", map { "-L$_" } @@libs); # Check if we need to enable JS_C_STRINGS_ARE_UTF8? -my $enable_utf8 = prompt("Is your SpiderMonkey compiled with support for unicode (t/23-unicode.t will fail if you answer wrong) ? [y/N]", "N"); +if($ENV{JS_C_STRINGS_ARE_UTF8}) { +push @@defines, "JS_C_STRINGS_ARE_UTF8"; +} +else { +my $enable_utf8 = 'n'; push @@defines, "JS_C_STRINGS_ARE_UTF8" if $enable_utf8 eq 'y'; +} WriteMakefile('NAME' => 'JavaScript', @ 1.11.2.3 log @MFC: recent changes @ text @d47 3 a49 3 Index: JavaScript-1.02/Makefile.PL --- JavaScript-1.02/Makefile.PL.orig 2006-08-13 17:37:46 +0200 +++ JavaScript-1.02/Makefile.PL 2006-08-20 17:57:22 +0200 @ 1.10 log @upgrade to newer module @ text @d47 27 @ 1.9 log @modifying package: js-1.6.20060724 20060724 -> 20060728 @ text @a0 48 Index: JavaScript-0.55/JavaScript.xs --- JavaScript-0.55/JavaScript.xs.orig 2005-06-29 21:07:06 +0200 +++ JavaScript-0.55/JavaScript.xs 2006-06-29 19:20:44 +0200 @@@@ -6,7 +6,7 @@@@ #else #include #endif -#include +#include #define _IS_UNDEF(a) (SvANY(a) == SvANY(&PL_sv_undef)) Index: JavaScript-0.55/Makefile.PL --- JavaScript-0.55/Makefile.PL.orig 2005-06-28 23:49:03 +0200 +++ JavaScript-0.55/Makefile.PL 2006-06-29 19:20:44 +0200 @@@@ -10,30 +10,13 @@@@ $define .= " -DXP_UNIX"; } -my $inc = ''; - -if(-f "/etc/gentoo-release") { - # Gentoo puts libjs in a slightly hidden spot. - $inc = '-I/usr/lib/MozillaFirefox/include/js/ -I/usr/lib/MozillaFirefox/'; -} - -#test for debian type include files... -if (-f "/usr/include/smjs/jsapi.h" or -f "/usr/local/include/smjs/jsapi.h") { - $define .= " -DINCLUDES_IN_SMJS" -} +my $inc = '-I../js/src'; if($ENV{JS_THREADSAFE}) { $define .= " -DJS_THREADSAFE"; } -my $lib = "-ljs"; -#test for debian type libsmjs -#this could probably be done better, but I'm not sure how to -#get this platform independant -if (-f "/usr/lib/libsmjs.so" or -f "/usr/local/lib/libsmjs.so") { - $lib = "-lsmjs"; -} - +my $lib = "-L../js/src -ljs"; WriteMakefile( 'NAME' => 'JavaScript', @ 1.8 log @finally switch to OSSP js, a brand-new stand-alone distribution of the Mozilla JavaScript engine @ text @d49 3 a51 3 Index: JavaScript-SpiderMonkey-0.16/Makefile.PL --- JavaScript-SpiderMonkey-0.16/Makefile.PL.orig 2006-07-22 22:49:27 +0200 +++ JavaScript-SpiderMonkey-0.16/Makefile.PL 2006-07-22 22:51:30 +0200 d68 3 a70 3 Index: JavaScript-SpiderMonkey-0.16/SpiderMonkey.pm --- JavaScript-SpiderMonkey-0.16/SpiderMonkey.pm.orig 2006-06-13 15:46:00 +0200 +++ JavaScript-SpiderMonkey-0.16/SpiderMonkey.pm 2006-06-29 19:20:44 +0200 @ 1.7 log @upgrade to JavaScript 1.6 as contained in Mozilla Firefox 1.5.0.5 @ text @d50 10 a59 2 --- JavaScript-SpiderMonkey-0.16/Makefile.PL.orig 2006-06-13 13:59:05 +0200 +++ JavaScript-SpiderMonkey-0.16/Makefile.PL 2006-06-29 19:20:44 +0200 a94 176 Index: js/src/config.mk --- js/src/config.mk.orig 2003-11-15 01:10:55 +0100 +++ js/src/config.mk 2006-06-29 19:20:44 +0200 @@@@ -114,7 +114,7 @@@@ ifdef BUILD_OPT OPTIMIZER = -O -DEFINES += -UDEBUG -DNDEBUG -UDEBUG_$(shell whoami) +DEFINES += -UDEBUG -DNDEBUG OBJDIR_TAG = _OPT else ifdef USE_MSVC @@@@ -122,7 +122,7 @@@@ else OPTIMIZER = -g endif -DEFINES += -DDEBUG -DDEBUG_$(shell whoami) +DEFINES += -DDEBUG OBJDIR_TAG = _DBG endif Index: js/src/config/SunOS5.10_i86pc.mk --- /dev/null 2006-06-29 19:26:24 +0200 +++ js/src/config/SunOS5.10_i86pc.mk 2006-06-29 19:20:44 +0200 @@@@ -0,0 +1,16 @@@@ + +CC = gcc +LD = ld +CCC = g++ +CFLAGS += -Wall -Wno-format +MKSHLIB = $(LD) -shared $(XMKSHLIBOPTS) +RANLIB = echo +CPU_ARCH = $(shell uname -m) +GFX_ARCH = x +OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -DSOLARIS -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC +OS_LIBS = -lsocket -lnsl -ldl +LDFLAGS = +NOSUCHFILE = /solaris-rm-f-sucks +JS_EDITLINE = 1 +OS_TEST = i86pc + Index: js/src/jsapi.c --- js/src/jsapi.c.orig 2006-06-16 04:01:22 +0200 +++ js/src/jsapi.c 2006-06-29 19:20:44 +0200 @@@@ -130,7 +130,7 @@@@ static JSBool TryArgumentFormatter(JSContext *cx, const char **formatp, JSBool fromJS, - jsval **vpp, va_list *app) + jsval **vpp, va_list app) { const char *format; JSArgumentFormatMap *map; @@@@ -259,8 +259,7 @@@@ break; default: format--; - if (!TryArgumentFormatter(cx, &format, JS_TRUE, &sp, - JS_ADDRESSOF_VA_LIST(ap))) { + if (!TryArgumentFormatter(cx, &format, JS_TRUE, &sp, ap)) { return JS_FALSE; } /* NB: the formatter already updated sp, so we continue here. */ @@@@ -362,8 +361,7 @@@@ break; default: format--; - if (!TryArgumentFormatter(cx, &format, JS_FALSE, &sp, - JS_ADDRESSOF_VA_LIST(ap))) { + if (!TryArgumentFormatter(cx, &format, JS_FALSE, &sp, ap)) { goto bad; } /* NB: the formatter already updated sp, so we continue here. */ Index: js/src/jsdtoa.c --- js/src/jsdtoa.c.orig 2005-07-23 23:17:40 +0200 +++ js/src/jsdtoa.c 2006-06-29 19:20:44 +0200 @@@@ -247,7 +247,7 @@@@ #define word1(x) JSDOUBLE_LO32(x) #define set_word1(x, y) JSDOUBLE_SET_LO32(x, y) -#define Storeinc(a,b,c) (*(a)++ = (b) << 16 | (c) & 0xffff) +#define Storeinc(a,b,c) (*(a)++ = (b) << 16 | ((c) & 0xffff)) /* #define P DBL_MANT_DIG */ /* Ten_pmax = floor(P*log(2)/log(5)) */ @@@@ -1826,6 +1826,7 @@@@ } #ifdef Avoid_Underflow if (scale) { + rv0 = 0.; /* calm the compiler warning */ set_word0(rv0, Exp_1 - P*Exp_msk1); set_word1(rv0, 0); if ((word0(rv) & Exp_mask) <= P*Exp_msk1 Index: js/src/jsinterp.c --- js/src/jsinterp.c.orig 2006-06-16 03:28:02 +0200 +++ js/src/jsinterp.c 2006-06-29 19:24:50 +0200 @@@@ -1740,12 +1740,12 @@@@ void *mark; jsbytecode *endpc, *pc2; JSOp op, op2; - const JSCodeSpec *cs; + const JSCodeSpec *cs = NULL; jsatomid atomIndex; JSAtom *atom; uintN argc, slot, attrs; jsval *vp, lval, rval, ltmp, rtmp; - jsid id; + jsid id = -1L; JSObject *withobj, *origobj, *propobj; jsval iter_state; JSProperty *prop; @@@@ -1757,7 +1757,7 @@@@ JSFunction *fun; JSType type; #ifdef DEBUG - FILE *tracefp; + FILE *tracefp = NULL; #endif #if JS_HAS_EXPORT_IMPORT JSIdArray *ida; @@@@ -5526,6 +5526,7 @@@@ if (printable) js_ReportIsNotDefined(cx, printable); ok = JS_FALSE; + sp = NULL; goto out; } } Index: js/src/jsosdep.h --- js/src/jsosdep.h.orig 2005-07-08 00:35:39 +0200 +++ js/src/jsosdep.h 2006-06-29 19:20:44 +0200 @@@@ -86,7 +86,7 @@@@ #elif defined(SOLARIS) #define JS_HAVE_LONG_LONG -#elif defined(FREEBSD) +#elif defined(FREEBSD) || defined(__FreeBSD__) #define JS_HAVE_LONG_LONG #elif defined(SUNOS4) Index: js/src/jspubtd.h --- js/src/jspubtd.h.orig 2005-10-22 01:30:23 +0200 +++ js/src/jspubtd.h 2006-06-29 19:20:44 +0200 @@@@ -561,7 +561,7 @@@@ typedef JSBool (* JS_DLL_CALLBACK JSArgumentFormatter)(JSContext *cx, const char *format, JSBool fromJS, jsval **vpp, - va_list *app); + va_list app); #endif typedef JSBool Index: js/src/perlconnect/JS.xs --- js/src/perlconnect/JS.xs.orig 2005-11-25 09:16:37 +0100 +++ js/src/perlconnect/JS.xs 2006-06-29 19:20:44 +0200 @@@@ -61,7 +61,7 @@@@ #include #include "jsperlpvt.h" -#include +#include /* __REMOVE__ */ /* #include */ Index: js/src/rules.mk --- js/src/rules.mk.orig 2003-11-15 01:11:04 +0100 +++ js/src/rules.mk 2006-06-29 19:20:44 +0200 @@@@ -58,7 +58,7 @@@@ # TARGETS = $(LIBRARY) # $(PROGRAM) not supported for MSVC yet TARGETS += $(SHARED_LIBRARY) $(PROGRAM) # it is now else -TARGETS += $(LIBRARY) $(SHARED_LIBRARY) $(PROGRAM) +TARGETS += $(LIBRARY) $(PROGRAM) endif all: @ 1.6 log @modifying package: js-1.5 20060606 -> 20060614 @ text @d3 1 a3 1 +++ JavaScript-0.55/JavaScript.xs 2006-03-06 22:39:04 +0100 d15 1 a15 1 +++ JavaScript-0.55/Makefile.PL 2006-03-06 22:39:04 +0100 d50 2 a51 2 --- JavaScript-SpiderMonkey-0.16/Makefile.PL.orig 2006-02-28 18:13:08 +0100 +++ JavaScript-SpiderMonkey-0.16/Makefile.PL 2006-03-06 22:39:27 +0100 d61 2 a62 2 --- JavaScript-SpiderMonkey-0.16/SpiderMonkey.pm.orig 2006-03-06 17:48:27 +0100 +++ JavaScript-SpiderMonkey-0.16/SpiderMonkey.pm 2006-03-06 22:39:04 +0100 d87 41 d129 3 a131 3 --- js/src/jsapi.c.orig 2005-10-22 12:19:14 +0200 +++ js/src/jsapi.c 2006-03-06 22:39:04 +0100 @@@@ -125,7 +125,7 @@@@ d140 1 a140 1 @@@@ -263,8 +263,7 @@@@ d150 1 a150 1 @@@@ -366,8 +365,7 @@@@ a159 21 @@@@ -2211,7 +2209,7 @@@@ JSAtom *atom; if (attrs & JSPROP_INDEX) { - id = INT_TO_JSVAL((jsint)name); + id = INT_TO_JSVAL(name); atom = NULL; attrs &= ~JSPROP_INDEX; } else { Index: js/src/jscntxt.c --- js/src/jscntxt.c.orig 2004-08-19 19:57:36 +0200 +++ js/src/jscntxt.c 2006-03-06 22:39:04 +0100 @@@@ -334,7 +334,7 @@@@ { const JSResolvingKey *key = (const JSResolvingKey *)ptr; - return ((JSDHashNumber)key->obj >> JSVAL_TAGBITS) ^ key->id; + return ((JSDHashNumber)JS_PTR_TO_UINT32(key->obj) >> JSVAL_TAGBITS) ^ key->id; } JS_PUBLIC_API(JSBool) d161 3 a163 3 --- js/src/jsdtoa.c.orig 2004-04-04 00:11:11 +0200 +++ js/src/jsdtoa.c 2006-03-06 22:39:04 +0100 @@@@ -257,7 +257,7 @@@@ d172 1 a172 20 @@@@ -989,7 +989,8 @@@@ static double ulp(double x) { register Long L; - double a; + double a = 0.; /* only need to initialize to calm the compiler. + * set_word0 and set_word1 set a, but in two stages */ L = (word0(x) & Exp_mask) - (P-1)*Exp_msk1; #ifndef Sudden_Underflow @@@@ -1020,7 +1021,7 @@@@ { ULong *xa, *xa0, w, y, z; int32 k; - double d; + double d = 0.; #define d0 word0(d) #define d1 word1(d) #define set_d0(x) set_word0(d, x) @@@@ -1836,6 +1837,7 @@@@ d181 3 a183 3 --- js/src/jsinterp.c.orig 2004-09-24 04:16:49 +0200 +++ js/src/jsinterp.c 2006-03-06 22:39:04 +0100 @@@@ -1741,11 +1741,11 @@@@ d185 1 a185 1 jsbytecode *pc, *pc2, *endpc; d189 1 d194 1 a194 1 + jsid id = -1L; /* initialize to something awful */ d207 3 a209 3 @@@@ -1834,6 +1834,7 @@@@ !JS_CHECK_STACK_SIZE(cx, stackDummy)) { JS_ReportErrorNumber(cx, js_GetErrorMessage, NULL, JSMSG_OVER_RECURSED); d214 1 a214 9 @@@@ -1843,6 +1844,7 @@@@ newsp = js_AllocRawStack(cx, (uintN)(2 * depth), &mark); if (!newsp) { ok = JS_FALSE; + sp = NULL; goto out; } sp = newsp + depth; d216 3 a218 3 --- js/src/jsosdep.h.orig 2003-11-15 01:10:59 +0100 +++ js/src/jsosdep.h 2006-03-06 22:39:04 +0100 @@@@ -101,7 +101,7 @@@@ d228 3 a230 3 --- js/src/jspubtd.h.orig 2004-06-15 18:38:43 +0200 +++ js/src/jspubtd.h 2006-03-06 22:39:04 +0100 @@@@ -531,7 +531,7 @@@@ a238 23 Index: js/src/jstypes.h --- js/src/jstypes.h.orig 2003-11-15 01:11:04 +0100 +++ js/src/jstypes.h 2006-03-06 22:39:04 +0100 @@@@ -203,6 +203,19 @@@@ #define JS_BITMASK(n) (JS_BIT(n) - 1) /*********************************************************************** +** MACROS: JS_PTR_TO_INT32 +** JS_PTR_TO_UINT32 +** JS_INT32_TO_PTR +** JS_UINT32_TO_PTR +** DESCRIPTION: +** Integer to pointer and pointer to integer conversion macros. +***********************************************************************/ +#define JS_PTR_TO_INT32(x) ((jsint)((char *)(x) - (char *)0)) +#define JS_PTR_TO_UINT32(x) ((jsuint)((char *)(x) - (char *)0)) +#define JS_INT32_TO_PTR(x) ((void *)((char *)0 + (jsint)(x))) +#define JS_UINT32_TO_PTR(x) ((void *)((char *)0 + (jsuint)(x))) + +/*********************************************************************** ** MACROS: JS_HOWMANY ** JS_ROUNDUP ** JS_MIN d240 2 a241 2 --- js/src/perlconnect/JS.xs.orig 2005-02-12 21:10:34 +0100 +++ js/src/perlconnect/JS.xs 2006-03-06 22:39:04 +0100 d253 1 a253 1 +++ js/src/rules.mk 2006-03-06 22:39:04 +0100 a262 41 Index: js/src/config/SunOS5.10_i86pc.mk --- js/src/config/SunOS5.10_i86pc.mk.orig 2006-06-06 14:24:18.124955215 +0200 +++ js/src/config/SunOS5.10_i86pc.mk 2006-06-06 14:24:07.034374207 +0200 @@@@ -0,0 +1,16 @@@@ + +CC = gcc +LD = ld +CCC = g++ +CFLAGS += -Wall -Wno-format +MKSHLIB = $(LD) -shared $(XMKSHLIBOPTS) +RANLIB = echo +CPU_ARCH = $(shell uname -m) +GFX_ARCH = x +OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -DSOLARIS -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC +OS_LIBS = -lsocket -lnsl -ldl +LDFLAGS = +NOSUCHFILE = /solaris-rm-f-sucks +JS_EDITLINE = 1 +OS_TEST = i86pc + Index: js/src/config.mk --- js/src/config.mk.orig 2003-11-15 01:10:55.000000000 +0100 +++ js/src/config.mk 2006-06-06 14:32:09.769085477 +0200 @@@@ -114,7 +114,7 @@@@ ifdef BUILD_OPT OPTIMIZER = -O -DEFINES += -UDEBUG -DNDEBUG -UDEBUG_$(shell whoami) +DEFINES += -UDEBUG -DNDEBUG OBJDIR_TAG = _OPT else ifdef USE_MSVC @@@@ -122,7 +122,7 @@@@ else OPTIMIZER = -g endif -DEFINES += -DDEBUG -DDEBUG_$(shell whoami) +DEFINES += -DDEBUG OBJDIR_TAG = _DBG endif @ 1.5 log @port to Solaris 10/x86 and get rid of 'whoami' related warnings under Solaris @ text @d49 3 a51 3 Index: JavaScript-SpiderMonkey-0.15/Makefile.PL --- JavaScript-SpiderMonkey-0.15/Makefile.PL.orig 2006-02-28 18:13:08 +0100 +++ JavaScript-SpiderMonkey-0.15/Makefile.PL 2006-03-06 22:39:27 +0100 d60 3 a62 3 Index: JavaScript-SpiderMonkey-0.15/SpiderMonkey.pm --- JavaScript-SpiderMonkey-0.15/SpiderMonkey.pm.orig 2006-03-06 17:48:27 +0100 +++ JavaScript-SpiderMonkey-0.15/SpiderMonkey.pm 2006-03-06 22:39:04 +0100 @ 1.4 log @add two additional Perl bindings @ text @d292 41 @ 1.3 log @add a bunch of patches from the FreeBSD ports tree (fixes 64-bit architectures and warnings) @ text @d1 89 a89 3 Index: jsapi.c --- jsapi.c.orig 2005-10-22 12:19:14 +0200 +++ jsapi.c 2006-01-29 22:17:08 +0100 d128 3 a130 3 Index: jscntxt.c --- jscntxt.c.orig 2004-08-19 19:57:36 +0200 +++ jscntxt.c 2006-01-29 22:17:08 +0100 d140 3 a142 3 Index: jsdtoa.c --- jsdtoa.c.orig 2004-04-04 00:11:11 +0200 +++ jsdtoa.c 2006-01-29 22:17:08 +0100 d179 3 a181 3 Index: jsinterp.c --- jsinterp.c.orig 2004-09-24 04:16:49 +0200 +++ jsinterp.c 2006-01-29 22:17:08 +0100 d221 3 a223 3 Index: jsosdep.h --- jsosdep.h.orig 2003-11-15 01:10:59 +0100 +++ jsosdep.h 2006-01-29 22:17:08 +0100 d233 3 a235 3 Index: jspubtd.h --- jspubtd.h.orig 2004-06-15 18:38:43 +0200 +++ jspubtd.h 2006-01-29 22:17:08 +0100 d245 3 a247 3 Index: jstypes.h --- jstypes.h.orig 2003-11-15 01:11:04 +0100 +++ jstypes.h 2006-01-29 22:17:08 +0100 d268 15 a282 3 Index: rules.mk --- rules.mk.orig 2003-11-15 01:11:04 +0100 +++ rules.mk 2006-01-29 22:17:08 +0100 @ 1.2 log @upgrading package: js 1.5rc6a -> 1.5 @ text @d1 181 d184 1 a184 1 +++ rules.mk 2004-06-27 13:54:04 +0200 @ 1.1 log @add optional Perl binding (allowing to execute JS code from within Perl) and refactor substs into a separate patch file @ text @a0 12 Index: perlconnect/JS.xs --- perlconnect/JS.xs.orig 2002-03-19 05:28:56 +0100 +++ perlconnect/JS.xs 2004-06-27 13:53:22 +0200 @@@@ -56,7 +56,7 @@@@ #include #include "jsperlpvt.h" -#include +#include /* __REMOVE__ */ /* #include */ @