unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Felix Gruber <felgru@posteo.net>
To: 62842@debbugs.gnu.org
Cc: Felix Gruber <felgru@posteo.net>
Subject: [bug#62842] [PATCH 04/11] gnu: dune-grid: Update to 2.9.0.
Date: Fri, 14 Apr 2023 19:27:29 +0000	[thread overview]
Message-ID: <20230414192736.41322-4-felgru@posteo.net> (raw)
In-Reply-To: <20230414192518.41188-1-felgru@posteo.net>

* gnu/packages/maths.scm (dune-grid): Update to 2.9.0.
  [source](patches): Add patch to fix build.
* gnu/packages/patches/dune-grid-add-missing-include-cassert.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
---
 gnu/local.mk                                  |  1 +
 gnu/packages/maths.scm                        |  6 +++--
 ...une-grid-add-missing-include-cassert.patch | 24 +++++++++++++++++++
 3 files changed, 29 insertions(+), 2 deletions(-)
 create mode 100644 gnu/packages/patches/dune-grid-add-missing-include-cassert.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 8088e8170b..96d5aad909 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1056,6 +1056,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/dovecot-trees-support-dovecot-2.3.patch	\
   %D%/packages/patches/dstat-fix-crash-when-specifying-delay.patch	\
   %D%/packages/patches/dstat-skip-devices-without-io.patch	\
+  %D%/packages/patches/dune-grid-add-missing-include-cassert.patch	\
   %D%/packages/patches/dvd+rw-tools-add-include.patch 		\
   %D%/packages/patches/dynaconf-unvendor-deps.patch		\
   %D%/packages/patches/efivar-211.patch			\
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 7177f8c60d..95e2eb3ef7 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -6898,7 +6898,7 @@ (define-public dune-uggrid
 (define-public dune-grid
   (package
     (name "dune-grid")
-    (version "2.7.1")
+    (version "2.9.0")
     (source
      (origin
        (method url-fetch)
@@ -6906,7 +6906,9 @@ (define-public dune-grid
                            version "/dune-grid-" version ".tar.gz"))
        (sha256
         (base32
-         "15iws03hkbmr4a4rqqb0rriz1m8szl96wdr7gw0jmrcnlzbdbbx5"))))
+         "17l2vlr8q3rfifxv80r3jlzamx478xn0vfjkrl3ns1akk7miycq8"))
+       (patches (search-patches
+                  "dune-grid-add-missing-include-cassert.patch"))))
     (build-system cmake-build-system)
     (arguments
      `(#:phases
diff --git a/gnu/packages/patches/dune-grid-add-missing-include-cassert.patch b/gnu/packages/patches/dune-grid-add-missing-include-cassert.patch
new file mode 100644
index 0000000000..7462b11934
--- /dev/null
+++ b/gnu/packages/patches/dune-grid-add-missing-include-cassert.patch
@@ -0,0 +1,24 @@
+From ef843b1a66308247ba4d2e2c116ff5517421a91b Mon Sep 17 00:00:00 2001
+From: Simon Praetorius <simon.praetorius@tu-dresden.de>
+Date: Tue, 6 Dec 2022 13:39:44 +0100
+Subject: [PATCH] Add missing include <cassert>
+
+---
+ dune/grid/test/yasp/test-yaspgrid-partitioner.cc | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/dune/grid/test/yasp/test-yaspgrid-partitioner.cc b/dune/grid/test/yasp/test-yaspgrid-partitioner.cc
+index 93ae042b0..9a4530201 100644
+--- a/dune/grid/test/yasp/test-yaspgrid-partitioner.cc
++++ b/dune/grid/test/yasp/test-yaspgrid-partitioner.cc
+@@ -6,6 +6,7 @@
+ #include <config.h>
+ 
+ #include <array>
++#include <cassert>
+ #include <iostream>
+ 
+ #include <dune/common/filledarray.hh>
+-- 
+2.39.2
+
-- 
2.39.2





  parent reply	other threads:[~2023-04-14 20:14 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-14 19:25 [bug#62842] [PATCH 00/11] gnu: maths: dune-*: Update to version 2.9.0 Felix Gruber
2023-04-14 19:27 ` [bug#62842] [PATCH 01/11] gnu: dune-common: Update to 2.9.0 Felix Gruber
2023-04-14 19:27 ` [bug#62842] [PATCH 02/11] gnu: dune-geometry: " Felix Gruber
2023-04-14 19:27 ` [bug#62842] [PATCH 03/11] gnu: dune-uggrid: " Felix Gruber
2023-04-14 19:27 ` Felix Gruber [this message]
2023-04-14 19:27 ` [bug#62842] [PATCH 05/11] gnu: dune-istl: " Felix Gruber
2023-04-14 19:27 ` [bug#62842] [PATCH 06/11] gnu: dune-localfunctions: " Felix Gruber
2023-04-14 19:27 ` [bug#62842] [PATCH 07/11] gnu: dune-alugrid: " Felix Gruber
2023-04-14 19:27 ` [bug#62842] [PATCH 08/11] gnu: dune-subgrid: Update to 2.9.0-1-e83f3f9 Felix Gruber
2023-04-14 19:27 ` [bug#62842] [PATCH 09/11] gnu: dune-typetree: Update to 2.9.0 Felix Gruber
2023-04-14 19:27 ` [bug#62842] [PATCH 10/11] gnu: dune-functions: " Felix Gruber
2023-04-14 19:27 ` [bug#62842] [PATCH 11/11] gnu: dune-pdelab: Update to 2.8.0-0.d5dddb6 Felix Gruber
2023-05-02 10:13 ` bug#62842: [PATCH 00/11] gnu: maths: dune-*: Update to version 2.9.0 Ludovic Courtès
2023-05-02 13:01 ` [bug#62842] " Ludovic Courtès
2023-05-02 20:18   ` Felix Gruber
2023-05-04  9:35     ` Ludovic Courtès
2023-05-02 13:02 ` Ludovic Courtès

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=20230414192736.41322-4-felgru@posteo.net \
    --to=felgru@posteo.net \
    --cc=62842@debbugs.gnu.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).