Subject: [bug#63449] [PATCH 2/3] gnu: discregrid: Fix for dependent updates.

From: Greg Hogan <[email-masked]>
Date: Thu, 11 May 2023 19:41:36 +0000

* gnu/packages/graphics.scm (discregrid)[source]: Add patch for breaking
change to cxxopts.
---
 gnu/packages/graphics.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 261fcf9547..8aff3b075e 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -2328,7 +2328,9 @@ (define-public discregrid
                              "cmd/generate_density_map/main.cpp"
                              "cmd/generate_sdf/main.cpp")
                 (("^#include <cxxopts/cxxopts\\.hpp>")
-                 "#include <cxxopts.hpp>"))))))
+                 "#include <cxxopts.hpp>")
+                (("cxxopts::OptionException")
+                 "cxxopts::exceptions::parsing"))))))
       (build-system cmake-build-system)
       (outputs '("out" "bin"))
       (arguments
-- 
2.40.1