~alpine/aports

community/libtorrent-rasterbar: use c++17 v2 APPLIED

Wolf: 1
 community/libtorrent-rasterbar: use c++17

 1 files changed, 2 insertions(+), 2 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/3772/mbox | git am -3
Learn more about email & git

[PATCH v2] community/libtorrent-rasterbar: use c++17 Export this patch

libtorrent-rasterbar segfaults when using the default c++ standard (14)
in 3.15. There is a upstream bug report [0] stating that using 17 fixes the
crash, and I can confirm that is the case for me as well.

Reported upstream [1].

0: https://github.com/arvidn/libtorrent/issues/6028
1: https://github.com/arvidn/libtorrent/issues/6567
---
Better commit message.

For the record again stating: this should go into 3.15 as well.

 community/libtorrent-rasterbar/APKBUILD | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/community/libtorrent-rasterbar/APKBUILD b/community/libtorrent-rasterbar/APKBUILD
index 380536eccf..211446f209 100644
--- a/community/libtorrent-rasterbar/APKBUILD
+++ b/community/libtorrent-rasterbar/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=libtorrent-rasterbar
pkgver=1.2.14
pkgrel=2
pkgrel=3
pkgdesc="Feature complete C++ bittorrent implementation"
url="https://www.rasterbar.com/products/libtorrent"
arch="all !armv7 !aarch64 !x86" # on aarch64 and x86 failed to build
@@ -28,7 +28,7 @@ build() {
		--localstatedir=/var \
		--enable-python-binding \
		--with-boost-system=boost_python$_py3ver \
		--with-std=c++14
		--with-cxx-standard=17
	make
}

-- 
2.33.1