[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/11: gnu: openssl: Explicitly declare the _FILE_OFFSET_BITS we want.
From: |
guix-commits |
Subject: |
06/11: gnu: openssl: Explicitly declare the _FILE_OFFSET_BITS we want. |
Date: |
Tue, 29 Sep 2020 09:32:19 -0400 (EDT) |
dannym pushed a commit to branch wip-file-offset-bits-64
in repository guix.
commit 5b886899330fdddf3798b03016a01fc973d768cc
Author: Danny Milosavljevic <dannym@scratchpost.org>
AuthorDate: Tue Sep 29 01:34:02 2020 +0200
gnu: openssl: Explicitly declare the _FILE_OFFSET_BITS we want.
* gnu/packages/tls.scm
(openssl)[arguments]<#:phases>[ensure-file-offset-bits-64]:
Explicity declare the _FILE_OFFSET_BITS we want.
---
gnu/packages/tls.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index d60eeea..b9f7fd2 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -354,6 +354,11 @@ required structures.")
"linux-aarch64")))
#t)))
'())
+ (add-before 'configure 'ensure-file-offset-bits-64
+ ;; Note: lib/gl/sys/types.h has off_t, but only for Windows.
+ (lambda _
+ (setenv "CFLAGS" "-D_FILE_OFFSET_BITS=64")
+ #t))
(replace 'configure
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
- branch wip-file-offset-bits-64 created (now 911e33e), guix-commits, 2020/09/29
- 03/11: gnu: libidn2: Explicitly declare the _FILE_OFFSET_BITS we want., guix-commits, 2020/09/29
- 05/11: gnu: libtasn1: Explicitly declare the _FILE_OFFSET_BITS we want., guix-commits, 2020/09/29
- 01/11: gnu: glibc-final: Catch all cases of a glibc user not requesting 64-bit offsets and then using readdir regardless., guix-commits, 2020/09/29
- 02/11: gnu: gcc: Use _FILE_OFFSET_BITS=64 for libstdc++-v3., guix-commits, 2020/09/29
- 04/11: gnu: fontconfig: Explicitly declare the _FILE_OFFSET_BITS we want., guix-commits, 2020/09/29
- 06/11: gnu: openssl: Explicitly declare the _FILE_OFFSET_BITS we want.,
guix-commits <=
- 11/11: gnu: cmake: Explicity declare the _FILE_OFFSET_BITS we want., guix-commits, 2020/09/29
- 09/11: gnu: rhash: Explicity declare the _FILE_OFFSET_BITS we want., guix-commits, 2020/09/29
- 07/11: gnu: libtool: Explicity declare the _FILE_OFFSET_BITS we want., guix-commits, 2020/09/29
- 08/11: gnu: libltdl: Explicity declare the _FILE_OFFSET_BITS we want., guix-commits, 2020/09/29
- 10/11: gnu: cmake-bootstrap: Explicity declare the _FILE_OFFSET_BITS we want., guix-commits, 2020/09/29