Gentoo Archives: gentoo-commits

From: Ronny Gutbrod <gentoo@××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-lang/quickjs/files/, dev-lang/quickjs/
Date: Thu, 29 Apr 2021 22:14:30
Message-Id: 1619734156.cb92f649888c05df354386c9593e695bb4bb5141.tastytea@gentoo
1 commit: cb92f649888c05df354386c9593e695bb4bb5141
2 Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
3 AuthorDate: Thu Apr 29 22:09:16 2021 +0000
4 Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
5 CommitDate: Thu Apr 29 22:09:16 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cb92f649
7
8 dev-lang/quickjs: Remove TTY check in test.
9
10 Closes: https://bugs.gentoo.org/783987
11 Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
12
13 ...ickjs-2020.11.08_Remove-TTY-check-in-test.patch | 25 ++++++++++++++++++++++
14 dev-lang/quickjs/quickjs-2020.11.08.ebuild | 2 ++
15 2 files changed, 27 insertions(+)
16
17 diff --git a/dev-lang/quickjs/files/quickjs-2020.11.08_Remove-TTY-check-in-test.patch b/dev-lang/quickjs/files/quickjs-2020.11.08_Remove-TTY-check-in-test.patch
18 new file mode 100644
19 index 000000000..bf7957d3e
20 --- /dev/null
21 +++ b/dev-lang/quickjs/files/quickjs-2020.11.08_Remove-TTY-check-in-test.patch
22 @@ -0,0 +1,25 @@
23 +From aa3c213319f6df61f727a604798e8c120b7c37f4 Mon Sep 17 00:00:00 2001
24 +From: tastytea <tastytea@××××××××.de>
25 +Date: Fri, 30 Apr 2021 00:03:42 +0200
26 +Subject: [PATCH] Remove TTY check in test.
27 +
28 +---
29 + tests/test_std.js | 2 --
30 + 1 file changed, 2 deletions(-)
31 +
32 +diff --git a/tests/test_std.js b/tests/test_std.js
33 +index 3ea6e34..a12cb81 100644
34 +--- a/tests/test_std.js
35 ++++ b/tests/test_std.js
36 +@@ -143,8 +143,6 @@ function test_os()
37 + {
38 + var fd, fpath, fname, fdir, buf, buf2, i, files, err, fdate, st, link_path;
39 +
40 +- assert(os.isatty(0));
41 +-
42 + fdir = "test_tmp_dir";
43 + fname = "tmp_file.txt";
44 + fpath = fdir + "/" + fname;
45 +--
46 +2.26.3
47 +
48
49 diff --git a/dev-lang/quickjs/quickjs-2020.11.08.ebuild b/dev-lang/quickjs/quickjs-2020.11.08.ebuild
50 index 1a296d589..c787f5c8a 100644
51 --- a/dev-lang/quickjs/quickjs-2020.11.08.ebuild
52 +++ b/dev-lang/quickjs/quickjs-2020.11.08.ebuild
53 @@ -15,6 +15,8 @@ LICENSE="MIT"
54 SLOT="0"
55 KEYWORDS="~amd64"
56
57 +PATCHES=( "${FILESDIR}/${PN}-2020.11.08_Remove-TTY-check-in-test.patch" )
58 +
59 src_prepare() {
60 sed -i \
61 -e 's;prefix=/usr/local;prefix=/usr;' \