diff options
author | Sören Tempel <soeren@soeren-tempel.net> | 2024-07-09 18:18:18 +0200 |
---|---|---|
committer | jgart <jgart@dismail.de> | 2024-07-09 13:37:27 -0500 |
commit | 045ada83591665f56161cfa7166926bf620d5002 (patch) | |
tree | 9198653b6f345969bc20e4f32271fc840a0192c7 /gnu/packages/engineering.scm | |
parent | fd35427b26982845db21ccd667e514c9e018ecd2 (diff) |
gnu: capstone: Backport upstream fix for Python bindings.
* gnu/packages/patches/capstone-fix-python-constants.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/engineering.scm (capstone): New patch.
Signed-off-by: jgart <jgart@dismail.de>
Diffstat (limited to 'gnu/packages/engineering.scm')
-rw-r--r-- | gnu/packages/engineering.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 0f290de7eb..cc9020c6fd 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1787,6 +1787,7 @@ analyzer (FFT) and frequency sweep plot.") (version "5.0.1") (source (origin (method git-fetch) + (patches (search-patches "capstone-fix-python-constants.patch")) (uri (git-reference (url "https://github.com/capstone-engine/capstone") (commit version))) @@ -1798,7 +1799,7 @@ analyzer (FFT) and frequency sweep plot.") (arguments `(#:tests? #f #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")) - "CC=gcc") + (string-append "CC=" ,(cc-for-target))) #:phases (modify-phases %standard-phases (delete 'configure) ; no configure script |