git: 0c0dc5cf7df4 - main - net-p2p/libtorrent-rasterbar: Re-add USE_CXXSTD=c++17 to fix runtime crash
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 09 Jun 2022 05:53:35 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0c0dc5cf7df4c4faecca4487d6f3e5a8690ba5a2
commit 0c0dc5cf7df4c4faecca4487d6f3e5a8690ba5a2
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-06-09 05:36:14 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-06-09 05:53:28 +0000
net-p2p/libtorrent-rasterbar: Re-add USE_CXXSTD=c++17 to fix runtime crash
---
net-p2p/libtorrent-rasterbar/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/net-p2p/libtorrent-rasterbar/Makefile b/net-p2p/libtorrent-rasterbar/Makefile
index 6863eb32daed..6a7b1916887d 100644
--- a/net-p2p/libtorrent-rasterbar/Makefile
+++ b/net-p2p/libtorrent-rasterbar/Makefile
@@ -2,6 +2,7 @@
PORTNAME= libtorrent-rasterbar
DISTVERSION= 1.2.16 # 2.x is unusable until memory problems are resolved, see https://github.com/arvidn/libtorrent/issues/6781
+PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= net-p2p
MASTER_SITES= https://github.com/arvidn/libtorrent/releases/download/v${DISTVERSION}/
@@ -20,6 +21,8 @@ USES= cmake compiler:c++11-lib iconv:wchar_t libtool localbase:ldflags pathfix
SHEBANG_FILES= test/socks.py test/web_server.py
USE_LDCONFIG= yes
+USE_CXXSTD= c++17 # prevent boost-related SEGV, see bug#264278
+
LDFLAGS+= ${ICONV_LIB}
SHLIB_VER= 10