~ruther/guix-local

7314d9c1848786f2a686990068f22d7432926feb — Danny Milosavljevic 9 months ago 29182f4
gnu: mono@4.9.0: Fix build with gcc 14.

* gnu/packages/dotnet.scm (mono-4.9.0)[arguments]<#:phases>[fix-includes]:
Delete phase.
[patch-sgen-linking]: New phase.

Change-Id: Ieae4853f2e55d5af08aa1b6d7f627ea2238c37a6
1 files changed, 6 insertions(+), 0 deletions(-)

M gnu/packages/dotnet.scm
M gnu/packages/dotnet.scm => gnu/packages/dotnet.scm +6 -0
@@ 874,6 874,12 @@ a C-style programming language from Microsoft that is very similar to Java.")
                "--with-csc=mcs"))
       ((#:phases phases #~%standard-phases)
        #~(modify-phases #$phases
            (delete 'fix-includes)
            (add-after 'unpack 'patch-sgen-linking
              (lambda _
                (substitute* "tools/monograph/Makefile.am"
                 (("/mono/metadata/libmonoruntimesgen-static[.]la")
                  "/mono/metadata/libmonoruntimesgen-static.la $(top_builddir)/mono/sgen/libmonosgen-static.la"))))
            (add-before 'configure 'set-TZDIR
              (lambda* (#:key native-inputs inputs #:allow-other-keys)
                (search-input-directory (or native-inputs inputs)