summary refs log tree commit diff
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2020-09-28 17:03:15 +0200
committerDanny Milosavljevic <dannym@scratchpost.org>2020-09-28 17:03:15 +0200
commit1a1814e42397860b02f7320acdd415d781dd3c60 (patch)
treeaebb53db5c4a3d8a7827e50bb3fcd140b3338e70
parentdbbe31ee4eef670aa052edda6f4b4730aacbc3aa (diff)
downloadguix-1a1814e42397860b02f7320acdd415d781dd3c60.tar.gz
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.
-rw-r--r--gnu/packages/fontutils.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index f6c8dc51f4..a3881889b4 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.