summaryrefslogtreecommitdiff
path: root/finance/electrum/files/patch-electrum_ecc__fast.py
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2024-12-31 18:21:29 +0100
committerEmanuel Haupt <ehaupt@FreeBSD.org>2024-12-31 18:21:29 +0100
commit7d0567df460b303905b7698b61f4917d5e9245c1 (patch)
treee332ac92e26a7ebeb046dd11783f70a786ae5008 /finance/electrum/files/patch-electrum_ecc__fast.py
parentsecurity/i2pd: update to 2.55.0 (diff)
finance/electrum: Fix runtime after recent libsecp256k1 so bump
Diffstat (limited to 'finance/electrum/files/patch-electrum_ecc__fast.py')
-rw-r--r--finance/electrum/files/patch-electrum_ecc__fast.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/finance/electrum/files/patch-electrum_ecc__fast.py b/finance/electrum/files/patch-electrum_ecc__fast.py
new file mode 100644
index 000000000000..5936e303d9d1
--- /dev/null
+++ b/finance/electrum/files/patch-electrum_ecc__fast.py
@@ -0,0 +1,11 @@
+--- electrum/ecc_fast.py.orig 2024-12-30 13:18:48 UTC
++++ electrum/ecc_fast.py
+@@ -39,7 +39,7 @@ def load_library():
+ def load_library():
+ # note: for a mapping between bitcoin-core/secp256k1 git tags and .so.V libtool version numbers,
+ # see https://github.com/bitcoin-core/secp256k1/pull/1055#issuecomment-1227505189
+- tested_libversions = [2, 1, 0, ] # try latest version first
++ tested_libversions = [5, 2, 1, 0, ] # try latest version first
+ libnames = []
+ if sys.platform == 'darwin':
+ for v in tested_libversions: