Browse Source

modifying package: js-1.6.20070208 20080317 -> 20080402

master
parent
commit
6e683d5913
  1. 39
      js/js.patch
  2. 4
      js/js.spec

39
js/js.patch

@ -1,28 +1,37 @@
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 @@
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-02 09:43:36 +0200
@@ -107,7 +107,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';
push @defines, "JS_THREADSAFE" if $enable_threadsafe eq "y";
}
@@ -103,7 +103,7 @@
@@ -116,7 +116,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';
+ my $enable_utf8 = 'n';
push @defines, "JS_C_STRINGS_ARE_UTF8" if $enable_utf8 eq "y";
}
@@ -128,7 +128,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";
Index: JavaScript-SpiderMonkey-0.19/Makefile.PL
--- 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 @@
--- JavaScript-SpiderMonkey-0.19/Makefile.PL.orig 2007-06-08 21:03:08 +0200
+++ JavaScript-SpiderMonkey-0.19/Makefile.PL 2008-04-02 09:16:35 +0200
@@ -31,6 +31,7 @@
);
my %possible_install_paths = (
@ -30,7 +39,7 @@ Index: JavaScript-SpiderMonkey-0.19/Makefile.PL
"../js/src/*" => "../js/src",
"/usr/lib" => "/usr/include",
"/usr/local/lib" => "/usr/local/include",
@@ -120,7 +121,6 @@
@@ -142,7 +143,6 @@
'NAME' => 'JavaScript::SpiderMonkey',
'VERSION_FROM' => 'SpiderMonkey.pm', # finds $VERSION
'PREREQ_PM' => {
@ -39,8 +48,8 @@ Index: JavaScript-SpiderMonkey-0.19/Makefile.PL
}, # 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 2006-07-28 11:36:39 +0200
+++ JavaScript-SpiderMonkey-0.19/SpiderMonkey.pm 2007-02-24 17:09:41 +0100
--- JavaScript-SpiderMonkey-0.19/SpiderMonkey.pm.orig 2007-09-05 14:00:17 +0200
+++ JavaScript-SpiderMonkey-0.19/SpiderMonkey.pm 2008-04-02 09:16:35 +0200
@@ -75,7 +75,6 @@
use strict;
use warnings;
@ -49,7 +58,7 @@ Index: JavaScript-SpiderMonkey-0.19/SpiderMonkey.pm
require Exporter;
require DynaLoader;
@@ -557,14 +556,7 @@
@@ -577,14 +576,7 @@
##################################################
sub debug_enabled {
##################################################

4
js/js.spec

@ -23,7 +23,7 @@
# package version
%define V_js 1.6.20070208
%define V_javascript 1.04
%define V_javascript 1.05
%define V_javascript_spidermonkey 0.19
%define V_javascript_squish 0.07
%define V_javascript_code 0.08
@ -42,7 +42,7 @@ Class: PLUS
Group: Language
License: MPL/GPL/LGPL
Version: %{V_js}
Release: 20080317
Release: 20080402
# package options
%option with_file yes

Loading…
Cancel
Save