summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Fiskerstrand <k_f@gentoo.org>2018-04-02 22:49:58 +0200
committerKristian Fiskerstrand <k_f@gentoo.org>2018-04-02 22:50:25 +0200
commitd9a6ddd6e85de8c752389a3b49118e9ac40658cc (patch)
treee164b69ee080c88e23e47fee5f37635ff9aec1ce /gnome-extra/cjs
parentxfce-extra/xfce4-composite-editor: remove obsolete xfconf.eclass migrate to E... (diff)
downloadgentoo-d9a6ddd6e85de8c752389a3b49118e9ac40658cc.tar.gz
gentoo-d9a6ddd6e85de8c752389a3b49118e9ac40658cc.tar.bz2
gentoo-d9a6ddd6e85de8c752389a3b49118e9ac40658cc.zip
gnome-extra/cjs: Fix test failure on system.version check
Bug: https://bugs.gentoo.org/633404 Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'gnome-extra/cjs')
-rw-r--r--gnome-extra/cjs/cjs-3.6.1.ebuild2
-rw-r--r--gnome-extra/cjs/files/cjs-3.6.1-No-reason-for-System.version-to-be-this-restrictive.patch25
2 files changed, 27 insertions, 0 deletions
diff --git a/gnome-extra/cjs/cjs-3.6.1.ebuild b/gnome-extra/cjs/cjs-3.6.1.ebuild
index d0ae7f565acc..399708932f15 100644
--- a/gnome-extra/cjs/cjs-3.6.1.ebuild
+++ b/gnome-extra/cjs/cjs-3.6.1.ebuild
@@ -36,6 +36,8 @@ RDEPEND="${RDEPEND}
RESTRICT="test"
+PATCHES=( "${FILESDIR}/${PN}-3.6.1-No-reason-for-System.version-to-be-this-restrictive.patch" )
+
src_prepare() {
eautoreconf
gnome2_src_prepare
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
new file mode 100644
index 000000000000..40be11981ede
--- /dev/null
+++ b/gnome-extra/cjs/files/cjs-3.6.1-No-reason-for-System.version-to-be-this-restrictive.patch
@@ -0,0 +1,25 @@
+From 2d3e093bac41474c2adf433c2948fdc97495f4dc Mon Sep 17 00:00:00 2001
+From: Kristian Fiskerstrand <kf@sumptuouscapital.com>
+Date: Mon, 2 Apr 2018 19:27:35 +0200
+Subject: [PATCH] No reason for System.version to be this restrictive
+
+---
+ installed-tests/js/testSystem.js | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/installed-tests/js/testSystem.js b/installed-tests/js/testSystem.js
+index 1211de4..d205595 100644
+--- a/installed-tests/js/testSystem.js
++++ b/installed-tests/js/testSystem.js
+@@ -12,7 +12,7 @@ describe('System.addressOf()', function () {
+ describe('System.version', function () {
+ it('gives a plausible number', function () {
+ expect(System.version).not.toBeLessThan(14700);
+- expect(System.version).toBeLessThan(20000);
++ expect(System.version).toBeLessThan(32000);
+ });
+ });
+
+--
+2.16.1
+