diff --git a/srcpkgs/nss/patches/ppc64-no-vsx.patch b/srcpkgs/nss/patches/ppc64-no-vsx.patch new file mode 100644 index 0000000000..0f03b7c5e6 --- /dev/null +++ b/srcpkgs/nss/patches/ppc64-no-vsx.patch @@ -0,0 +1,14 @@ +The header contains vectors of long long, which are only available with the +VSX instruction set. We don't compile with VSX on big endian systems. + +--- nss/lib/freebl/gcm.h ++++ nss/lib/freebl/gcm.h +@@ -30,7 +30,7 @@ + #include + #endif + +-#ifdef __powerpc64__ ++#if defined(__powerpc64__) && defined(__VSX__) + #include "altivec-types.h" + + /* The ghash freebl test tries to use this in C++, and gcc defines conflict. */