[net-im/spectrum2] maybe fix build

This commit is contained in:
Robert Förster 2021-02-18 07:05:51 +01:00
parent 0bf0cb3b49
commit 3d85f3b2e4
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,15 @@
libtransport/Conversation.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/libtransport/Conversation.cpp b/libtransport/Conversation.cpp
index 8f7c6246..092d6058 100644
--- a/libtransport/Conversation.cpp
+++ b/libtransport/Conversation.cpp
@@ -19,6 +19,7 @@
*/
#include <iostream>
+#include <map>
#include "transport/Conversation.h"
#include "transport/ConversationManager.h"
#include "transport/User.h"

View File

@ -66,6 +66,10 @@ DEPEND="
test? ( dev-util/cppunit ) test? ( dev-util/cppunit )
" "
PATCHES=(
"${FILESDIR}/${PN}-map.patch"
)
src_prepare() { src_prepare() {
# Respect users LDFLAGS # Respect users LDFLAGS
sed -i -e "s/-Wl,-export-dynamic/& ${LDFLAGS}/" spectrum/src/CMakeLists.txt || die sed -i -e "s/-Wl,-export-dynamic/& ${LDFLAGS}/" spectrum/src/CMakeLists.txt || die