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

commit 1a1814e42397860b02f7320acdd415d781dd3c60
Author: Danny Milosavljevic <[email protected]>
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