      GHC.Integer.Logarithms
 diff -X ../utils/updatePatches.excludes -Nru upstream/pkg/integer-gmp/jsbits/ghcjsbn.js boot/pkg/integer-gmp/jsbits/ghcjsbn.js
 --- upstream/pkg/integer-gmp/jsbits/ghcjsbn.js	1970-01-01 01:00:00.000000000 +0100
-+++ boot/pkg/integer-gmp/jsbits/ghcjsbn.js	2019-07-31 01:47:50.000000000 +0200
-@@ -0,0 +1,2149 @@
++++ boot/pkg/integer-gmp/jsbits/ghcjsbn.js	2019-08-19 09:29:36.000000000 +0200
+@@ -0,0 +1,2142 @@
 +/*
 +   GHCJS bignum library for integer-gmp package
 +

+error "no mkInteger implementation for specified GHCJSBN_BITS"
+#endif
+
+// BigNat -> Int -> Int
+function h$ghcjsbn_indexBigNat(b, i) {
+  ASSERTVALID_B(b, "indexBigNat");
+  ASSERTVALID_S(i, "indexBigNat");
+  var bl = b[0];
+  return i >= bl ? 0 : b[i+1];
+}
+
+// BigNat -> Word -> Int (Ordering)
+function h$ghcjsbn_cmp_bw(b, w) {
+  ASSERTVALID_B(b, "cmp_bw");

 
 -- | Compute next prime greater than @/n/@ probalistically.
 --
diff -X ../utils/updatePatches.excludes -Nru upstream/pkg/integer-gmp/src/GHC/Integer/Logarithms.hs boot/pkg/integer-gmp/src/GHC/Integer/Logarithms.hs
--- upstream/pkg/integer-gmp/src/GHC/Integer/Logarithms.hs	2019-06-15 23:41:11.000000000 +0200
+++ boot/pkg/integer-gmp/src/GHC/Integer/Logarithms.hs	2019-06-15 23:41:11.000000000 +0200
