1 |
commit: d9a6ddd6e85de8c752389a3b49118e9ac40658cc |
2 |
Author: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 2 20:49:58 2018 +0000 |
4 |
Commit: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 2 20:50:25 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9a6ddd6 |
7 |
|
8 |
gnome-extra/cjs: Fix test failure on system.version check |
9 |
|
10 |
Bug: https://bugs.gentoo.org/633404 |
11 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
12 |
|
13 |
gnome-extra/cjs/cjs-3.6.1.ebuild | 2 ++ |
14 |
...for-System.version-to-be-this-restrictive.patch | 25 ++++++++++++++++++++++ |
15 |
2 files changed, 27 insertions(+) |
16 |
|
17 |
diff --git a/gnome-extra/cjs/cjs-3.6.1.ebuild b/gnome-extra/cjs/cjs-3.6.1.ebuild |
18 |
index d0ae7f565ac..399708932f1 100644 |
19 |
--- a/gnome-extra/cjs/cjs-3.6.1.ebuild |
20 |
+++ b/gnome-extra/cjs/cjs-3.6.1.ebuild |
21 |
@@ -36,6 +36,8 @@ RDEPEND="${RDEPEND} |
22 |
|
23 |
RESTRICT="test" |
24 |
|
25 |
+PATCHES=( "${FILESDIR}/${PN}-3.6.1-No-reason-for-System.version-to-be-this-restrictive.patch" ) |
26 |
+ |
27 |
src_prepare() { |
28 |
eautoreconf |
29 |
gnome2_src_prepare |
30 |
|
31 |
diff --git a/gnome-extra/cjs/files/cjs-3.6.1-No-reason-for-System.version-to-be-this-restrictive.patch b/gnome-extra/cjs/files/cjs-3.6.1-No-reason-for-System.version-to-be-this-restrictive.patch |
32 |
new file mode 100644 |
33 |
index 00000000000..40be11981ed |
34 |
--- /dev/null |
35 |
+++ b/gnome-extra/cjs/files/cjs-3.6.1-No-reason-for-System.version-to-be-this-restrictive.patch |
36 |
@@ -0,0 +1,25 @@ |
37 |
+From 2d3e093bac41474c2adf433c2948fdc97495f4dc Mon Sep 17 00:00:00 2001 |
38 |
+From: Kristian Fiskerstrand <kf@××××××××××××××××.com> |
39 |
+Date: Mon, 2 Apr 2018 19:27:35 +0200 |
40 |
+Subject: [PATCH] No reason for System.version to be this restrictive |
41 |
+ |
42 |
+--- |
43 |
+ installed-tests/js/testSystem.js | 2 +- |
44 |
+ 1 file changed, 1 insertion(+), 1 deletion(-) |
45 |
+ |
46 |
+diff --git a/installed-tests/js/testSystem.js b/installed-tests/js/testSystem.js |
47 |
+index 1211de4..d205595 100644 |
48 |
+--- a/installed-tests/js/testSystem.js |
49 |
++++ b/installed-tests/js/testSystem.js |
50 |
+@@ -12,7 +12,7 @@ describe('System.addressOf()', function () { |
51 |
+ describe('System.version', function () { |
52 |
+ it('gives a plausible number', function () { |
53 |
+ expect(System.version).not.toBeLessThan(14700); |
54 |
+- expect(System.version).toBeLessThan(20000); |
55 |
++ expect(System.version).toBeLessThan(32000); |
56 |
+ }); |
57 |
+ }); |
58 |
+ |
59 |
+-- |
60 |
+2.16.1 |
61 |
+ |