public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-visualization/gnuplot/files/, sci-visualization/gnuplot/
Date: Sat,  7 Nov 2020 04:07:55 +0000 (UTC)	[thread overview]
Message-ID: <1604722065.1b848fb4b8210856956b26752c71762d833e2a7b.ulm@gentoo> (raw)

commit:     1b848fb4b8210856956b26752c71762d833e2a7b
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Nov  7 04:05:36 2020 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Nov  7 04:07:45 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b848fb4

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 <AT> gentoo.org>

 .../gnuplot/files/gnuplot-5.4.0-no-mouse.patch     | 27 ++++++++++++++++++++++
 .../gnuplot/gnuplot-5.4.0-r100.ebuild              |  6 ++---
 ...lot-5.4.0-r1.ebuild => gnuplot-5.4.0-r2.ebuild} |  6 ++---
 sci-visualization/gnuplot/gnuplot-5.5.9999.ebuild  |  3 +--
 4 files changed, 34 insertions(+), 8 deletions(-)

diff --git a/sci-visualization/gnuplot/files/gnuplot-5.4.0-no-mouse.patch b/sci-visualization/gnuplot/files/gnuplot-5.4.0-no-mouse.patch
new file mode 100644
index 00000000000..8133c3516ed
--- /dev/null
+++ b/sci-visualization/gnuplot/files/gnuplot-5.4.0-no-mouse.patch
@@ -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
+

diff --git a/sci-visualization/gnuplot/gnuplot-5.4.0-r100.ebuild b/sci-visualization/gnuplot/gnuplot-5.4.0-r100.ebuild
index 3b108facf8b..0e0cdd80bfb 100644
--- a/sci-visualization/gnuplot/gnuplot-5.4.0-r100.ebuild
+++ b/sci-visualization/gnuplot/gnuplot-5.4.0-r100.ebuild
@@ -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() {

diff --git a/sci-visualization/gnuplot/gnuplot-5.4.0-r1.ebuild b/sci-visualization/gnuplot/gnuplot-5.4.0-r2.ebuild
similarity index 97%
rename from sci-visualization/gnuplot/gnuplot-5.4.0-r1.ebuild
rename to sci-visualization/gnuplot/gnuplot-5.4.0-r2.ebuild
index 5b9eabee4ca..c064f8bbff5 100644
--- a/sci-visualization/gnuplot/gnuplot-5.4.0-r1.ebuild
+++ b/sci-visualization/gnuplot/gnuplot-5.4.0-r2.ebuild
@@ -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() {

diff --git a/sci-visualization/gnuplot/gnuplot-5.5.9999.ebuild b/sci-visualization/gnuplot/gnuplot-5.5.9999.ebuild
index 697da1fe767..0b2af9540d4 100644
--- a/sci-visualization/gnuplot/gnuplot-5.5.9999.ebuild
+++ b/sci-visualization/gnuplot/gnuplot-5.5.9999.ebuild
@@ -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() {


             reply	other threads:[~2020-11-07  4:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-07  4:07 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-03  9:57 [gentoo-commits] repo/gentoo:master commit in: sci-visualization/gnuplot/files/, sci-visualization/gnuplot/ Ulrich Müller
2023-10-09 19:31 Ulrich Müller
2023-05-29 16:56 Ulrich Müller
2021-10-18  9:01 Ulrich Müller
2021-08-03  6:08 Ulrich Müller
2020-12-23 11:10 Ulrich Müller
2020-11-06 12:57 Ulrich Müller
2019-07-23  7:19 Ulrich Müller
2018-01-12  8:37 Ulrich Müller
2017-11-19 11:46 Ulrich Müller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1604722065.1b848fb4b8210856956b26752c71762d833e2a7b.ulm@gentoo \
    --to=ulm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox