guix-commits
[Top][All Lists]
Advanced

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

01/06: gnu: libidn2: Explicitly declare the _FILE_OFFSET_BITS we want.


From: guix-commits
Subject: 01/06: gnu: libidn2: Explicitly declare the _FILE_OFFSET_BITS we want.
Date: Mon, 28 Sep 2020 19:38:44 -0400 (EDT)

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

commit dbbe31ee4eef670aa052edda6f4b4730aacbc3aa
Author: Danny Milosavljevic <dannym@scratchpost.org>
AuthorDate: Mon Sep 28 09:28:16 2020 +0200

    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 b46cdfc..2036181 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



reply via email to

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