From a2d648992a1d0510bf1dd160c320ec210fd285c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Tue, 18 Apr 2017 23:39:03 +0200 Subject: [PATCH] gnu: libressl: Do not use 'getentropy'. * gnu/packages/tls.scm (libressl)[arguments]: New field. --- gnu/packages/tls.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm index 1c99a3ad75..50e9de4806 100644 --- a/gnu/packages/tls.scm +++ b/gnu/packages/tls.scm @@ -442,6 +442,11 @@ (define-public libressl (base32 "0c4awq45cl757fv7f7f75i5i0ibc6v7ns13n7xvfak7chv2lrqql")))) (build-system gnu-build-system) + (arguments + ;; Do as if 'getentropy' was missing since older Linux kernels lack it + ;; and libc would return ENOSYS, which is not properly handled. + ;; See . + '(#:configure-flags '("ac_cv_func_getentropy=no"))) (native-search-paths ;; FIXME: These two variables must designate a single file or directory ;; and are not actually "search paths." In practice it works OK in