From 24f18482d3d57a49f0711e0c42f1e0ef5c1549df Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 24 May 2023 10:12:50 +0300 Subject: gnu: xygrib: Fix building with newer openjpeg. * gnu/packages/geo.scm (xygrib)[source]: Adjust snippet to also search for newer openjpeg versions. --- gnu/packages/geo.scm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 1337e8f20b..bff213d684 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -8,7 +8,7 @@ ;;; Copyright © 2018 Joshua Sierles, Nextjournal ;;; Copyright © 2018, 2019, 2020, 2021 Julien Lepiller ;;; Copyright © 2019-2023 Guillaume Le Vaillant -;;; Copyright © 2019-2022 Efraim Flashner +;;; Copyright © 2019-2023 Efraim Flashner ;;; Copyright © 2019, 2021 Wiktor Żelazny ;;; Copyright © 2019, 2020 Hartmut Goebel ;;; Copyright © 2020, 2022 Marius Bakke @@ -1663,11 +1663,13 @@ map display. Downloads map data from a number of websites, including ;; Upstream link: https://github.com/opengribs/XyGrib/pull/255 (substitute* "src/SkewT.h" (("QMessageBox>") "QMessageBox>\n#include ")) - #t)))) + ;; Accept newer versions of openjpeg + ;; https://github.com/opengribs/XyGrib/pull/298 + (substitute* "CMakeLists.txt" + (("openjpeg-2.4") "openjpeg-2.5 openjpeg-2.4")))))) (build-system cmake-build-system) (arguments `(#:configure-flags (list "-DGNU_PACKAGE=ON") - #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-directories -- cgit v1.2.3