diff options
| author | bdunahu <bdunahu@operationnull.com> | 2026-06-06 16:32:55 -0400 |
|---|---|---|
| committer | Nguyễn Gia Phong <cnx@loang.net> | 2026-06-19 11:35:07 +0900 |
| commit | 1a39338517225f114cc8de7b52d364319b24c5c8 (patch) | |
| tree | 2674dd9a92ba62432b980873558ab83cbef67d6a /gnu/packages/engineering.scm | |
| parent | a8c16cc55342e8d6727e8ca63e7402e777bf4a59 (diff) | |
gnu: radare2: Update to 6.1.6.
* gnu/packages/engineering.scm (radare2): Update to 6.1.6.
[#:configure-flags]: Use system-installed zydis.
[#:phases]: Add phase 'find-capital-zydis'.
[inputs]: Add zydis and zycore.
Merges: https://codeberg.org/guix/guix/pulls/9121
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
Diffstat (limited to 'gnu/packages/engineering.scm')
| -rw-r--r-- | gnu/packages/engineering.scm | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index b6d400229c7..99ce654981a 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm | |||
| @@ -1721,7 +1721,8 @@ bootloader in Espressif ESP8266 & ESP32 series chips.") | |||
| 1721 | (define-public radare2 | 1721 | (define-public radare2 |
| 1722 | (package | 1722 | (package |
| 1723 | (name "radare2") | 1723 | (name "radare2") |
| 1724 | (version "6.1.4") ;keep in sync with iaito | 1724 | ;; TODO: Delete upstreamed phase 'find-capital-zydis' at versions >6.1.6. |
| 1725 | (version "6.1.6") ;keep in sync with iaito,r2ghidra | ||
| 1725 | (source (origin | 1726 | (source (origin |
| 1726 | (method git-fetch) | 1727 | (method git-fetch) |
| 1727 | (uri (git-reference | 1728 | (uri (git-reference |
| @@ -1729,7 +1730,7 @@ bootloader in Espressif ESP8266 & ESP32 series chips.") | |||
| 1729 | (commit version))) | 1730 | (commit version))) |
| 1730 | (sha256 | 1731 | (sha256 |
| 1731 | (base32 | 1732 | (base32 |
| 1732 | "0gq90rwwmkfc7v1rhyr3lw859rsm1ryhzrwidhhh6pbp6jv03k6w")) | 1733 | "1a1d36nk4jkzlxywrzgf45wlzh7zifl7ilz8nj89d7n0mlk55g8r")) |
| 1733 | (file-name (git-file-name name version)) | 1734 | (file-name (git-file-name name version)) |
| 1734 | (patches | 1735 | (patches |
| 1735 | (search-patches "radare2-fix-meson-build-to-use-sys-sdb.patch" | 1736 | (search-patches "radare2-fix-meson-build-to-use-sys-sdb.patch" |
| @@ -1746,9 +1747,15 @@ bootloader in Espressif ESP8266 & ESP32 series chips.") | |||
| 1746 | "-Duse_sys_openssl=true" | 1747 | "-Duse_sys_openssl=true" |
| 1747 | "-Duse_sys_xxhash=true" | 1748 | "-Duse_sys_xxhash=true" |
| 1748 | "-Duse_sys_zip=true" | 1749 | "-Duse_sys_zip=true" |
| 1749 | "-Duse_sys_zlib=true") | 1750 | "-Duse_sys_zlib=true" |
| 1751 | "-Duse_sys_zydis=true") | ||
| 1750 | #:phases | 1752 | #:phases |
| 1751 | #~(modify-phases %standard-phases | 1753 | #~(modify-phases %standard-phases |
| 1754 | (add-before 'configure 'find-capital-zydis | ||
| 1755 | (lambda _ | ||
| 1756 | (substitute* '("meson.build") | ||
| 1757 | ;; We want the big one. | ||
| 1758 | (("(find_library\\(')zydis" _ f) (string-append f "Zydis"))))) | ||
| 1752 | ;; CHECK LATER: This patches an incorrect relative include. | 1759 | ;; CHECK LATER: This patches an incorrect relative include. |
| 1753 | (add-before 'build 'fix-relative-include | 1760 | (add-before 'build 'fix-relative-include |
| 1754 | (lambda _ | 1761 | (lambda _ |
| @@ -1784,7 +1791,9 @@ bootloader in Espressif ESP8266 & ESP32 series chips.") | |||
| 1784 | lz4 | 1791 | lz4 |
| 1785 | quickjs-ng | 1792 | quickjs-ng |
| 1786 | xxhash | 1793 | xxhash |
| 1787 | zlib)) | 1794 | zlib |
| 1795 | zycore | ||
| 1796 | zydis)) | ||
| 1788 | (native-inputs | 1797 | (native-inputs |
| 1789 | (list node | 1798 | (list node |
| 1790 | perl | 1799 | perl |
