~ruther/guix-local

34b16f9201ec27ddfcfe897d4dd19b431f628839 — Sharlatan Hellseher 10 months ago 5576831
gnu: glnemo2: Fix build with gcc@14.

* gnu/packages/astronomy.scm (glnemo2) [arguments] <configure-flags>:
  Ignore 3 warnings.

Change-Id: I03fe28d04e3c9801fc0254706643d5a3c6d235a8
1 files changed, 8 insertions(+), 3 deletions(-)

M gnu/packages/astronomy.scm
M gnu/packages/astronomy.scm => gnu/packages/astronomy.scm +8 -3
@@ 802,8 802,8 @@ corrections.")
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://gitlab.lam.fr/jclamber/glnemo2")
             (commit version)))
              (url "https://gitlab.lam.fr/jclamber/glnemo2")
              (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1jmmxszh8d2jmfghig36nhykff345mqnpssfa64d0r7l9cnfp3cn"))))


@@ 811,7 811,12 @@ corrections.")
    (arguments
     (list
      #:tests? #f        ; No test target
      #:configure-flags #~(list "CPPFLAGS=-fcommon")
      #:configure-flags
      #~(list "CPPFLAGS=-fcommon"
              (string-append "-DCMAKE_C_FLAGS="
                             " -Wno-error=implicit-function-declaration"
                             " -Wno-error=implicit-int"
                             " -Wno-error=int-conversion"))
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'patch-libraries-paths