Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Dec 2024 17:22:05 GMT
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 7d0567df460b - main - finance/electrum: Fix runtime after recent libsecp256k1 so bump
Message-ID:  <202412311722.4BVHM5lW052690@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by ehaupt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7d0567df460b303905b7698b61f4917d5e9245c1

commit 7d0567df460b303905b7698b61f4917d5e9245c1
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2024-12-31 17:21:29 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-12-31 17:21:29 +0000

    finance/electrum: Fix runtime after recent libsecp256k1 so bump
---
 finance/electrum/Makefile                          |  1 +
 finance/electrum/files/patch-electrum_ecc__fast.py | 11 +++++++++++
 2 files changed, 12 insertions(+)

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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412311722.4BVHM5lW052690>