Commit 33f8a5a3 authored by Andreas Tille's avatar Andreas Tille
Browse files

Try to adapt to Debian packaged spdlog by simply commenting missing header...

Try to adapt to Debian packaged spdlog by simply commenting missing header file - unfortunately its not that simple ...
parent f7b273d2
Loading
Loading
Loading
Loading
+63 −0
Original line number Diff line number Diff line
Author: Andreas Tille <tille@debian.org>
Description: Just comment header file which is not part of current spdlog any more
 FIXME: Unfortunately its not that simple:
 .
 /build/sailfish-0.10.1+dfsg/src/SailfishQuantify.cpp:1246:17: error: 'set_async_mode' is not a member of 'spdlog'
          spdlog::set_async_mode(max_q_size);
                  ^~~~~~~~~~~~~~

--- a/include/SailfishIndexVersionInfo.hpp
+++ b/include/SailfishIndexVersionInfo.hpp
@@ -1,7 +1,7 @@
 #ifndef __SAILFISH_INDEX_VERSION_INFO_HPP__
 #define __SAILFISH_INDEX_VERSION_INFO_HPP__
 
-#include "spdlog/details/format.h"
+/* #include "spdlog/details/format.h" */
 #include "boost/filesystem.hpp"
 #include "cereal/archives/json.hpp"
 
--- a/include/SailfishUtils.hpp
+++ b/include/SailfishUtils.hpp
@@ -13,7 +13,7 @@
 
 #include "tbb/atomic.h"
 
-#include "spdlog/details/format.h"
+/* #include "spdlog/details/format.h" */
 
 #include "SailfishOpts.hpp"
 #include "SailfishMath.hpp"
--- a/src/CollapsedEMOptimizer.cpp
+++ b/src/CollapsedEMOptimizer.cpp
@@ -13,7 +13,7 @@
 #include <boost/math/special_functions/digamma.hpp>
 
 // C++ string formatting library
-#include "spdlog/details/format.h"
+/* #include "spdlog/details/format.h" */
 
 #include "cuckoohash_map.hh"
 #include "Eigen/Dense"
--- a/src/CollapsedGibbsSampler.cpp
+++ b/src/CollapsedGibbsSampler.cpp
@@ -13,7 +13,7 @@
 #include <boost/filesystem.hpp>
 
 // C++ string formatting library
-#include "spdlog/details/format.h"
+/* #include "spdlog/details/format.h" */
 
 #include "cuckoohash_map.hh"
 
--- a/src/SailfishIndexer.cpp
+++ b/src/SailfishIndexer.cpp
@@ -61,7 +61,7 @@
 #include "SailfishUtils.hpp"
 #include "SailfishIndex.hpp"
 #include "spdlog/spdlog.h"
-#include "spdlog/details/format.h"
+/* #include "spdlog/details/format.h" */
 
 int mainIndex( int argc, char *argv[] ) {
     using std::string;
+1 −0
Original line number Diff line number Diff line
dfsg-please.patch
fix_spdlog.patch