guix-commits
[Top][All Lists]
Advanced

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

04/11: gnu: fontconfig: Explicitly declare the _FILE_OFFSET_BITS we want


From: guix-commits
Subject: 04/11: gnu: fontconfig: Explicitly declare the _FILE_OFFSET_BITS we want.
Date: Tue, 29 Sep 2020 09:32:18 -0400 (EDT)

dannym pushed a commit to branch wip-file-offset-bits-64
in repository guix.

commit 1a1814e42397860b02f7320acdd415d781dd3c60
Author: Danny Milosavljevic <dannym@scratchpost.org>
AuthorDate: Mon Sep 28 17:03:15 2020 +0200

    gnu: fontconfig: Explicitly declare the _FILE_OFFSET_BITS we want.
    
    * gnu/packages/fontutils.scm 
(fontconfig)[arguments]<#:phases>[ensure-file-offset-bits-64]:
    Explicity declare the _FILE_OFFSET_BITS we want.
---
 gnu/packages/fontutils.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index f6c8dc5..a388188 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -352,6 +352,10 @@ Font Format (WOFF).")
             "PYTHON=false")
       #:phases
       (modify-phases %standard-phases
+        (add-before 'configure 'ensure-file-offset-bits-64
+          (lambda _
+            (setenv "CFLAGS" "-D_FILE_OFFSET_BITS=64")
+            #t))
         (replace 'install
                  (lambda _
                    ;; Don't try to create /var/cache/fontconfig.



reply via email to

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