Browse Source

[net-im/spectrum2] maybe fix build

master
Robert Förster 8 months ago
parent
commit
3d85f3b2e4
  1. 15
      net-im/spectrum2/files/spectrum2-map.patch
  2. 4
      net-im/spectrum2/spectrum2-9999.ebuild

15
net-im/spectrum2/files/spectrum2-map.patch

@ -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"

4
net-im/spectrum2/spectrum2-9999.ebuild

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

Loading…
Cancel
Save