This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 8a12cb7fa06 gnu: pdfgrep: Fix cpp poppler paths.
8a12cb7fa06 is described below

commit 8a12cb7fa06b1f4108a7ec65f2e670b33e5bb310
Author: Cayetano Santos <[email protected]>
AuthorDate: Sun Sep 20 19:58:54 2026 +0200

    gnu: pdfgrep: Fix cpp poppler paths.
    
    * gnu/packages/pdf.scm (pdfgrep)[arguments]: Add ’fix-cpp-paths #:phase.
---
 gnu/packages/pdf.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index dcadb2522e4..e49fa66157a 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -1820,6 +1820,15 @@ PDF.  Indeed @command{pdfposter} was inspired by 
@command{poster}.")
         (base32
          "1jr0qqvkcb3xz0ps111cqwwxp1b5g5rrf75ab5whkvy0whqyaq86"))))
     (build-system gnu-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'fix-cpp-paths
+            (lambda _
+              (substitute* (list "src/search.h" "src/pdfgrep.cc"
+                                 "src/search.cc")
+                (("cpp\\/poppler") "poppler")))))))
     (native-inputs
      (list pkg-config))
     (inputs

Reply via email to