gnu: mbedtls-apache: Fix upstream typo.
A typo was introduced in version 2.7.0 that caused the hiawatha package to fail to build. See https://github.com/ARMmbed/mbedtls/pull/1362. * gnu/packages/tls.scm (mbedtls-apache)[source]: Add snippet to fix typo.
This commit is contained in:
parent
0fb405796c
commit
36d48a536e
|
@ -797,7 +797,15 @@ then ported to the GNU / Linux environment.")
|
||||||
version "-apache.tgz"))
|
version "-apache.tgz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1vsmgxnw7dpvma51896n63yaf9sncmf885ax2jfcg89ssin6vdmf"))))
|
"1vsmgxnw7dpvma51896n63yaf9sncmf885ax2jfcg89ssin6vdmf"))
|
||||||
|
;; An RFC 5114 constant was accidentally renamed in version 2.7.0.
|
||||||
|
;; See https://github.com/ARMmbed/mbedtls/pull/1362.
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
'(begin
|
||||||
|
(substitute* "include/mbedtls/dhm.h"
|
||||||
|
(("#define MBEDTLS_DHM_RFC5114_MODP_P")
|
||||||
|
"#define MBEDTLS_DHM_RFC5114_MODP_2048_P"))))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags
|
`(#:configure-flags
|
||||||
|
|
Loading…
Reference in New Issue