From: "Boris A. Dekshteyn" <boris.dekshteyn@gmail.com>
To: 41170@debbugs.gnu.org
Cc: "Boris A. Dekshteyn" <boris.dekshteyn@gmail.com>
Subject: [bug#41170] [PATCH] gnu: freecad: Fix build with python-3.8
Date: Sun, 10 May 2020 22:23:18 +1200 [thread overview]
Message-ID: <20200510102318.23016-1-boris.dekshteyn@gmail.com> (raw)
* gnu/packages/engineering.scm (freecad): Fix build with python-3.8
---
gnu/packages/engineering.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 15101e3aee..5e204201bd 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -2312,6 +2312,13 @@ full programmatic control over your models.")
(uri (git-reference
(url "https://github.com/FreeCAD/FreeCAD.git")
(commit version)))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; https://tracker.freecadweb.org/view.php?id=4143
+ (substitute* "src/Base/swigpyrun.inl"
+ (("PyObject \\*modules = interp->modules;")
+ "PyObject *modules = PyEval_GetBuiltins();")) #t))
(file-name (git-file-name name version))
(sha256
(base32
--
2.26.2
next reply other threads:[~2020-05-10 10:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-10 10:23 Boris A. Dekshteyn [this message]
2020-05-10 21:07 ` bug#41170: [PATCH] gnu: freecad: Fix build with python-3.8 Marius Bakke
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200510102318.23016-1-boris.dekshteyn@gmail.com \
--to=boris.dekshteyn@gmail.com \
--cc=41170@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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).