[net-im/swift] fix build with new boost
This commit is contained in:
parent
e1bb9e4c96
commit
1c7030ff3d
15
net-im/swift/files/swift-bind.patch
Normal file
15
net-im/swift/files/swift-bind.patch
Normal file
@ -0,0 +1,15 @@
|
||||
Swiften/Examples/NetworkTool/main.cpp | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/Swiften/Examples/NetworkTool/main.cpp b/Swiften/Examples/NetworkTool/main.cpp
|
||||
index c50ab67a4..d5a76b44b 100644
|
||||
--- a/Swiften/Examples/NetworkTool/main.cpp
|
||||
+++ b/Swiften/Examples/NetworkTool/main.cpp
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
+#include <boost/bind.hpp>
|
||||
#include <boost/lexical_cast.hpp>
|
||||
|
||||
#include <Swiften/EventLoop/SimpleEventLoop.h>
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user