diff --git a/net-im/spectrum2/files/spectrum2-map.patch b/net-im/spectrum2/files/spectrum2-map.patch new file mode 100644 index 0000000..6bba353 --- /dev/null +++ b/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 ++#include + #include "transport/Conversation.h" + #include "transport/ConversationManager.h" + #include "transport/User.h" diff --git a/net-im/spectrum2/spectrum2-9999.ebuild b/net-im/spectrum2/spectrum2-9999.ebuild index f96754c..6e2711e 100644 --- a/net-im/spectrum2/spectrum2-9999.ebuild +++ b/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