From 1a1814e42397860b02f7320acdd415d781dd3c60 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Mon, 28 Sep 2020 17:03:15 +0200 Subject: 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 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. -- cgit 1.4.1