gnu: libressl: Do not use 'getentropy'.

* gnu/packages/tls.scm (libressl)[arguments]: New field.
This commit is contained in:
Ludovic Courtès 2017-04-18 23:39:03 +02:00
parent 5315fcfd77
commit a2d648992a
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -442,6 +442,11 @@ (define-public libressl
(base32 (base32
"0c4awq45cl757fv7f7f75i5i0ibc6v7ns13n7xvfak7chv2lrqql")))) "0c4awq45cl757fv7f7f75i5i0ibc6v7ns13n7xvfak7chv2lrqql"))))
(build-system gnu-build-system) (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 <https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00235.html>.
'(#:configure-flags '("ac_cv_func_getentropy=no")))
(native-search-paths (native-search-paths
;; FIXME: These two variables must designate a single file or directory ;; FIXME: These two variables must designate a single file or directory
;; and are not actually "search paths." In practice it works OK in ;; and are not actually "search paths." In practice it works OK in