[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: freecad: Fix build with python-3.8
From: |
guix-commits |
Subject: |
branch master updated: gnu: freecad: Fix build with python-3.8 |
Date: |
Sun, 10 May 2020 17:09:22 -0400 |
This is an automated email from the git hooks/post-receive script.
mbakke pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 72099cb gnu: freecad: Fix build with python-3.8
72099cb is described below
commit 72099cb0f20e87807f29b5a11a584ab7c66297ef
Author: Boris A. Dekshteyn <address@hidden>
AuthorDate: Sun May 10 22:23:18 2020 +1200
gnu: freecad: Fix build with python-3.8
* gnu/packages/engineering.scm (freecad)[source](modules, snippet): New
fields.
Signed-off-by: Marius Bakke <address@hidden>
---
gnu/packages/engineering.scm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 15101e3..5674c68 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -2312,6 +2312,15 @@ full programmatic control over your models.")
(uri (git-reference
(url "https://github.com/FreeCAD/FreeCAD.git")
(commit version)))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Fix build with Python 3.8, see
+ ;; <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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: freecad: Fix build with python-3.8,
guix-commits <=