  -- | Compute base-2 log of 'Word#'
  --
 diff -X ../utils/updatePatches.excludes -Nru upstream/pkg/integer-gmp/src/GHC/Integer/Type.hs boot/pkg/integer-gmp/src/GHC/Integer/Type.hs
---- upstream/pkg/integer-gmp/src/GHC/Integer/Type.hs	2018-12-24 07:45:51.000000000 +0100
-+++ boot/pkg/integer-gmp/src/GHC/Integer/Type.hs	2018-12-24 07:45:51.676965858 +0100
+--- upstream/pkg/integer-gmp/src/GHC/Integer/Type.hs	2019-05-07 22:52:34.000000000 -0700
++++ boot/pkg/integer-gmp/src/GHC/Integer/Type.hs	2019-05-07 22:52:34.936866610 -0700
 @@ -9,6 +9,9 @@
  {-# LANGUAGE RebindableSyntax #-}
  {-# LANGUAGE NegativeLiterals #-}

+  throw new Error("isPrime_s");
+}
+
+// BigNat -> Int -> Bool
+// fixme: seed
+function h$ghcjsbn_isPrime_b(b, rounds) {
+  ASSERTVALID_B(b, "isPrime");
+  throw new Error("isPrime_b");
+}
+
+// BigNat -> BigNat -> Bool

     GHC.Integer
     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	1969-12-31 16:00:00.000000000 -0800
+++ boot/pkg/integer-gmp/jsbits/ghcjsbn.js	2019-05-21 19:22:30.770493520 -0700
@@ -0,0 +1,2125 @@
+/*
+   GHCJS bignum library for integer-gmp package
+
