public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Orlitzky" <mjo@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/m4ri/, sci-libs/m4ri/files/
Date: Sat, 29 Jun 2024 16:09:53 +0000 (UTC)	[thread overview]
Message-ID: <1719677256.a19d7547d47610a5957bba714abdf8374365ce6c.mjo@gentoo> (raw)

commit:     a19d7547d47610a5957bba714abdf8374365ce6c
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 29 16:04:22 2024 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sat Jun 29 16:07:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a19d7547

sci-libs/m4ri: upstream patch for bad tests

Closes: https://bugs.gentoo.org/908449
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 sci-libs/m4ri/files/m4ri-20200125-testfix.patch | 31 +++++++++++++++++++++++++
 sci-libs/m4ri/m4ri-20200125.ebuild              |  4 +++-
 2 files changed, 34 insertions(+), 1 deletion(-)

diff --git a/sci-libs/m4ri/files/m4ri-20200125-testfix.patch b/sci-libs/m4ri/files/m4ri-20200125-testfix.patch
new file mode 100644
index 000000000000..cd45acac4d69
--- /dev/null
+++ b/sci-libs/m4ri/files/m4ri-20200125-testfix.patch
@@ -0,0 +1,31 @@
+From 0643268f316af1150ea2631d27fd1533f5994bb8 Mon Sep 17 00:00:00 2001
+From: "Martin R. Albrecht" <martinralbrecht@googlemail.com>
+Date: Wed, 6 May 2020 13:15:44 +0100
+Subject: [PATCH] don't test things we forbid
+
+fixes #75
+---
+ tests/test_misc.c | 10 +++++-----
+ 1 file changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/tests/test_misc.c b/tests/test_misc.c
+index b1a2e32..0ccddb3 100644
+--- a/tests/test_misc.c
++++ b/tests/test_misc.c
+@@ -130,11 +130,11 @@ int main(int argc, char *argv[]) {
+   status += test_submatrix(2, 130, 1, 1, 2, 130);
+   status += test_submatrix(2, 131, 1, 1, 2, 131);
+ 
+-  status += test_submatrix(2, 63, 1, 1, 1, 63);
+-  status += test_submatrix(2, 64, 1, 1, 1, 64);
+-  status += test_submatrix(2, 65, 1, 1, 1, 65);
+-  status += test_submatrix(2, 66, 1, 1, 1, 66);
+-  status += test_submatrix(2, 67, 1, 1, 1, 67);
++  status += test_submatrix(2, 63, 1, 1, 2, 63);
++  status += test_submatrix(2, 64, 1, 1, 2, 64);
++  status += test_submatrix(2, 65, 1, 1, 2, 65);
++  status += test_submatrix(2, 66, 1, 1, 2, 66);
++  status += test_submatrix(2, 67, 1, 1, 2, 67);
+ 
+   status += test_submatrix(2, 127, 1, 63, 2, 127);
+   status += test_submatrix(2, 128, 1, 64, 2, 128);

diff --git a/sci-libs/m4ri/m4ri-20200125.ebuild b/sci-libs/m4ri/m4ri-20200125.ebuild
index adf6e85765c9..5c4de4a39ebf 100644
--- a/sci-libs/m4ri/m4ri-20200125.ebuild
+++ b/sci-libs/m4ri/m4ri-20200125.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -18,6 +18,8 @@ BDEPEND="virtual/pkgconfig"
 DEPEND="png? ( media-libs/libpng:= )"
 RDEPEND="${DEPEND}"
 
+PATCHES=( "${FILESDIR}/${P}-testfix.patch" )
+
 # NEWS and ChangeLog are empty as of 2020-01-01, and README.md
 # didn't make it into the release tarball.
 DOCS=( AUTHORS )


             reply	other threads:[~2024-06-29 16:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-29 16:09 Michael Orlitzky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-21 13:36 [gentoo-commits] repo/gentoo:master commit in: sci-libs/m4ri/, sci-libs/m4ri/files/ Michael Orlitzky
2021-02-18 18:57 David Seifert

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=1719677256.a19d7547d47610a5957bba714abdf8374365ce6c.mjo@gentoo \
    --to=mjo@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