aboutsummaryrefslogtreecommitdiffstats
path: root/main/nss/fix-mpi-x86.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-10-08 13:14:56 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-10-08 13:16:01 +0000
commit3af9d39c2284eba6b8ec07cc557d1477ccf04554 (patch)
tree93db57bb62312dbc4d5813ac32b49bd8b819185b /main/nss/fix-mpi-x86.patch
parentb907c8b15119fe1cf5356bf3764e451831c91afd (diff)
downloadaports-3af9d39c2284eba6b8ec07cc557d1477ccf04554.tar.bz2
aports-3af9d39c2284eba6b8ec07cc557d1477ccf04554.tar.xz
main/nss: use system sqlite and fix musl build
Diffstat (limited to 'main/nss/fix-mpi-x86.patch')
-rw-r--r--main/nss/fix-mpi-x86.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/nss/fix-mpi-x86.patch b/main/nss/fix-mpi-x86.patch
new file mode 100644
index 0000000000..4a51c68b4b
--- /dev/null
+++ b/main/nss/fix-mpi-x86.patch
@@ -0,0 +1,10 @@
+--- nss-3.15.1/nss/lib/freebl/Makefile
++++ nss-3.15.1.new/nss/lib/freebl/Makefile
+@@ -196,6 +196,7 @@
+ ASFILES = mpi_x86.s
+ DEFINES += -DMP_ASSEMBLY_MULTIPLY -DMP_ASSEMBLY_SQUARE
+ DEFINES += -DMP_ASSEMBLY_DIV_2DX1D
++ DEFINES += -DMP_USE_UINT_DIGIT
+ DEFINES += -DMP_CHAR_STORE_SLOW -DMP_IS_LITTLE_ENDIAN
+ # The floating point ECC code doesn't work on Linux x86 (bug 311432).
+ #ECL_USE_FP = 1