gnu: cups-filters: Fix build with newer version of poppler.
* gnu/packages/cups.scm (cups-filters)[arguments]: Add build phase "patch-for-poppler".
This commit is contained in:
parent
294ff39d27
commit
a6d378e2e7
|
@ -122,6 +122,12 @@
|
||||||
(("/usr/local/lib/cups/filter")
|
(("/usr/local/lib/cups/filter")
|
||||||
(string-append out "/lib/cups/filter")))
|
(string-append out "/lib/cups/filter")))
|
||||||
#t)))
|
#t)))
|
||||||
|
(add-after 'unpack 'patch-for-poppler
|
||||||
|
(lambda _
|
||||||
|
(substitute* "filter/pdf.cxx"
|
||||||
|
(("GooString \\*field_name;" m)
|
||||||
|
(string-append "const " m)))
|
||||||
|
#t))
|
||||||
(add-after 'install 'wrap-filters
|
(add-after 'install 'wrap-filters
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
;; Some filters expect to find 'gs' in $PATH. We cannot
|
;; Some filters expect to find 'gs' in $PATH. We cannot
|
||||||
|
|
Loading…
Reference in New Issue