diff options
author | Marius Bakke <mbakke@fastmail.com> | 2019-08-06 17:06:57 +0200 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2019-08-06 17:06:57 +0200 |
commit | 58e37b5441f548d2980fd3280547ad4b32ce7d44 (patch) | |
tree | db84309ab4a94315fc6be77bda7e9db029e10ed7 /gnu/packages/patches | |
parent | c94884bcc1d762578077ccc84a7f45d87b38cd46 (diff) | |
download | guix-58e37b5441f548d2980fd3280547ad4b32ce7d44.tar.gz |
gnu: nss: Fix build failure on armhf-linux.
Fixes <https://bugs.gnu.org/36930>. * gnu/packages/patches/nss-freebl-stubs.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/nss.scm (nss)[source](patches): Add it.
Diffstat (limited to 'gnu/packages/patches')
-rw-r--r-- | gnu/packages/patches/nss-freebl-stubs.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/patches/nss-freebl-stubs.patch b/gnu/packages/patches/nss-freebl-stubs.patch new file mode 100644 index 0000000000..3f7b47b029 --- /dev/null +++ b/gnu/packages/patches/nss-freebl-stubs.patch @@ -0,0 +1,20 @@ +This patch is required for Makefile-based builds of NSS 3.45 on armhf-linux. + +Taken from upstream bug tracker: +https://bugzilla.mozilla.org/show_bug.cgi?id=1571316 + +diff --git a/nss/lib/freebl/ecl/curve25519_32.c b/nss/lib/freebl/ecl/curve25519_32.c +--- a/nss/lib/freebl/ecl/curve25519_32.c ++++ b/nss/lib/freebl/ecl/curve25519_32.c +@@ -29,6 +29,10 @@ + * 1. Convert custom integer types to stdint.h types + */ + ++#ifdef FREEBL_NO_DEPEND ++#include "../stubs.h" ++#endif ++ + #include "ecl-priv.h" + + /* fe means field element. Here the field is \Z/(2^255-19). An element t, + |