guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

67/133: gnu: cups-filters: Fix build with newer version of poppler.


From: guix-commits
Subject: 67/133: gnu: cups-filters: Fix build with newer version of poppler.
Date: Sun, 6 Jan 2019 16:59:39 -0500 (EST)

rekado pushed a commit to branch wip-gnome3.30
in repository guix.

commit 858356c9c93ba10acb6ec7d07042341e7cdbf3ba
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Aug 8 13:07:16 2018 +0200

    gnu: cups-filters: Fix build with newer version of poppler.
    
    * gnu/packages/cups.scm (cups-filters)[arguments]: Add build phase
    "patch-for-poppler".
---
 gnu/packages/cups.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm
index 4343910..a31dfe6 100644
--- a/gnu/packages/cups.scm
+++ b/gnu/packages/cups.scm
@@ -119,6 +119,12 @@
                           (("/usr/local/lib/cups/filter")
                            (string-append out "/lib/cups/filter")))
                         #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
                     (lambda* (#:key inputs outputs #:allow-other-keys)
                       ;; Some filters expect to find 'gs' in $PATH.  We cannot



reply via email to

[Prev in Thread] Current Thread [Next in Thread]