guix-commits
[Top][All Lists]
Advanced

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

branch core-updates-frozen updated: gnu: fbida: Fix build.


From: guix-commits
Subject: branch core-updates-frozen updated: gnu: fbida: Fix build.
Date: Sun, 19 Sep 2021 14:10:47 -0400

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

mothacehe pushed a commit to branch core-updates-frozen
in repository guix.

The following commit(s) were added to refs/heads/core-updates-frozen by this 
push:
     new 57c57f8  gnu: fbida: Fix build.
57c57f8 is described below

commit 57c57f854114b89ba5cd7b3aaa8edd779928f506
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Sun Sep 19 18:09:29 2021 +0000

    gnu: fbida: Fix build.
    
    * gnu/packages/pdf.scm (fbida)[arguments]<#:phases>: Add a 'set-fcommon 
phase.
    Also wrap some lines and remove an empty one.
---
 gnu/packages/pdf.scm | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 8e2cebe..859bb1d 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -1136,10 +1136,14 @@ information for every pixel as the input.")
              (substitute* "mk/Autoconf.mk"
                (("/bin/echo") "echo")
                (("/sbin/ldconfig -p") "echo lib")) #t))
+         (add-before 'build 'set-fcommon
+           (lambda _
+             (setenv "CFLAGS" "-fcommon")))
          (delete 'configure))
         #:tests? #f
-        #:make-flags (list ,(string-append "CC=" (cc-for-target))
-                           (string-append "prefix=" (assoc-ref %outputs 
"out")))))
+        #:make-flags
+        (list (string-append "CC=" ,(cc-for-target))
+              (string-append "prefix=" (assoc-ref %outputs "out")))))
     (inputs `(("libjpeg" ,libjpeg-turbo)
               ("curl" ,curl)
               ("libtiff" ,libtiff)
@@ -1161,7 +1165,6 @@ information for every pixel as the input.")
     (description
       "fbida contains a few applications for viewing and editing images on
 the framebuffer.")
-
     (license license:gpl2+)))
 
 (define-public pdf2svg



reply via email to

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