[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
228/244: gnu: qpdf: Fix cross-building.
From: |
guix-commits |
Subject: |
228/244: gnu: qpdf: Fix cross-building. |
Date: |
Wed, 12 Apr 2023 08:49:36 -0400 (EDT) |
apteryx pushed a commit to branch staging
in repository guix.
commit 4f7a0695cac56f509df1715c09111504866507d8
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Apr 10 23:16:08 2023 +0300
gnu: qpdf: Fix cross-building.
* gnu/packages/pdf.scm (qpdf)[arguments]: When cross-building add
configure-flags to set /dev/random and /dev/urandom as existing.
---
gnu/packages/pdf.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index dd1064bd6c..17637af0f6 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -910,7 +910,13 @@ line tools for batch rendering @command{pdfdraw},
rewriting files
"0yw2cpw7ygfd6jlgpwbi8vsnvv9p55zxp9h17x77z2qq733pf8jx"))))
(build-system gnu-build-system)
(arguments
- `(#:disallowed-references (,perl)
+ `(#:configure-flags '(,@(if (%current-target-system)
+ ;; We cannot check for these devices
+ ;; when cross compiling.
+ `("ac_cv_file__dev_random=yes"
+ "ac_cv_file__dev_urandom=yes")
+ '()))
+ #:disallowed-references (,perl)
#:phases
(modify-phases %standard-phases
(add-before 'configure 'patch-paths
- 157/244: gnu: seer-gdb: Update to 1.16., (continued)
- 157/244: gnu: seer-gdb: Update to 1.16., guix-commits, 2023/04/12
- 227/244: gnu: ijs: Fix cross-building to riscv64-linux., guix-commits, 2023/04/12
- 213/244: gnu: haproxy: Update to 2.7.6., guix-commits, 2023/04/12
- 188/244: gnu: fcitx5-gtk: Update to 5.0.23., guix-commits, 2023/04/12
- 203/244: gnu: xfburn: Update to 0.7.0., guix-commits, 2023/04/12
- 165/244: gnu: pyzo: Update to 4.12.8., guix-commits, 2023/04/12
- 238/244: gnu: heimdal: Apply patch to fix CVE-2022-45142., guix-commits, 2023/04/12
- 237/244: gnu: heimdal: Update to 7.8.0 [fixes CVE-2022-44640]., guix-commits, 2023/04/12
- 244/244: gnu: ruby-rubyzip: Re-instate all tests., guix-commits, 2023/04/12
- 241/244: services: nginx: Make logging level configurable., guix-commits, 2023/04/12
- 228/244: gnu: qpdf: Fix cross-building.,
guix-commits <=
- 234/244: gnu: opendht: Update to 2.5.2., guix-commits, 2023/04/12
- 173/244: gnu: Add emacs-flymake-popon., guix-commits, 2023/04/12
- 196/244: gnu: xfce4-panel: Update to 4.18.3., guix-commits, 2023/04/12
- 186/244: gnu: fcitx5: Update to 5.0.23., guix-commits, 2023/04/12
- 221/244: gnu: s6-rc: Update to 0.5.4.1., guix-commits, 2023/04/12
- 183/244: gnu: gerbil: Use G-expressions., guix-commits, 2023/04/12
- 187/244: gnu: libime: Update to 1.0.17., guix-commits, 2023/04/12
- 239/244: gnu: heimdal: Enable OpenLDAP support., guix-commits, 2023/04/12
- 240/244: gnu: Add phd2., guix-commits, 2023/04/12
- 243/244: gnu: icecat: Update to 102.10.0-guix0-preview1 [security fixes]., guix-commits, 2023/04/12