mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-14 07:00:32 -05:00
gnu: QPDF: Fix build with grep 3.8.
This fixes a regression from commit c527b0ce23
.
* gnu/packages/pdf.scm (qpdf)[source](modules, snippet): New fields.
This commit is contained in:
parent
8ea970a945
commit
fc398e1a74
1 changed files with 12 additions and 1 deletions
|
@ -833,7 +833,18 @@ (define-public qpdf
|
||||||
"/qpdf-" version ".tar.gz"))
|
"/qpdf-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"049q94rzlcbdr09rvl8xfj3924mk7rfm35x8cg4nisl4lnr27z78"))))
|
"049q94rzlcbdr09rvl8xfj3924mk7rfm35x8cg4nisl4lnr27z78"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
#~(begin
|
||||||
|
;; grep 3.8 emits a warning about 'egrep' being deprecated
|
||||||
|
;; which breaks some tests. Adjust accordingly.
|
||||||
|
;; Try removing this for QPDF >= 11.
|
||||||
|
(substitute* '("build-scripts/build-doc"
|
||||||
|
"qpdf/qtest/qpdf/diff-encrypted"
|
||||||
|
"qpdf/qtest/qpdf/diff-ignore-ID-version")
|
||||||
|
(("egrep")
|
||||||
|
"grep -E"))))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
|
Loading…
Reference in a new issue