Source: libmems
Version: 1.6.0+4725-3
Severity: serious
Tags: patch
Hi Maintainer
libmems FTBFS with Boost 1.62 and outputs the following error:
In file included from ../libMems/AbstractMatch.h:19:0,
from ../libMems/UngappedLocalAlignment.h:18,
from ../libMems/Match.h:19,
from ../libMems/MatchFinder.h:17,
from ../libMems/MemHash.h:20,
from ../libMems/RepeatHash.h:16,
from RepeatHash.cpp:13:
/usr/include/boost/type_traits/remove_pointer.hpp:21:21: error: missing binary operator
before token "("
#if BOOST_WORKAROUND(BOOST_MSVC, < 1900)
^
The attached patch adds a missing include so that BOOST_WORKAROUND is defined.
Regards
Graham
Description: Fix FTBFS with Boost 1.62
Add missing include so that BOOST_WORKAROUND is defined.
Author: Graham Inggs <[email protected]>
Last-Update: 2016-11-08
--- a/libMems/AbstractMatch.h
+++ b/libMems/AbstractMatch.h
@@ -16,6 +16,7 @@
#include "libGenome/gnClone.h"
#include <vector>
#include <algorithm>
+#include <boost/detail/workaround.hpp>
#include <boost/type_traits/remove_pointer.hpp>
#include <boost/type_traits/add_pointer.hpp>
#include <boost/dynamic_bitset.hpp>