From dbbe31ee4eef670aa052edda6f4b4730aacbc3aa Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Mon, 28 Sep 2020 09:28:16 +0200 Subject: gnu: libidn2: Explicitly declare the _FILE_OFFSET_BITS we want. * gnu/packages/libidn.scm (libidn2)[arguments]<#:phases>[ensure-file-offset-bits-64]: Explicity declare the _FILE_OFFSET_BITS we want. --- gnu/packages/libidn.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gnu/packages/libidn.scm b/gnu/packages/libidn.scm index b46cdfc0a5..20361817d8 100644 --- a/gnu/packages/libidn.scm +++ b/gnu/packages/libidn.scm @@ -74,7 +74,13 @@ Java libraries.") `(("libunistring" ,libunistring))) (build-system gnu-build-system) (arguments - `(#:configure-flags '("--disable-static"))) + `(#:configure-flags '("--disable-static") + #:phases + (modify-phases %standard-phases + (add-before 'configure 'ensure-file-offset-bits-64 + (lambda _ + (setenv "CFLAGS" "-D_FILE_OFFSET_BITS=64") + #t))))) (synopsis "Internationalized domain name library for IDNA2008") (description "Libidn2 is an internationalized domain library implementing the IDNA2008 specifications. Libidn2 is believed to be a complete IDNA2008 -- cgit 1.4.1