summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--finance/electrum/Makefile1
-rw-r--r--finance/electrum/files/patch-electrum_ecc__fast.py11
2 files changed, 12 insertions, 0 deletions
diff --git a/finance/electrum/Makefile b/finance/electrum/Makefile
index 8b888ee02815..54a7901c1c93 100644
--- a/finance/electrum/Makefile
+++ b/finance/electrum/Makefile
@@ -1,5 +1,6 @@
PORTNAME= electrum
DISTVERSION= 4.5.8
+PORTREVISION= 1
CATEGORIES= finance python
MASTER_SITES= https://download.electrum.org/${PORTVERSION}/ \
http://download.electrum.org/${PORTVERSION}/
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: