all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Gabriel Wicki <gabriel@erlikon.ch>
To: 57234@debbugs.gnu.org
Subject: [bug#57234] Fix build of package icestorm
Date: Tue, 16 Aug 2022 01:58:11 +0200	[thread overview]
Message-ID: <20220815235811.5mlvvl2mbsoa2lzb@silvi> (raw)

Hello!

I noticed icestorm doesn't build currently.  I've attached a fix.

TIA for merging soon ;)

g


From de5b7f58c5c18621f69d15e11d78349c0d2d18be Mon Sep 17 00:00:00 2001
From: Gabriel Wicki <gabriel@erlikon.ch>
Date: Tue, 16 Aug 2022 01:46:07 +0200
Subject: [PATCH] gnu: fpga: Fix build of icestorm

* gnu/packages/fpga.scm (icestorm): Fix build.
[phases]{fix-build}: New phase.
---
 gnu/packages/fpga.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm
index b8f98ca63e..cac4db318d 100644
--- a/gnu/packages/fpga.scm
+++ b/gnu/packages/fpga.scm
@@ -258,6 +258,11 @@ (define-public icestorm
               (substitute* "icebox/icebox_vlog.py"
                 (("/usr/local/share") (string-append (assoc-ref outputs "out") "/share")))
               #t))
+          (add-after 'fix-usr-local 'fix-build
+            (lambda _
+              (substitute* "icetime/icetime.cc"
+                (("#include <vector>")
+                 "#include <vector>\n#include <stdexcept>"))))
           (delete 'configure))))
     (inputs
      (list libftdi))
-- 
2.36.1





             reply	other threads:[~2022-08-15 23:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-15 23:58 Gabriel Wicki [this message]
2022-08-17  5:56 ` bug#57234: Fix build of package icestorm 宋文武 via Guix-patches via

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

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

  git send-email \
    --in-reply-to=20220815235811.5mlvvl2mbsoa2lzb@silvi \
    --to=gabriel@erlikon.ch \
    --cc=57234@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.