[net-im/swift] fix build with new boost

This commit is contained in:
2021-06-01 12:39:29 +02:00
parent e1bb9e4c96
commit 1c7030ff3d
2 changed files with 18 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ EAPI=7
LUA_COMPAT=( lua5-{1..2} luajit )
PYTHON_COMPAT=( python3_{8..9} )
inherit lua-single python-any-r1 scons-utils toolchain-funcs
inherit flag-o-matic lua-single python-any-r1 scons-utils toolchain-funcs
DESCRIPTION="An elegant, secure, adaptable and intuitive XMPP Client"
HOMEPAGE="https://www.swift.im/"
@@ -20,7 +20,6 @@ else
RESTRICT="mirror"
SRC_URI="https://swift.im/downloads/releases/${P}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="BSD BSD-1 CC-BY-3.0 GPL-3 OFL-1.1"
@@ -63,6 +62,7 @@ DOCS=(
PATCHES=(
"${FILESDIR}"/${PN}-4.0.2-python3-compatibility.patch
"${FILESDIR}"/${PN}-4.0.2-qt-5.15-compatibility.patch
"${FILESDIR}"/${PN}-bind.patch
)
pkg_setup() {
@@ -122,6 +122,7 @@ src_prepare() {
else
rm -fr 3rdParty || die
fi
append-flags -DBOOST_BIND_GLOBAL_PLACEHOLDERS
}
src_configure() {