mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
sci-visualization/gnuplot: Fix test failure.
Patch from upstream. Closes: https://bugs.gentoo.org/753314 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
From cfd9ff9408949ee58be9ba5a18b74ce4562f374a Mon Sep 17 00:00:00 2001
|
||||
From: Ethan A Merritt <merritt@u.washington.edu>
|
||||
Date: Fri, 6 Nov 2020 13:06:21 -0800
|
||||
Subject: [PATCH] make sure warning message about no mouse support is non-fatal
|
||||
|
||||
Bug #2350
|
||||
---
|
||||
src/set.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/set.c b/src/set.c
|
||||
index a697925bc..a6acf8fc6 100644
|
||||
--- a/src/set.c
|
||||
+++ b/src/set.c
|
||||
@@ -3130,7 +3130,8 @@ set_mouse()
|
||||
PM_update_menu_items();
|
||||
#endif
|
||||
#else /* USE_MOUSE */
|
||||
- c_token++;
|
||||
+ while (!END_OF_COMMAND)
|
||||
+ c_token++;
|
||||
int_warn(NO_CARET, "this copy of gnuplot has no mouse support");
|
||||
#endif /* USE_MOUSE */
|
||||
}
|
||||
--
|
||||
2.29.2
|
||||
|
||||
@@ -76,7 +76,8 @@ TEXMF="${EPREFIX}/usr/share/texmf-site"
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-5.0.1-fix-underlinking.patch
|
||||
"${FILESDIR}"/${PN}-5.0.6-no-picins.patch
|
||||
"${FILESDIR}"/${PN}-5.4.0-pkg-config.patch
|
||||
"${FILESDIR}"/${P}-pkg-config.patch
|
||||
"${FILESDIR}"/${P}-no-mouse.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
@@ -198,8 +199,7 @@ src_install() {
|
||||
}
|
||||
|
||||
src_test() {
|
||||
#GNUTERM="unknown" emake check # spiderplot and isosurface tests fail
|
||||
GNUTERM="dumb" emake check
|
||||
emake check GNUTERM="dumb"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
||||
+3
-3
@@ -73,7 +73,8 @@ TEXMF="${EPREFIX}/usr/share/texmf-site"
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-5.0.1-fix-underlinking.patch
|
||||
"${FILESDIR}"/${PN}-5.0.6-no-picins.patch
|
||||
"${FILESDIR}"/${PN}-5.4.0-pkg-config.patch
|
||||
"${FILESDIR}"/${P}-pkg-config.patch
|
||||
"${FILESDIR}"/${P}-no-mouse.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
@@ -191,8 +192,7 @@ src_install() {
|
||||
}
|
||||
|
||||
src_test() {
|
||||
#GNUTERM="unknown" emake check # spiderplot and isosurface tests fail
|
||||
GNUTERM="dumb" emake check
|
||||
emake check GNUTERM="dumb"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
@@ -190,8 +190,7 @@ src_install() {
|
||||
}
|
||||
|
||||
src_test() {
|
||||
#GNUTERM="unknown" emake check # spiderplot and isosurface tests fail
|
||||
GNUTERM="dumb" emake check
|
||||
emake check GNUTERM="dumb"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
||||
Reference in New Issue
Block a user