diff options
author | fanquake <fanquake@gmail.com> | 2022-06-25 09:41:09 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-06-25 10:04:10 +0100 |
commit | 5f082ad4e4cc59ccc0ea32626a69522abba71e0d (patch) | |
tree | bb16e0a06931cb35ccb71f5e4a3074d09d98a5ed /contrib/guix/manifest.scm | |
parent | 0b5adfda87ff9f3cf669c277b2c3e2b96676b259 (diff) | |
download | bitcoin-5f082ad4e4cc59ccc0ea32626a69522abba71e0d.tar.xz |
guix: patch LIEF to fix PPC64 NX default
This patches our LIEF build using the change merged upstream:
https://github.com/lief-project/LIEF/pull/718.
This can be dropped the next time we update LIEF.
Diffstat (limited to 'contrib/guix/manifest.scm')
-rw-r--r-- | contrib/guix/manifest.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/guix/manifest.scm b/contrib/guix/manifest.scm index 09d9525f82..36d8dddab6 100644 --- a/contrib/guix/manifest.scm +++ b/contrib/guix/manifest.scm @@ -200,6 +200,10 @@ chain for " target " development.")) (package-with-extra-patches base-nsis (search-our-patches "nsis-gcc-10-memmove.patch"))) +(define (fix-ppc64-nx-default lief) + (package-with-extra-patches lief + (search-our-patches "lief-fix-ppc64-nx-default.patch"))) + (define-public lief (package (name "python-lief") @@ -602,7 +606,7 @@ inspecting signatures in Mach-O binaries.") ;; Git git ;; Tests - lief) + (fix-ppc64-nx-default lief)) (let ((target (getenv "HOST"))) (cond ((string-suffix? "-mingw32" target) ;; Windows |